WordPress.org

Ready to get started?Download WordPress

Plugin Directory

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.

1.2.1

Bug fix: get tag links working!

1.2

Added support for custom post types

1.1.1

Bug fix: the admin-ajax.php url resolution fix in 1.0.3 only worked when in the HTML editor; now also fixed for the Visual editor

1.1

For posts not yet published (pending, future, or draft) don't link to them. Instead show the link text along with a note saying the post is not published yet (with both inside a css class for custom styling)

1.0.3

Bug fix: infer admin-ajax.php url from current url (the post edit page)

1.0.2

Bug fix: removed remaining calls to Toppa Libraries plugin

1.0.1

  • bug fix: provide relative URL for ajax request
  • bug fix: on activation, use is_plugin_active() to check whether we should register the p2p button with Extensible HTML Editor Buttons (the method check was throwing an error in some environments)

1.0

  • added visual editor button and dialog for finding posts
  • added support for highlighting text in the editor to make link text
  • added support for named anchors
  • refactored and added unit tests

0.3

  • made multi-site compatible

0.2

  • changed setLink setLink($atts, $content=null), adding $content parameter
  • overwrite $text=$content if $content was used
  • load element (post, category, tag)'s title everytime
  • for $type == 'tag_id', replaced database select by 'get_term_by'
  • BUGFIX: $tag_id was being used outside of its scope, code was removed because it's not needed anymore
  • created reportError, to report bad parameters
  • replace $wpdb queries for correspondent API functions in $type=='id' and $type=='tag_id'
  • added some validation checks for when passed ip or slug is not found in database
  • added apply_filters() with tag 'p2p_error_msg', so that the message can be filtered as needed before it is sent to page

0.1

First version

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-7-14
Downloads: 6,550

Ratings

4 stars
4.6 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.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1