Get WordPress Posts By Category Name..!

its easy to get the WordPress posts by Category name. That means your posts will only display if the post has selected a specific category.

To create a category:

Go to admin panel posts –> Category

Type category name and click on Add new category.

See screenshot:


cat_name

NOW . Go to Add a new post. Add new post here and select the category which you have created with the name.

See screenshot:


cat_name1

TO DISPLAY THE POSTS WITH THE CATEGORY NAME

Just put your category name which you have created in place of CATEGORYNAME.

That’s it. Just copy and paste in any of your template files to display the posts.

Here you can Submit A Guest Post for all the categories.