WordPress.org

Support

Support » Themes and Templates » Elbee Elgee » [Resolved] [Theme: Elbee Elgee] FAQ update: How to remove next and previous links

[Resolved] [Theme: Elbee Elgee] FAQ update: How to remove next and previous links

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Doug

    @zamoose

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

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

    Theme Author Doug

    @zamoose

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

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Theme: Elbee Elgee] FAQ update: How to remove next and previous links’ is closed to new replies.
Skip to toolbar