WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
What file to change next_posts_link() in? (3 posts)

  1. boothdv
    Member
    Posted 1 year ago #

    The title pretty much says it all. I've searched my theme (and twentyeleven for reference) and can't find this code anywhere.

    What file am I supposed to be replacing this in?

    Thanks!

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

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    generally, look into the usual index.php, archive.php, category.php, etc.

    if there is a 'get_template_part( 'content', ... )' code, follow that clue and look into content-...php;
    sometimes the theme calls a function (often 'nav' in the function name) - then search functions.php of your theme;

    the possibilities are endless.

    you haven't posted the name of your theme, but in Twenty Eleven it is in a function (this is called in index.php etc):

    <?php twentyeleven_content_nav(); ?>

    the code for it is in functions.php

  3. boothdv
    Member
    Posted 1 year ago #

    Thanks for the quick response - I'll take a look around again.

    For the record, the theme I'm using is Hybridside - http://www.llow.it/hybridside/

    Dave

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.