Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Post-to-Post Links II

Using a modal dialog window in the post editor, easily link to another post, page, tag, or category in your WordPress site.

I am currently no longer developing or supporting this plugin. I may resume development and support in the future, but I'm not sure when.

New in version 1.2: Support for custom post types

Post-to-Post Links II lets you easily create a link to another post, page, tag, or category on your site. With a dialog form that uses autocomplete to look up posts by title, it's very easy to find your link destination. The link will automatically use the title of the post, page, tag, or category as the link text, or you can supply your own link text.

It generates a shortcode instead of an HTML link. This means your links won't break if you ever change your permalink structure, or change the organization of your categories.

You can also specify a named anchor for the link, and enter any additional attributes you need (such as an "id" or "name" for use with javascript or css).

It includes a button for the visual editor to launch the dialog form for looking up posts. If you prefer the HTML editor, you can install my Extensible HTML Editor Buttons plugin, and Post-to-Post Links II will use it to register a button in the HTML editor button bar.

For posts not yet published (pending, future, or draft) Post-to-Post Links II won't try to link to them. Instead it shows the link text along with a note saying the post is not published yet (with both inside css classes if you want to style the appearance).

It is multi-site compatible.


A simple link to the "Hello World" post:

[p2p type="slug" value="hello-world"]My first post[/p2p]

A link to a category page that opens in a new window:

[p2p type="category" value="around-the-world" attributes="target='_blank'"]Read about my trip around the world[/p2p]

A link to a named anchor on a page:

[p2p type="slug" value="hello-world" anchor="more"]My first post[/p2p]

Get Help

Enter a post in the wordpress.org support forum for Post to Post Links II, and I'll respond there.

Give Help

This plugin was inspired by the "Post-to-Post Links" plugin written (but no longer maintained by) Scott Reilly.

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2 years ago
Active Installs: 400+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1