Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Trying to stop JS to add in-line CSS for the .orig class › Reply To: Trying to stop JS to add in-line CSS for the .orig class
On the clean default search page: http://www.citypoppin.com/?s=hel
I’ve made a var_dump and I saw that the override is not working at all
This is the select from the query:
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND (((wp_posts.post_title LIKE ‘%hel%’) OR (wp_posts.post_content LIKE ‘%hel%’))) AND wp_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘product’)…
as you see, he does not search in the custom post types: “wp_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘product’)”
Also, the search custom field is not passed in the query at all.
Any ideas?