WordPress.org

Ready to get started?Download WordPress

Forums

Related Links
Where to insert code to make links appear (3 posts)

  1. s9606564
    Member
    Posted 2 years ago #

    Perhaps a stupid question. I've been searching all over the place, but cannot find there to use this code in your template:
    <?php related_links(); ?>
    In which PHP file or template file to I add it where?
    I'm using Atahualpa 3.7.7 as theme.

    I want the related links to show up right below the text on a single post page, just before other the other plugins (like Tweet This).

    http://wordpress.org/extend/plugins/related-links/

  2. linkfr
    Member
    Posted 1 year ago #

    Hi everyone!

    I have the same question, could someone please give us a hand here? After activating the plugin, i can select the related links i want in the metabox next to the post edition box... but they dont show on frontend.

    As far as i understand, it is only a question of pasting the code below in a file, right?

    <?php related_links(); ?>

    But where? What's the file and where in the file should we paste it?

    (As for me i'm using PageLines Platform theme).

    Thanks for your help!

    [ Please do not bump. That's not permitted here. ]

  3. linkfr
    Member
    Posted 1 year ago #

    Hi, thanks to people in PageLines forum, this has been solved.

    The file to edit, in my case (Platform theme) was template.postloop.php

    I only pasted this line:

    <?php related_links(); ?>

    at the very beginning of the file, as line number one.

    Doesnt look very nice yet (it appears at the top of the post very close to its title) but it works. Customozing the visual part is now next step...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.