WordPress.org

Support

Support » How-To and Troubleshooting » Displaying a certain category instead of all news

Displaying a certain category instead of all news

  • On one of my pages the template is checking if there are any posts and if there are it shows them. For this it uses this code:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Instead of this I would like to have it show just the posts from a certain category. Can anyone help me out what I need to change in this code to have it just show posts from category let’s say “items”.

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Displaying a certain category instead of all news’ is closed to new replies.
Skip to toolbar