• How to do link from one post to other post?

    Of course I can use direct link to my post (just copy paste link), but this is bad, becuase links can be changed (new permalink structure).

    I wanna to do macro like ($link(56)} and it generate link with generate link example https://domain.com/2005-11-10/wordpress-new-version/

    I know what post table have filed guid which is needed to use.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have these for my nav links to go from one post to another using the single.php template:

    <!-- PUT NAVIGATION LINKS ABOVE THE PRINTED RESULTS FOR QUICK ACCESS -->
    <div class="floatLeft"><?php previous_post('&laquo;&laquo; %','') ?></div>
    <div class="floatRight"><?php next_post('% &raquo;&raquo;','') ?></div>

    I hope this helps and is what you were referring to.

    Good luck.

    Vaidulis, this plugin may be useful:

    https://www.semiologic.com/software/smart-link/

    Thread Starter vaidulis

    (@vaidulis)

    Kafkaesqui: Yes your plugin is good, but i wanted more light ?? and I have on my server only php4

    Yesterday I founded one:
    https://www.coffee2code.com/archives/2005/03/23/plugin-easy-post-to-post-links/

    modified a bit because I don’t liked comments <!–post=”15″–>
    so i changed to [post=”15″] so i can use in xhtml editor.

    CG-Inline and CG-Related both can aid in post-to-post links.

    CG-Inline has a ‘permalink’ inline:
    <!--permalink:##.ALTTEXT:LINKTEXT-->
    The .ALTTEXT and :LINKTEXT are optional.

    CG-Related is specifically made for setting up and managing a table of post relations (for each source post, picking related posts manually). It’s currently undergoing a facelift.. ??

    -d

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Links from one post to other post’ is closed to new replies.