Using a modal dialog window in the post editor, easily link to another post, page, tag, or category in your WordPress site.
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.
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]
Enter a post in the wordpress.org support forum for Post to Post Links II, and I'll respond there.
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: 2013-7-14
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?