Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Help › Reply To: Help
December 1, 2014 at 5:17 pm
#3066
Hi mate,
Cheers my php is average so may need some assistance. I have put the code you wrote, into my themes functions.php but it isn’t changing the search results at all like nothing is taking affect? Any ideas?
add_filter( ‘asp_pagepost_results’, ‘asp_add_category_titles’, 1, 1 );
function asp_add_category_titles( $pageposts ) {
var_dump($pageposts);
return $pageposts;
}