Show a single top-level category and its sub-categories on a page

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 5 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #509794

    aimbiz
    Expired Member
    Post count: 2

    I’d like to be able to show a single top-level category and its subcategories on a page. I couldn’t see how that was achievable with the shortcode editor. Can it be done, and if so, how?

    #509813

    Guust
    Moderator
    Post count: 29970

    Do you want to show links to the subcategories, or you want to list the listings in the category?
    Every category automatically has its own page, and if you add the GD > Categories element to the GD Archive page, you can filter that GD Categories element to only show subcategories.
    Let us know how you went. Thanks

    #509817

    aimbiz
    Expired Member
    Post count: 2

    I want to show the links to the subcategories. How do I do that?

    #509820

    Guust
    Moderator
    Post count: 29970

    Add this shortcode [or its equivalent block] to
    GD > Settings > Pages sub-tab > GD Archive > Edit

    [gd_categories post_type="0" title_tag="h4" hide_empty="1" sort_by="count" max_level="1" max_count="all" max_count_child="all"]

    Adjust as required.
    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount