The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

What file to change next_posts_link() in? (3 posts)

  1. boothdv
    Posted 3 years 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?



  2. Michael
    Forum Moderator
    Posted 3 years 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
    Posted 3 years 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/


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.