Search not working with custom post type
-
Hi!
I’m working on a French and English website where there is a rather big directory of retailers (+/- 1300). The retailers are managed through a bilingual custom post type. Those entries are not language sensitive and should not be taken care of by Polylang. When I perform a search request, I don’t get any results from the retailers, except if I remove the language from the URL, which causes other problems.You can see it here:
https://www.damasketdentelle.com/en/?s=design
https://www.damasketdentelle.com/?s=designI tried installing search plugins but it causes internal server error such as this one (I get quite the same for every plugin I tried):
“PHP message: PHP Fatal error: Call to a member function is_translated_post_type() on a non-object in /[…]/www.damasketdentelle.com/wp-content/plugins/relevanssi/lib/common.php on line 15”
Thanks in advance for your help, and thank you for that great plugin I’m using on most of my websites.
- The topic ‘Search not working with custom post type’ is closed to new replies.