Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

[WordPress] Show Posts by Category Name

Hello Friends,

I was working with WordPress since long time and I am really enjoying to work with WordPress and Customization in WordPress. This tip is very simple but you may find this really helpful when you want to do this task. If you want to customize or create WordPress page where you need to show posts by category name than below is the code.

<!--?php query_posts("category_name=abc&amp;showposts=10"); ?-->

You can replace your category name with “abc”. Below this line, you can execute simple and common while loop of WordPress. Show Posts by Category Name, Show Category Posts WordPress, WordPress Show Posts by Category, Show WordPress Category Posts, How to get Posts by Category, Show Posts by Category in WordPress.

Thank you!



Leave a Reply

Your email address will not be published.