Advanced Post2Post Links

Linking from one blog post to the next can be frustrating, especially if you decided later down the road to change your permalinks. Instead of having to deal with that, you can use a plugin to do so. There are a few plugins out there, but they require you to know the post id and slug, and you can’t customize the link attributes without having to edit the plugin itself.

That is where my new plugin: Advanced Post2Post Links comes in. What makes it stand out from the other post2post link plugins? Ease of use, and customization.

No need to lookup ID’s and Slug’s

Advanced Post2Post Link Select BoxThis plugin does not require you to leave your editing page, searching for a post’s ID or slug. Advanced Post2Post Links adds a select box to your post editor that lists all your published posts in order from newest to oldest. Simply select the post you would like, and a quicktag is inserted into your post, complete with the post’s ID and Title.

Advanced Post2Post Links won’t slow down your post edit pages from loading if you have a high quantity of posts. This plugin loads all your posts in the footer, and then appends the select box once it is ready. So no need to wait to edit while the page loads all your post’s.

Link Attributes

Advanced Post2Post Link QuickTag

With this plugin, you are able to add whatever attributes to your link you’d like. Want the link to open in a new window? Simply add target="_blank" to the quicktag, and it will be added to the link.

Here are the special tags:

  • postID: Self Explanatory, reserved for the post ID.
  • text: This is the text that will be displayed. If none is provided, then the plugin will use the post’s title as the text.
  • title: This is the title attribute for the <a> tag. If none is provided, the post’s title will be used.

Other than those mentioned above, any attribute you add to the quicktag will be added to the link. Even non-standard attributes.

Examples

Here are some examples. The ID of this post is 23, and the title is Super Awesome Post.

Default:
[p2p postID=”23″ text=”Super Awesome Post”]
<a href=”{permalink}” title=”Super Awesome Post”>Super Awesome Post</a>

Extra Attributes Added:
[p2p postID=”23″ text=”previous post.” target=”_blank” class=”newWindow”]
<a href=”{permalink}” title=”Super Awesome Post” target=”_blank” class=”newWindow”>previous post.</a>

Non-Standard Attributes and no text:
[p2p postID=”23″ stuff=”cool_link” title=”Link to an awesome Post”]
<a href=”{permalink}” title=”Link to an awesome Post” stuff=”cool_link”>Super Awesome Post</a>

Download

Advanced Post2Post Links 1.0.1

Download Stats

Today:  0
Yesterday:  1
This Week:  2
Total:  244

Version History

1.0.1

  • Corrected a minor bug

1.0

  • Initial Release

August 25th, 2009 // Plugins

1 Star2 Stars3 Stars4 Stars5 Stars
(5.00/5) 3 votes.
Loading ... Loading ...

10 Responses to “Advanced Post2Post Links”

  1. This doesn’t work on Wordpress Version 2.8.4. I uploaded and activated plugin, but I do not see in posts anywhere…

  2. It will take lots of time to find what I want if there are many posts. It may be better to classify the posts under category or tags.

  3. Much more user friendly than the old method

Leave a Reply

Name:
Email:
Website:
Message:
SUBMIT