[Support request] Recent Posts based on Categories

Home Forums Support [Support request] Recent Posts based on Categories

Home Forums Support Recent Posts based on Categories

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2380942
    Claudia Syanny

    Hi

    I’m using Tasty theme and I created 3 categories on the main menu. How do I make it show recent posts based on categories? Right now each menu show all recent posts.
    Thank you.

    #2381400
    David
    Staff
    Customer Support

    Hi there,

    when you add a Category to a Post(s) then WP and GP will generate the Category archive for you.
    Heres an example URL of one of those archives on your site:

    https://butterjoykitchen.com/category/traditional-snack/

    When you edit your menu, replace your menu items with the Category links.

    #2381876
    Claudia Syanny

    Hi David,

    I tried posting a new article under Baking category. It also shows in Traditional Snack category page and
    this post (Purple Yam Steamed Cake) also shows in Baking category page.

    How to separate each article based on category?

    Thanks.

    #2382048
    David
    Staff
    Customer Support

    Edit the Post, and in the post sidebar select the Category you want it in:

    https://www.screencast.com/t/Equd4YLX

    #2382719
    Claudia Syanny

    Hi David,

    I did what you suggested. However, the Marble Cake recipe which should be in Baking category still appear in Traditional Snack page and the Purple Yam Cake still appear in Baking page.

    Is there something I missed?

    #2382839
    David
    Staff
    Customer Support

    If you visit the actual Category Archive pages then you will see the correct posts:

    https://butterjoykitchen.com/category/traditional-snack/
    https://butterjoykitchen.com/category/baking/

    The pages you’re viewing eg.

    https://butterjoykitchen.com/traditional-snack/

    Are Static Pages that are display a core Query Loop block.
    If you want to continue using those static pages, then you need to:

    1. edit the page
    2. select the Query Loop block
    3. in the Block settings > Filters – select the relevant category for that page.

    Alternatively don’t use the Static Pages, and just create menu links to those archive pages i shared above.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.