Sunday 15 June 2014

Wordpress Post by Category -


I am developing a website with Wordpress What do I need to create a page that is created with a specific category Shows the post. What should I do?

For example, the page shows posts with javascript, only catjerrari javascript.

I do not know how good you are with PHP, but you need to create a WordPress template , Where it asks the post from your category.

You can read about the collection page here: It displays all your posts:

Previously:

 < Code> & lt ;? Php while (has_posts ()): the_post (); ? & Gt;   

Add this to be asked in a specific category:

  & lt ;? Php query_posts ('category_name = news'); ? & Gt;   

Where 'News' is the name of your category!

No comments:

Post a Comment