|
|
posts
 |
|
 |
|
| List category posts 0.7.1 |
Author: Fernando Briano
List Category Posts is a simple WordPress plugin which allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Great to use WordPress as a CMS, and create pages with several categories posts.
Usage: [catlist argument1=value1 argument2=value2] Installation:
Upload listcat directory into you wp-content/plugins/ directory.
Login to your WordPress Admin menu, go to Plugins, and activate it.
Edit the default.php file on templates to customize the way the categories are displayed, or use the default one included in the plugins code. You can use several different templates if you want.
You can find the List Category Posts widget in your widgets. Hasnt been tested, still in development, but usable.
If youre updating List Category Posts from version 0.1, you must change the code in the pages using it, since its not backwards compatible. LCP now uses WordPresss shortcode API, in order to allow arguments. You should chang the previous [catlist=ID] to [catlist id=ID].
|
|
|
 |
|
 |
 |
|
 |
|
| Efficient Related Posts 0.3.4 |
Author: Aaron D. Campbell
There is a problem
with related posts plugins, and Efficient Related Posts is fixing that by
approaching the problem from a different direction and offering a very different
solution Installation:
Verify that you have PHP5, which is required for this plugin.
Upload the whole efficient-related-posts directory to the /wp-content/plugins/ directory
Activate the plugin through the Plugins menu in WordPress
Configure related posts by going to Settings -> Related Posts
faq:
How can I add a list of related posts to my posts?
You can configure Efficient Related Posts to add related posts automatically in
Settings -> Related Posts. Alternatively you can use the shortcode
[relatedPosts] or the helper functions wpgetrelatedposts() and
wprelated_posts() in your theme files.
How exactly do you use the [[relatedPosts]] shortcode?
To use the default settings (from Settings -> Related Posts) you just need to
add [relatedPosts] to your post or page where you want to list to be. You can
also add some attributes to it such as numtodisplay (Number of related posts
to display), norptext (Text to display if there are no related posts), and
title (Title for related posts list, empty for none) like this:
[relatedPosts title="Most Related Post" num_to_display="1"]
[relatedPosts num_to_display="1" no_rp_text="No Related Posts Found"]
[relatedPosts title="Try these related posts:" num_to_display="3" no_rp_text="No Related Posts Found"]
How do the theme helper functions work?
You can use wp_get_related_posts() and wp_related_posts() to display a list
of related posts in your theme. They need to be used in "the loop" and the only
difference is that wp_get_related_posts() returns the list and
wprelatedposts() echos the list. You can also pass an associative array of
arguments to it such as numtodisplay (Number of related posts to display),
norptext (Text to display if there are no related posts), and title (Title for
related posts list, empty for none) like this:
wp_related_posts(array(title=>Most Related Post, num_to_display=>1))
echo wp_get_related_posts(array(num_to_display=>1, no_rp_text=>No Related Posts Found))
wp_related_posts(array(title=>Most Related Post, num_to_display=>3, no_rp_text=>No Related Posts Found))
If it calculates related posts when a post is saved, wont a post only be related to older posts?
No, Efficient Related Posts finds all the posts related to the one being saved,
and if the current post is more closely related to one of those posts than the
least related post that is currently stored, it re-processes that post. Simple
right? Well, maybe its not so simple, but rest assured that your posts can and
will show the posts they are most related to regardless of post date.
What metrics are used?
Posts are considered related based on tags. This may be extended in the future,
but I wanted to keep the queries as clean as possible.
|
|
|
 |
|
 |
|
|