treehouse : what would you like to learn today?
Web Design Web Development iOS Development

cybershot

send me your email
  • twitter bootstrap issue

    Thank you kind sir.
    Comment by cybershot May 11 permalink
  • 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?
    Comment by cybershot April 5 permalink
  • 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…
    Comment by cybershot April 4 permalink
  • 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…
    Comment by cybershot April 3 permalink
  • listing category posts

    Yep. I forgot about that stupid little box. Thank you.
    Comment by cybershot February 6 permalink
  • 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
    Comment by cybershot January 31 permalink
  • 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…
    Comment by cybershot January 30 permalink
  • 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
    Comment by cybershot January 22 permalink
  • 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
    Comment by cybershot January 12 permalink
  • shortcode isn't working

    The link shows fine. It's the "Tickets" that isn't showing up. The content is missing
    Comment by cybershot January 10 permalink
  • help creating counter variable

    I figured it out. Thanks, that was the hint I needed
    Comment by cybershot January 5 permalink
  • help creating counter variable

    I don't know what you mean by that
    Comment by cybershot January 5 permalink
  • photoshop issues

    That solved my issue. Thanks
    Comment by cybershot November 2012 permalink
  • 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…
    Comment by cybershot October 2012 permalink
  • 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…
    Comment by cybershot October 2012 permalink
  • 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…
    Comment by cybershot October 2012 permalink
  • paginate get_categories ?

    I am using that, it's not working. I will edit the code to show that above
    Comment by cybershot October 2012 permalink
  • Tough WordPress issue

    get categories had a way to limit posts. I passed an array of options to it and it worked.
    Comment by cybershot October 2012 permalink
  • Treehouse Learning

    One more worth mentioning is the new boston They also have forums that can be very helpful - AND IT'S FREE!
    Comment by cybershot October 2012 permalink
  • 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…
    Comment by cybershot October 2012 permalink
  • 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…
    Comment by cybershot October 2012 permalink
  • 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.
    Comment by cybershot October 2012 permalink
  • 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 …
    Comment by cybershot September 2012 permalink
  • 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 …
    Comment by cybershot September 2012 permalink
  • 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
    Comment by cybershot September 2012 permalink
  • z-index issue

    FACE PALM! geeze, I didn't even realize I did that. Thank you.
    Comment by cybershot September 2012 permalink
  • 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 …
    Comment by cybershot September 2012 permalink
  • 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 …
    Comment by cybershot September 2012 permalink
  • 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
    Comment by cybershot August 2012 permalink
  • 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…
    Comment by cybershot August 2012 permalink