like <?php next_post_link(); ?>
but for CataBlog categories
any one?
did you try <?php next_post_link(); ?>
or something like it. I believe CataBlog uses the taxonomy name of catablog-term
and you should be able to pass that along as a parameter to a built in WordPress function. Public CataBlog items are pretty much exactly the same as a post when the code is concerned.
<?php next_post_link(); ?>
works but i want to have only items that are from the same catablog category.
eg.
Cats page 2
<< Cats page 1 Cats page 3 >>
not
Dogs page 2
<< Dogs page 1 Cats page 1 >>
if i put in <?php next_post_link(); ?>
it will link all items from all categorys, hope you follow 🙂
Not sure if you have already checked out this page, but if you haven’t you should: http://codex.wordpress.org/Function_Reference/next_post_link
The third parameter in next_post_link()
lets you set wether it should be in the same category or not. I am unsure if this supports custom post types, but it is worth a shot. Good luck.
Try something like this:
<?php next_post_link('%link »', '%title', true); ?>
Not sure if this is what you are trying to do but I can confirm that the third parameter for next_post_link (“in_same_cat”) does NOT work for Custom Post Types.