Support » Fixing WordPress » Add target applied to pagination links?

  • Resolved Head Goldfish


    Hey all,

    I’m building a custom theme from a client’s design, which involves a post feed situated somewhat down the page with some pagination links. It’s a static home page, and the pagination is working fine, except that it reloads the page and thus, scrolls back to the top, which makes the user have to scroll down to see what the next post is.

    Example here (specifically the “Latest News” section):

    The pagination code I’ve got is: <?php previous_posts_link($previous_posts_image); ?>

    Is there a way I can add a “#name” target to the pagination links, so that it’ll load the new page in the scrolled down position?


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add target applied to pagination links?’ is closed to new replies.