show related posts wordpress without plugin using category

How to show related posts wordpress without plugin using category. Showing related article in wordpress site is always good for users to attract visitors.  In many blogs people are showing the related or linked articles. Showing similier or related articles will increaze your site SEO. show related posts without wordpress plugin using category in wordpress site is always good for users to attract the visitors.

show related posts wordpress without plugin

More visitor will visit your site. For showing the related articles you need copy following code into your functions.php file.

Code is Hidden! It's Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.

After that open your single.php file and use following code.

wpapi_more_from_cat();
show related posts wordpress without plugin

show related posts wordpress without plugin

Using above code you can show the related articles in your wordpress site.

5 Comments

Add a Comment

Your email address will not be published. Required fields are marked *