CP Related Posts is a plugin that displays related articles on your website, manually, or by the terms in the content, title or abstract, and tags
Setting up CP Related Posts
The plugin has several setup options to have a great control over related posts. Among the available configuration options you will find:
Display options for the related posts on the individual post/page
How to display related posts in multiple-posts pages
Tip: After the initial setup of the plugin, it is recommended to press the button "Process Previous Posts" in order to extract the terms of the posts created before installing the plugin.
On the Editing screen of each post, page, or post type selected in the plugin's settings, you will see a new form that allows you to create direct links between the post being edited and other posts on the website, as well as allowing to extract relevant terms within the text of the post and select them for use as tags of the post in question.
The way to use CP Related Post from the posts edition
After type the post's content, press the "Get Recommended Tags" button, to extract all terms (with its weight, form the sections of post). If the user want to increase the importance of specifics terms, only is required check them.
If you want insert relevant terms that are not present in the post's content, define it as a post's tag.
It is possible associate posts manually. Type the terms and press the "Search" button. In the Items found section will be displayed the list of posts/pages that include the term. Select the posts/pages to associate manually.
Note: The posts associated manually represent the most strong relation.
It is possible exclude a post from the list of related posts, with only check the option: "Exclude this post from others related posts", or hide the related posts from a post through the option: "Hide the related posts from this post"
Filters called by CP Related Posts
cprp_post_thumbnail: Requires two parameters, a link tag with the thumbnail, and the object with the post's data.
cprp_post_title: Requires two parameters, a div tag with the post title, and the object with the post's data.
cprp_post_percentage: Requires two parameters, a div tag with the percentage of similarity, and the object with the post's data.
cprp_post_excerpt: Requires two parameters, the text of generated excerpt, and the object with the post's data.
cprp_post_tags: Requires two parameters, a div tag with the tags assigned to the post, and the object with the post's data.
cprp_content: Requires two parameters, the html tags of the generated related posts, and an array with the objects of related posts.
Requires: 3.0.5 or higher
Compatible up to: 4.6
Last Updated: 6 days ago
Active Installs: 2,000+
Got something to say? Need help?