WordPress.org

Plugin Directory

Easy Post-to-Post Links

Easily create a link to another post using a shortcode to reference the post by id or slug; the link text is the post's title, unless overridden.

Easily create a link to another post using a shortcode to reference the post by id or slug; the link text is the post's title, unless overridden.

When writing your posts, you can refer to other posts either by ID, like so:

[post2post id="20"]

or by the post slug/name, like so:

[post2post id="hello-world"]

When viewed on your site, the post-to-post link tag is replaced with a permalink to the post you've referenced. By default, the text of the link will be the referenced post's title, resulting in something like:

"<a href="http://example.com/archives/2005/04/01/hello-world/" title="Hellow World!">Hello World!</a>"

You can optionally customize the link text by specifying a text="" attribute and value to the post-to-post link tag:

Check out [post2post id="hello-world"]my first post[/post2post].

Which yields:

Check out "<a href="http://example.com/archives/2011/07/01/hello-world/" title="Hello World!">my first post</a>".

The plugin provides its own admin options page via Settings -> Post2Post in the WordPress admin. Here you can define text that you want to appear before and/or after each post-to-post substitution, and if you want to enable legacy tag support. The plugin's admin page also provides some documentation.

Links: Plugin Homepage | Plugin Directory Page | Author Homepage

Requires: 3.6 or higher
Compatible up to: 4.1.3
Last Updated: 2015-3-11
Active Installs: 400+

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

0,1,0
0,1,0
0,1,0
0,1,0