Linkify Posts

plugin banner

Version: 2.1.3

Turn a string, list, or array of post IDs and/or slugs into a list of links to those posts.

Author:Scott Reilly (profile at wordpress.org)
WordPress version required:3.3
WordPress version tested:6.3
Plugin version:2.4.1
Added to WordPress repository:28-08-2010
Last updated:22-08-2023
Rating, %:0
Rated by:0
Plugin URI:https://coffee2code.com/wp-plugins/linkify-po...
Total downloads:4 524
Active installs:10+
plugin download
Click to start download

The plugin provides a widget called “Linkify Posts” as well as a template tag, c2c_linkify_posts(), which allow you to easily specify posts to list and how to list them. Posts are specified by either ID or slug. See other parts of the documentation for example usage and capabilities.

Particularly handy when used in conjunction with the post custom field feature of WordPress. You could define a custom field for “Related Posts” or “Additional Products” and manually list out post IDs, then utilize the function provided by this plugin to display links to those posts in a custom manner.

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Developer Documentation

Developer documentation can be found in DEVELOPER-DOCS.md. That documentation covers the template tag and hook provided by the plugin.

As an overview, this is the template tag provided by the plugin:

  • c2c_linkify_posts() : Template tag to display links to each of any number of posts specified via post IDs/slugs. You can customize text to show before and/or after the entire listing, between each post, and what to display (if anything) when no posts are listed.

This is the hook provided by the plugin:

  • c2c_linkify_posts : Allows use of an alternative approach to safely invoke c2c_linkify_posts() in such a way that if the plugin were deactivated or deleted, then your calls to the function won’t cause errors in your site.

Screenshots
FAQ
ChangeLog