removing categories via shortcode builder

This topic contains 1 reply, has 2 voices, and was last updated by  Kor 6 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #478781

    Mitch Canton
    Expired Member
    Post count: 167

    Is there a way to remove specific categories from display via shortcode?

    For example, using this shortcode:
    [gd_categories title=”new cat test-2″ title_tag=”h4″ post_type=”gd_place” cpt_ajax=”0″ hide_empty=”1″ hide_count=”1″ sort_by=”az” max_level=”1″ max_count=”all” max_count_child=”all” no_cpt_filter=”0″ no_cat_filter=”0″]

    It removes empty categories, which is great. But I’d actually like to define a couple of additional categories to remove from display.

    In the gd_listings shortcode builder, there is a slick interface to do this (category=”3789,3907,3815″). Any such option for creating gd_categories display?

    I can do this via CSS, but if there was a way to include/exclude specific categories in the shortcode creation, that would be great.

    Thank you.

    #478834

    Kor
    Moderator
    Post count: 16516

    Hi Mitch,

    Thanks for your post. There isn’t a parameter in gd_categories shortcode that allows you to achieve this, unfortunately. You can try using custom CSS following the instructions here https://wpgeodirectory.com/docs/customizing-your-style/

Viewing 2 posts - 1 through 2 (of 2 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