Support » Plugins » wp-pagenavi in Page of Posts

  • Using Thesis, I created a page where I am using the thesis_home_loop to display teasers for posts of a specific category. I’m using wp_pagenavi, which works fine at the bottom of search results and archive pages, but not on the page of posts I have made. It displays the proper posts_per_page but the pagination only shows the one page. Where are my other pages?

    Here are the hooks I’m using:

    function the_stories_page() {
    if (is_page('Stories')) {
    $limit = get_option('posts_per_page');
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts('category_name=stories&posts_per_page=' . $limit . '&paged=' . $paged);
    echo '<div id="content">';
    echo '</div>';
    add_action('thesis_hook_content_box_bottom', 'the_stories_page');
    function the_pagination() {
    if (is_page('stories')) || is_archive() || is_search()){
    echo '<div class="paginate">';
    echo '</div>';

    Any ideas?

Viewing 1 replies (of 1 total)
  • pixelbeat


    I have no idea. I’m in the same quest.

    If I find anything that works I’ll let you know.

Viewing 1 replies (of 1 total)
  • The topic ‘wp-pagenavi in Page of Posts’ is closed to new replies.