- b2evolution CMS Support Forums
- b2evolution Support
- General Support
- missed posts_nav_link() for page
1 fredjohn Oct 23, 2006 18:03
Hi there,
I did the single post navigating hack provided by EdB, it works fine. But the posts_nav_link() for page navigating is missed.
When I check the _main.php, the source codes are there:
<?php } // ---------------------------------- END OF POSTS ------------------------------------ ?>
<p class="center"><strong>
<?php posts_nav_link(' | ', '< '.T_('Previous'), T_('Next').' >'); ?>
<?php
previous_post( '<p class="center">%</p>' );
next_post( '<p class="center">%</p>' );
?>
</strong></p>
<?php // ---------------- START OF INCLUDES FOR LAST COMMENTS, STATS ETC. ----------------
switch( $disp )
{
case 'comments':
// this includes the last comments if requested:
require( dirname(__FILE__).'/_lastcomments.php' );
break;
case 'arcdir':
// this includes the archive directory if requested
require( dirname(__FILE__).'/_arcdir.php');
break;
case 'profile':
// this includes the profile form if requested
require( dirname(__FILE__).'/_profile.php');
break;
}
// ------------------- END OF INCLUDES FOR LAST COMMENTS, STATS ETC. ------------------- ?>
</div>
The responsed HTML codes in browser are:
<p class="center"><strong>
</strong></p>
</div>
Anybody know what's going on there?
My blog: http://www.ouianna.com/blog/
Many thanks,