WordPress.org

Ready to get started?Download WordPress

Forums

Elbee Elgee
[resolved] FAQ update: How to remove next and previous links (6 posts)

  1. Daedalon
    Member
    Posted 1 year ago #

    How can I remove the next and previous links that appear above each post? This could be added to the FAQ as well.

    Thanks in advance!

    http://wordpress.org/extend/themes/elbee-elgee/

  2. Doug
    Member
    Theme Author

    Posted 1 year ago #

    Daedalon:
    This is another feature request. I'll hook this in -- it's currently hard-coded into theloop.php.

  3. Daedalon
    Member
    Posted 1 year ago #

    Another piece of good news for the development road. Thanks!

  4. Doug
    Member
    Theme Author

    Posted 1 year ago #

  5. Daedalon
    Member
    Posted 1 year ago #

    I see that thread includes a possible fix. Good work! Marking this topic as resolved.

  6. Daedalon
    Member
    Posted 1 year ago #

    If someone wants to remove the next and previous links before the next update comes out, you need to comment out a part of line 8 in theloop.php comment out everything else but not the closing php tag ?>. I found it the clearest to move that tag on a new line.

    Before:

    if (is_single()) get_template_part('navigation') ?>

    After:

    /* if (is_single()) get_template_part('navigation') */
    ?>

    In the current version of theloop.php things seem to have changed a bit. It looks like one option is to comment out line 17: lblg_nav_top();. As one purpose of the update is that it is easier to turn off this feature, I think there's a better way somewhere.

    Doug: What's the best way to turn off this feature in the new theloop.php? I would gladly copy the new theloop.php over the current one in my Elbee Elgee folder and do any required unhookings my child-theme's functions.php. This way I would have the feature disabled now as needed, and this disabling would be update-safe.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic