Reply To: Help

#3066

mashwebdesign
Participant

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;

}