WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
[resolved] not working on for twentyfourteen theme (4 posts)

  1. dhruv_pavans
    Member
    Posted 4 months ago #

    I am using twenty fourteen theme.
    I am not able to find that lines mentioned in installation guide in twenty fourteen theme.
    http://wordpress.org/plugins/wp-pagenavi/installation/
    Where should i place that new lines.

    https://wordpress.org/plugins/wp-pagenavi/

  2. Lester Chan
    Member
    Plugin Author

    Posted 4 months ago #

    You can try index.php. Place it anywhere outside the loop https://codex.wordpress.org/The_Loop

  3. nicoblog
    Member
    Posted 2 weeks ago #

    Sorry i'm on the same boat.
    If you do that you will have twenty fourteen pagination + pagenavi pagination.
    We need a way to replace it on twenty fourteen.

  4. Lester Chan
    Member
    Plugin Author

    Posted 2 weeks ago #

    @nicoblog: You can't replace it without touching the files. What I can suggest is modify inc/template-tags.php https://themes.trac.wordpress.org/browser/twentyfourteen/1.1/inc/template-tags.php and replace the whole function twentyfourteen_paging_nav()

    With function twentyfourteen_paging_nav() { wp_pagenavi(); }

Reply

You must log in to post.

About this Plugin

About this Topic