Free Business Consulting

How to list particular categories posts in wordpress?

adminWordpress3 Comments

We found many people asking that, “How to show posts of a particular category in wordpress?”, We can’t stop our self to write the code for it, so that the wordpress users can breathe easily.

You can use the wordpress’s default functions to display the desired output. Here we are using get_posts() function of wordpress. The name itself suggests that it is used to get the posts. 🙂

Here is the code to list down the posts of a particular category :

You can also use the different combinations of below arguments to get your desired output. If you don’t want to do then we are here to do it for you. 🙂

Don’t forget to replace the CATEGORY_ID with your categorie’s id whose posts you want to list down.

You can add your own html format for listing the posts.

Its pretty Simple !!! 🙂

Leave a Reply

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

Get News In Your Inbox

Popular Blogs

How to create callback functions for jQuery plugins & extensions?

Most of the time custom jQuery plugins and extensions that we create do not use callback functions. They usually simply work on DOM elements or do some calculations. But there…

Continue Reading
Top 5 Best Ecommerce plugins in WordPress

Nowadays online shopping has increased and become very convenient shopping place for users, you may be wanting to start your own online shop so you can unleash your products to…

Continue Reading
10 Best WordPress Live Chat Plugins for Customer Support

The Live chat is the common thing now days, if you own any eCommerce website or if you are the service provider. It makes easy for your customers to contact…

Continue Reading
Free plagiarism checker sites

Plagiarism is the process of taking someone’s ideas & work and passing them off as one’s own. Prevent Plagiarism to check originality of content is the most important factor for…

Continue Reading
How to show wordpress posts in other CMS?

Currently since from few weeks, I am working on Expression Engine. Now you thought that what is Expression Engine. Now let me explain you in little brief. Expression Engine is…

Continue Reading

Remarkable Facts About Us

0 %
Client satisfaction
0 +
Years of Experience
0 +
Happy Clients
Projects Accomplished

Ready to Get Started ?