• Resolved Beyond the Loop

    (@beyond-the-loop)


    Hi, love the simplicity of this plugin, great work! One thing I’m missing though is the option to link to the source somewhere within the post.
    What I want to do is to add a paragraph at the end of each post with some text and a link to the source.

    Would it be possible to get it with PHP through the footer option? I’d be happy to edit the code but I would need to know what function to edit?

    https://wordpress.org/plugins/cybersyn/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor cyberseo

    (@cyberseo)

    Sure, that can be easily done w/o PHP. Just put something like that into the “Post Footer” field:

    <p>Blah-blah-blah. <a href="####post_link####">More...</a></p>

    Leave the “####post_link####” part “AS IS”. It will be automatically replaced with the proper link to source.

    It doesn’t get translated to the source url for me.
    Source: <a href="####post_link####">Link</a> gets translated to “http://mysite.com/####post_link####&#8221;.

    I do this in a template file, not from admin backend. Link to source = disabled. I use CyberSyn 4.0.2.

    Also I can’t use cyberseo_post_link custom/meta field to get the source URL either, because that is for some reasons only set for a few feeds, most feeds have this field just empty.

    Nevermind, the solution is to use get_the_guid().

    Use how, TheDani?

    @andrelevy: just echo it within the loop.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Link to source within post?’ is closed to new replies.