Include only three post types in directory shortcode

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 7 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #403815

    Julian Screawn
    Expired Member
    Post count: 20

    Shortcode: [gd_cpt_categories]

    Parameter: post_type
    post_type – The custom post types to use (default = shows all) (examples: ‘gd_place’ or ‘gd_place,gd_event’)

    I have four post types and want to show three. What is the syntax, can you give me an example ? I have made a few syntactical tries and can’t get just the three to show.

    [gd_cpt_categories post_type=gd_food, gd_product, gd_service]

    Thanks

    #403871

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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