• Resolved james11223456

    (@james11223456)


    Hello,

    Just wondering if anyone could share some wisdom on this, I”ve tired researching myself but have failed miserably!!!

    On my site I have a news page, and I would only like to show posts on this page that are in the ‘news’ category.

    Then, I would also like to create another page using the exactly same format/template/layout as news page, but only show posts in the ‘resources’ category.

    I seem to be struggling to figure out the best way to implement this.

    I can see the ‘posts/articles’ format is in the neve/views/archive-post.php file.

    And, that themes/neve/index.php has something to do with rendering the ‘posts loops’

    But, not sure where to ‘inject’ the wp_query to filter the ‘News’ posts ?

    Any pointer in the right directly would be massively appreciated.

    Thank you, J

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Mat

    (@mateithemeisle)

    Hello @james11223456 ,

    Thank you for using Neve!

    If I understand correctly you want separate pages to display news (posts) based on their category.

    You can obtain this by first categorizing your posts (Quick Edit the post and assign Category). Afterward, create a new page and add the latest posts block to it. Establish the design of the block and then from the right settings sidebar you can choose what categories will be included on that page. (screenshot).

    Please let us know if this works for you!

    Thank you and have an amazing day!

Viewing 1 replies (of 1 total)
  • The topic ‘Neve – Custom News Page’ is closed to new replies.