Displaying a certain category instead of all news (2 posts)

  1. marcelvanm
    Posted 3 years ago #

    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".


  2. marcelvanm
    Posted 3 years ago #

    This is the pastebin link

Topic Closed

This topic has been closed to new replies.

About this Topic