Ready to get started?Download WordPress


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

  1. davidss
    Posted 2 years 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

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

  3. davidss
    Posted 2 years 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
    Posted 2 years 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. 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
    Posted 2 years ago #

    Thanks for the response.

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


  7. keesiemeijer
    Posted 2 years ago #

  8. davidss
    Posted 2 years 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.


    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic