Hi.
I'm using svn version.
If I use a static page for my posts, navigation-links (next, previous) are missing.
static page
Reading Settings->Front page displays->A static page (select below)->Posts page)
Regards.
Hi.
I'm using svn version.
If I use a static page for my posts, navigation-links (next, previous) are missing.
static page
Reading Settings->Front page displays->A static page (select below)->Posts page)
Regards.
navigation links won't show if you don't have any more pages to link to. if, however you do have more pages and it's not showing up, then that's a bug. so which one is it?
sorry I was busy...
It is a bug since it works with the wordpress default theme.
I'm talking about blog page with posts.
I'd say I have more than 5 posts (limited to show 5 posts per page) at
http://www.ivgeo.net/blog/
Regards
Ah, it seems like you've got version 0.3 of WP Framework. I've since fixed that bug.
To fix it, open general-template.php in library/core/ and around line 385 override this function: framework_page_navigation
function framework_page_navigation() {
$maxpage = intval( $wp_query->max_num_pages );
$page = intval( $paged );
$next = get_adjacent_post( false, '', false);
$prev = get_adjacent_post( false, '');
if ( is_singular() ) { ?>
<!--BEGIN .navigation-links-->
<div class="navigation-links single-page-navigation">
<?php if ( $prev ) { ?>
<div class="nav-previous"><?php previous_post_link( '« <span class="nav-meta">%link</span>' ); ?></div>
<?php } if ( $next ) { ?>
<div class="nav-next"><?php next_post_link('%link <span class="nav-meta">»</span>'); ?></div>
<?php } ?>
<!--END .navigation-links-->
</div>
<?php } elseif ( $maxpage > 1 ) { ?>
<!--BEGIN .navigation-links-->
<div class="navigation-links page-navigation">
<?php if ( $page < $maxpage ) { // go back in time ?>
<span class="nav-next"><?php next_posts_link( '<span class="nav-meta">«</span> Older Entries' ); ?></span>
<?php } if ( $page > 1 ) { // go to the front page ?>
<span class="nav-previous"><?php previous_posts_link( 'Newer Entries <span class="nav-meta">»</span>' ); ?></span>
<?php } ?>
<!--END .navigation-links-->
</div>
<?php }
}
Interesting, nothing happened with fix applied.
Hmm, I just downloaded WP Framework 0.2.3 and the same thing in this version works fine.
What is the latest unstable version I can download using Subversion?
0.3? :)
Thanks
hm.. well the latest stable is 0.2.4 which is coming out pretty soon. hopefully that fixes this.
You must log in to post.