Hello everyone!
I am trying to modify the upPrev Previous Post Animated Notification plugin to only display one category instead of all of them from one post. but I don't know how to do that, I need help. Here is the partial code where I can spot the code to query the categories:
$catIDs = array();
foreach((get_the_category()) as $category) {
$catIDs[] = $category->cat_ID;
}
$args = array(
"numberposts" => -1,
"category" => implode(',',$catIDs),
"orderby" => "date",
"order" => "DESC"
);
There is anyway to modify this code to only call one category?
Thanks for the help!
http://wordpress.org/extend/plugins/upprev-nytimes-style-next-post-jquery-animated-fly-in-button/