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

Reply To: Category description not show

#23019
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

The ID of those items is set to -10 on purpose, otherwise wordpress would parse it as a Post. It might be however possible possible to get the original term ID via the Ajax Search Pro theme API functions.

In your case, to get the ID, you can use this call within the posts loop:

$id = get_asp_result_field('id');

It might be also possible to get the short description directly, like so:

$term = get_term( $id );
echo $term->description;

That may do the trick!