• Resolved natalieleora

    (@natalieleora)


    In the backend I have a custom post type: portfolio items.

    When I try and search for a particular portfolio item (even by exact name) it won’t return any results. And if I click the search button again it sends me to the Posts page and tries to find posts with the term in it. Very odd. Any ideas? I have tens of portfolio items so I really need to be able to search within them.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Just to be certain, it’s not set to “true” for “Exclude from Search” correct?

    Also do you have any custom usage of pre_get_posts action hook being used? There’s possibility that query customizations from those callbacks are affecting the searching, even in the WP Admin.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any news here @natalieleora ?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Can’t search within custom post type.’ is closed to new replies.