disable CPT dropdown in search mask, define CPT for search

This topic contains 2 replies, has 3 voices, and was last updated by  Stiofan O’Connor 5 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #444677

    Marc
    Expired Member
    Post count: 274

    Disable CPT dropdown in search mask, define CPT for search:

    Please add the functionality for gd_search shortcode, to select what CPT should be shown (as dropdown in search mask). And the option to NOT show any dropdown at all and define a single CPT for this specific search mask.

    Thanks,

    #444702

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    we are adding parameters to define default CPT and hide CPT selector, but those will only work on custom page, on the search page, the selector can’t be hidden, because that’s where results are shown for all CPTs.

    However if the post_type is defined in the url parameter like on the search page then it will default to showing that post type

    Thanks

    #444708

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This has been implemented and will be in the next release.

    Thanks,

    Stiofan

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

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

Open Support Ticket