ws
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [ReOrder Posts within Categories] Get_adjacent_post workaround?Great. Thank you very much for that update. I will test it out shortly. Good luck with the home shifting!
Forum: Fixing WordPress
In reply to: Issue with next_post_link/previous_post_linkBtw, here is my current code for the links.
<div id="single-nav-left"> <?php previous_post_link('%link', '« Previous', TRUE, ''); ?> | </div> <div id="single-nav-right"> <?php next_post_link('%link', 'Next »', TRUE, ''); ?> </div>I am having a somewhat similar issue. I can set the $in_same_cat to TRUE and the links completely disappear. Setting them to FALSE, they work properly but I am looking to only have prev/next go within the current category.
I am using a custom post type called “Portfolio” with a lot of categories. This is my current code for single_portfolio.php:
<?php if(get_the_term_list($post->ID, 'portfolio_category', '', '<br />', '')): ?> <div class="project-info-box"> <div id="single-nav-left"> <?php previous_post_link('%link', '« Previous', FALSE); ?> | </div> <div id="single-nav-right"><?php next_post_link('%link', 'Next »', FALSE); ?></div>Which version of NextGen?
Viewing 4 replies - 1 through 4 (of 4 total)