How to install and configure the Related Posts By Category plugin for WordPress
If you look at the bottom of this post you will see related posts listed by the Related Posts By Category plugin. This is a simple WordPress plugin that just does exactly what I want. It lists related posts at the bottom of your content or anywhere else you choose to put them. It gets the list from the same category that the original post belongs to. This way, if posts are not in the same category then they are not related. This is a great plugin to keep your readers browsing on your website.
You can simply search for Related Posts By Category and install it automatically through your WordPress dashboard. After doing this there is one thing you have to do to get it working. I removed the image thumbnail bit and changed the limit number to 7.
Watch the video below to see the details.. It is much easier to understand when you can see it for yourself.
>>CODE TO COPY<<
`
<ul>
<?php do_action(
‘related_posts_by_category’,
array(
‘orderby’ => ‘RAND’,
‘order’ => ‘DESC’,
‘limit’ => 5,
‘echo’ => true,
‘before’ => ‘<li>’,
‘inside’ => ‘» ‘,
‘outside’ => ”,
‘after’ => ‘</li>’,
‘rel’ => ‘nofollow’,
‘type’ => ‘post’,
‘image’ => ‘thumbnail’,
‘message’ => ‘No matches’
)
) ?>
</ul>
`
















