How to remove custom post select from search

This topic contains 4 replies, has 2 voices, and was last updated by  Paolo 8 years, 1 month ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #157646

    Justin Murray
    Expired Member
    Post count: 9

    Hi friends, I have attached a screenshot that show the issue we’re having. We want the search box to look like the Kleo theme demo at http://seventhqueen.com/themes/kleo/business-directory/ – but as you can see in the screenshot, we have the “marijuana” post type showing up. How can we remove this? What setting?

    #157647

    Justin Murray
    Expired Member
    Post count: 9

    The screenshot didn’t attach due to your ridiculously low file size maximum. I compressed the image and re-attached.

    #157953

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    that is because you have more than 1 custom post type. While in the demo they are only using the core plugin.

    512KB is a huge size for screenshots… just FYI.

    Thanks

    #158169

    Justin Murray
    Expired Member
    Post count: 9

    Is there a way to hide or modify that?

    #158184

    Paolo
    Site Admin
    Post count: 31206

    Yes with CSS, but than users will only be able to search the default CPT.

    In case that’s ok with you, add this in gd > design > scripts > custom css:

    
    
    .search_by_post {
        display: none;
    }

    Thanks

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

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

Open Support Ticket