hello all, www.hitechgadgetspro.com I would like to have my slideshow (big black thing) display posts from my "slideshow" category. Any idea on how I could do that? I would like to not use a plugin, but rather a "category specific loop." that updates automatically when I add a new post. I really could use some help on this. My previous thread is still unanswered. thanks
What does the slideshow actually show, ie what do you want to send to the slideshow from each post, an image? Well you'd run another wordpress loop querying the posts to filter out just the posts from your specified category. Then you'd get the information from the retrieved posts (e.g the image) and send it to the slideshow. So below is a loop which finds a certain number of posts from a specific category.: <?php query_posts(array( 'cat'=>'10', 'showposts'=>'3', ) );?> <?php if (have_posts()) : while (have_posts()) : the_post();?> //RETRIEVE WHATEVER YOU WANT FROM EACH POST HERE <?php endwhile; ?> Code (markup): So this query will run a loop through all of your wordpress posts, and find the latest 3 posts from category 10. So change 3 to the amount of posts in the slideshow you want, and 10 to the category number you want the posts from. Then from the posts retrieved your going to want to store the images or whatever you want to pass to the slideshow in a variable and then pass it to the slideshow which I assume is already set up and you can do. good luck!
Not really sure what you are going for here on this, but you could maybe use a div slider: http://woork.blogspot.com/2009/01/ultra-versatile-slider-for-websites.html
Thanks to both of you!! really appreciate the help.. i think I'm going to go with the div slider, because I switched to drupal... I tend to change my mind often!
It might be easier if you made the slideshow in .swf format. .swf is a lot of arcade game formats on the web and you can also create a slideshow with .swf (flash) You could define a frame to run off a specific source, which could be your posts. i just don't know how to do that
i can create that kind of a slideshow, but I want it to display/link to posts created in a "slideshow" category. like the " http://www.popsci.com " one
I've never used Drupal, but in the end your going to have to create a special picture and text extract for the slideshow, so there isn't really a need to link it because it will take the same amount of time? Unless you are using a picture and text from the post.