WordPress.org

Ready to get started?Download WordPress

Forums

pagebar
[resolved] doesn't work on custom post "index" (2 posts)

  1. 2046
    Member
    Posted 3 years ago #

    THe plugin works nicely, but the case when you have custom post page.
    WP setting>Readings>Front page displays static Page

    When you make your own Front page and the go to see all pages as like in default installation is done on index, then the pagination, creates probably correct number of pages but links to the paged page. It's hard to explain because this is more or less mixture of word terms.
    Anyway.
    When you have your custom frontpage, then you have to choose page for posts that substituting the regular index page, right?
    And when you have the pagebar there it links to a pagination of that page (because it's a page originally) but it has to link to another say 10 posts in a row.

    hope you understand what I mean.

  2. 2046
    Member
    Posted 3 years ago #

    Oki,

    I found the bug.
    I have my own query on index,php where I exclude category.
    If you run your own query together with Pagebar then the query has to be explicitly defined as paged.

    as in my case:

    $args=array(
    	'cat' => -115,
    	'paged'=>$paged
    	);
    
    query_posts($args);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags