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
This 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

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
Download Stats
| Today: | 0 |
| Yesterday: | 1 |
| This Week: | 2 |
| Total: | 244 |
August 25th, 2009 // Plugins |

This site rocks!
This doesn’t work on Wordpress Version 2.8.4. I uploaded and activated plugin, but I do not see in posts anywhere…
If you have he visual editor on, the selectbox is added to the toolbar in the HTML tab.
Could it be added to toolbar in the visual editor as well?
Deactivated and reactivated it a few times and got it to work. Thanks!
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.
How do you mean ‘classify the posts under category or tags’?
“lists all your published posts in order from newest to oldest”
Add an option. Choose one category (or month) first, then lists all the posts in that category.
Much more user friendly than the old method
Works great! Thank you!