WordPress.org

Ready to get started?Download WordPress

Forums

next_posts_link and previous_posts_link wrong path (5 posts)

  1. Improfane
    Member
    Posted 4 years ago #

    Hello,

    I am displaying some WordPress posts from a different page (outside /wordpress/) using a custom template.

    I am trying to use next_posts_link and previous_posts_link which indeed do generate links but unfortunately they try link to the wordpress folder

    How do I fix this?

  2. Improfane
    Member
    Posted 4 years ago #

    Do I have to modify sourcecode?

  3. joshynet
    Member
    Posted 4 years ago #

    I have the same problem, but am clueless.

  4. teeppix
    Member
    Posted 4 years ago #

    Having the same problem, anyone can help ?

    Thx

  5. Wex
    Member
    Posted 4 years ago #

    Make sure you're putting it inside of The Loop.

Topic Closed

This topic has been closed to new replies.

About this Topic