Is there a way to call the slider from pages, as opposed to posts?
I do have pages mapped to categories, but it doesn't seem to pull the pages assigned to the category.
Thanks in advance.
-Dave
Is there a way to call the slider from pages, as opposed to posts?
I do have pages mapped to categories, but it doesn't seem to pull the pages assigned to the category.
Thanks in advance.
-Dave
Sliders only work with posts. You can try to modify it by doing this. In index.php look for this line
$query_string .= "&showposts=$mycount";
And replace it with this line
$query_string .= "&post_type=any&showposts=$mycount";
I'm not 100% that that'll fix your problem, but might help. Here is a little more information on the query_posts() method which is used to get the posts for the slider.
http://codex.wordpress.org/Function_Reference/query_posts#Post_.26_Page_Parameters
That did the trick! For the record, as you intended, it pulls anything in the specified category--post or page. Works like a charm.
Thanks!
-Dave
You must log in to post.