WordPress.org

Ready to get started?Download WordPress

Forums

Link own posts (3 posts)

  1. version2_1
    Member
    Posted 5 years ago #

    I'd like to link my own posts on a page. Of course I could use http://mydomain.de/myblog/mypost, but I'd rather use something like [blogurl]/mypost.

    I know there is a php-function to get the blogurl, but that doesn't help in the html-edit box...

  2. rb-cohen
    Member
    Posted 5 years ago #

    Try the RB Internal Links plugin. (Sorry for the shameless link).

    It lets you link to your own posts and pages using shortcode like this:
    [intlink id="post-slug"]link text[/intlink].

    Plus there is a wysiwyg plugin to help to find the posts you wish to link to. Hope it helps.

  3. version2_1
    Member
    Posted 5 years ago #

    thanks, but a bit too late ^^

    I solved it myself - wrote my own plugin:
    http://familie-ottenhaus.de/simon/blog/2009/02/wordpress-eigenes-plugin-schreiben-post-functions/
    http://familie-ottenhaus.de/simon/blog/2009/02/post-functions-jslink-printfile-fold/

    my links are like [link:ueber-mich|Über mich] (internal)
    and [link:example.com/post] (external)

    perhaps we can benefit from each others plugins ;) - my source code is available on my blog (links above)
    but i have to warn you: my code is a bit undocumentated and my blog is in german...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags