Forums

[resolved] How to add more pages to the index? (5 posts)

  1. elieayrouth
    Member
    Posted 10 months ago #

    Pleasant New Year!

    I'm currently using a modified theme, but one of the drawbacks is that the index page doesn't have a page navigation to see older posts.

    Imagine this is my content, followed by what I am looking to achieve:

    ---------- example

    <content>

    Pages: < 1 - 2 - 3 - 4 ... NEXT >

    ----------- /example

    I hope this makes sense...I've tried a few different code examples and suggestions, nothing has worked...often times a "see more posts" link just ends up linking back to the same page the visitor is on.

    My website is: http://www.foodbeast.com to get a better idea, I would like something more along the lines of what http://ctothejl.com/ has at the bottom of their index.

    Thank you in advance to anyone who reads this and has any sort of suggestions/solutions.

    Respectfully,

    Elie

  2. MichaelH
    moderator
    Posted 10 months ago #

  3. elieayrouth
    Member
    Posted 10 months ago #

    Thanks for the response Michael. I remembered just now that I already had that plugin installed, but the thing is...that plugin directs the user to: http://foodbeast.com/content/page/2 (or 3...4...etc.)/

    But when that 2nd page loads, its the exact same content that was on my first page (index). I'm not really sure if I need to edit any other pages or code in order for this plugin to adapt to my wordpress/theme specifically.

    Regardless, thanks for the help so far, any more would be greatly appreciated!

  4. GamerZ
    Member
    Posted 10 months ago #

    If I am not wrong, you are using custom query using query_posts() and you did not pass in the $query_string variable to the function

    http://codex.wordpress.org/Template_Tags/query_posts

  5. elieayrouth
    Member
    Posted 10 months ago #

    Gamerz, thank you so much for your time, I was able to find what I needed from that query_posts page. Thanks again!

Reply

You must log in to post.

About this Topic