ProBlog and Prev/Next Links Generated When They Should Not Be
Permalink
This code exists in the pb_post.php Page Type:
On my site, it returns links, even if there should be none. For example, I use the pb_post type for my blog's contact page and get this code generated for pref/next links:
Do I have something configured wrong, or is ProBlog misbehaving?
<div class="ccm-next-previous-wrapper"> <br/> <? if ($prev_link): ?> <div class="ccm-next-previous-previouslink"> <?= '<a href="'.$prev_link.'" alt="prev_page">« '.t('Previous').'</a>';?> </div> <? endif ?> <? if ($next_link): ?> <div class="ccm-next-previous-nextlink"> <?= '<a href="'.$next_link.'" alt="next_page">'.t('Next').' »</a>';?> </div> <? endif ?> <div class="spacer"></div> </div>
On my site, it returns links, even if there should be none. For example, I use the pb_post type for my blog's contact page and get this code generated for pref/next links:
<div class="ccm-next-previous-wrapper"> <br> <div class="ccm-next-previous-previouslink"> <a alt="prev_page" href="/search/">« Previous</a> </div> <div class="ccm-next-previous-nextlink"> <a alt="next_page" href="/!trash/guestbook/">Next »</a> </div> <div class="spacer"></div> </div>
Do I have something configured wrong, or is ProBlog misbehaving?