cybershot
send me your email
-
WordPress get pages from nav
I am getting close. I got an array of numbers that in a foreach loop returns 320154125134195 Now I need to turn that array of numbers into this 320, 154, 125. 134, 195 Can you help?
-
tough question about WordPress
I am calling for page templates because the page templates need to be loaded into the homepage. If I don't call for them then they won't load. The code above is saying if it is a page template, include it.. else, include everything else. Y…
-
tough question about WordPress
This is exactly what I am trying to accomplish. This is the site I am working on www.rc-hc.com/mafloral The problem with it is that I have to go to setting -> reading and set the post count to 999999999 in order to get all posts and pages to sh…
-
listing category posts
Yep. I forgot about that stupid little box. Thank you.
-
Permalinks not working on latest blog post.
try changing the permalink structure and see what happens. Or just go back in and re save whatever option you have set
-
WordPress guru's?
5 hours of trying and I got nothing. I am including all posts and pages into the index.php to make a one page WordPress site. I am using pre_get_posts to include posts and pages. function posts_and_pages_on_home( $query ) { if ( $query->i…
-
What is my client asking?
ya, I think he got confused. I think it was a google verification thing that he wanted to add into the header
-
shortcode isn't working
I don't know what the issue is either. The only thing I can think of it that it has something to do with how I am getting the posts
-
shortcode isn't working
The link shows fine. It's the "Tickets" that isn't showing up. The content is missing
-
help creating counter variable
I figured it out. Thanks, that was the hint I needed
-
help creating counter variable
I don't know what you mean by that
-
What is the deal with !important
Thanks for the article. I understand your point but my code should be working without !important. There is no reason that I can find for it not to work. I found the css that is setting the rules and do to the cascading nature of css, the rules at th…
-
WordPress Pagination
@magnuseide I saw your code above and thought maybe it could be used to solve my problem. I tried it and it does show pagination but unfortunately, I get the no posts found search page when it should actually show a page. I am trying to get paginat…
-
paginate get_categories ?
I don't think that will work. I will try it now though. But I can't use the wp_query. The only way I can seem to get the child categories is by using the foreach loop. I just tried using child_of in a wp_query and got nothing back. I tried…
-
paginate get_categories ?
I am using that, it's not working. I will edit the code to show that above
-
Tough WordPress issue
get categories had a way to limit posts. I passed an array of options to it and it worked.
-
Treehouse Learning
One more worth mentioning is the new boston They also have forums that can be very helpful - AND IT'S FREE!
-
Wordpress Custom Form Error
I would try changing your if statement to something like if(!empty($duplicate){ } The point is that WordPress may still be sending data that the if statement as is won't read correctly. From my experience, using empty() works better than usi…
-
IN BEGINNER TERMS PLEASE ...
Youtube uses iframes to post videos on a site. If you check their embed code, you will see that it is inside an iframe. Paulie_D put it the best. Youtube would be the best example. The video is stored on the youtube website. It's in their serve…
-
nav issues
Thank you very much my friend. I really appreciate your time. There are some rules in here that I think I will study. I can honestly say that in 4 years, I have never used left: auto; in my css.
-
navigation woes
well Senff, it seems that floating the UL left has done the trick. My end cap now sits where it is suppose to without any - margin. I have removed the spans and gone with css before and after. Now my nav looks how I think it should. Thanks guys for …
-
navigation woes
Well Adam, I went with the before and after and it works just fine. A little cleaner method. For some reason that I just have not been able to explain, my nav just won't sit right. I ended up having to add a margin-top: -33px to get the right …
-
navigation woes
There is an image behind the navigation that has some pretty hard to replicate gradients and borders using css. I am not even sure it is possible. So for that reason, I am sticking with the image. I wish I could do it your way though
-
z-index issue
FACE PALM! geeze, I didn't even realize I did that. Thank you.
-
navigation woes
I am floating the spans because the background of the span is a rounded corner image that has gradients. I want them to move when new menu items are added. I can't think of another way to put them in there. The main problem I am having is that …
-
navigation woes
I don't understand what you are getting at. The two spans are there because I have a rounded background that the nav will have. I have had this trouble without those. I usually get this issue on all navs and I am not sure what I did that fixed …
-
I want to add a slide option in my website header and footer.
yes. When mixing html and php. You have to turn off the php in order to use html. You would do that with these tags all php goes between the tag above. Then you can do html and then turn the php back on with the opening php tag which is this one
-
I want to add a slide option in my website header and footer.
I think you should just pay someone to do it. I sent you a step by step tutorial that gives you the code. All you should have to do is follow the instructions on the page and paste the code into the file. If you can't do that then you should pa…