WordPress.org

Ready to get started?Download WordPress

Forums

Older Entries link does not work on a page of posts with cust. fields template (8 posts)

  1. davidss
    Member
    Posted 1 year ago #

    I have searched far and wide for an answer to this - but I am using a Page Of Posts with Custom Fields template from the Codex page instructions. However, the older entries link only brings up the same posts that are on the home page.

    Any help would be most appreciated.

    Here is the code in paste bin
    http://pastebin.com/raw.php?i=sBp6UNYf
    http://pastebin.com/sBp6UNYf

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    did you enter an valid/existing category ID into the custom field with the key 'category' for that particular page?

  3. davidss
    Member
    Posted 1 year ago #

    Thanks for the timely response. The page template does function perfectly in that respect - the appropriate categorized posts appear on the right pages dependent upon the value in the custom field.

    The problem is that for some reason the older entries link does not work.

    Thanks again.

  4. davidss
    Member
    Posted 1 year ago #

    Well, after struggling a bit more with this, I have found out that the older entries link only does not work on the static front page.

    Still struggling with the code to fix it, any suggestions would be most appreciated.

  5. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    just tested the code, and it works in my local test setup.

    do you have any other queries or loops before the tempalte, for instance in teh header?

    what are your permalink settings?
    dashboard - seetings - permalinks ( http://codex.wordpress.org/Using_Permalinks )

  6. davidss
    Member
    Posted 1 year ago #

    Thanks for the response.

    On the permalinks setting, I have the postname option set. Should it be something else?

    DS

  7. keesiemeijer
    moderator
    Posted 1 year ago #

  8. davidss
    Member
    Posted 1 year ago #

    alchymyth - I went through the instructions on emptying my .htaccess file and then refreshing the permalinks. It did not work.

    keesiemeijer - it is a static front page and I tried that code referenced in codex, and could not get it to work.

    This is the section of the code where I believe I having the problem.

    http://pastebin.com/raw.php?i=nQVd9K3B

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic