This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Display the taxonomy/filter of a post as a class in the results template

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Display the taxonomy/filter of a post as a class in the results template Reply To: Display the taxonomy/filter of a post as a class in the results template

#31081
Ernest MarcinkoErnest Marcinko
Keymaster

In your above code there is an error, this:

<?php get_post_meta('_taxonomy_resource_type', $r->id); ?>

..an echo or print is missing, and a the data is not singular:

<?php echo get_post_meta('_taxonomy_resource_type', $r->id, true); ?>