I have create a category by using Custom Post Type plugin, and now only the 5 most recent posts of the category are showing.
What I want is to show all posts for the category.
For examle, suppose I have movies category – I want all movies in that category.
What code should I use and where?
I don’t know much about the wordpress, so I would appreciate a step by step process.
Leave a Reply
You must be logged in to post a comment.
just change the category id (number 7)
and change the post_type that was in the plugin
to learn more about post_type, see link
http://codex.wordpress.org/Custom_Post_Types
It is quite easy to do it with wordpress. You have to understand that post are normally display within a “loop”, a small code that repeat itself. You have to use one to do that.
You should change the output to what fit your needs
You can use this code for accessing all post of specific category. In your category.php page use the spinet of code
This is adapted from code someone else wrote, and which I benefitted from too long ago to know where it came from (if the person who originally wrote it is reading this, thanks again). It works for your request: