WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
[resolved] Add Anchor to Pagination (3 posts)

  1. jnkfrancis1978mx
    Member
    Posted 1 year ago #

    Hi My home page has a lot of body text before it get to the blog posts section, I'd like to add an anchor tag to the pagination so that when someone goes to page 2 they jump down to the blog section ie. /page%#%#latest

    I am using a multisite setup so if it could be done using a filter in the custom php I would appreciate that greatly. I am pretty confident I could hack the plugin to make it work, but I'd rather do it through my custom theme functions.

    Thanks!

    http://wordpress.org/extend/plugins/wp-pagenavi/

  2. rebperez
    Member
    Posted 3 months ago #

    Did you find a solution? I'd like to do the same thing.

  3. Lester Chan
    Member
    Plugin Author

    Posted 3 months ago #

    @jnkfrancis1978mx: For WP-PageNavi, we are using WordPress's get_pagenum_link() to get the URL, there is a filter called get_pagenum_link http://wpseek.com/get_pagenum_link/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic