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

Reply To: Results showing wrong description

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Results showing wrong description Reply To: Results showing wrong description

#34761
Ernest MarcinkoErnest Marcinko
Keymaster

Maybe the do_shortcode function does not work in that context for some reason.

Try maybe this variation:

echo wd_substr_at_word( wd_strip_tags_ws( apply_filters( 'the_content', get_asp_result_field('content') ), '<abbr><b>'), 200);

..or if that does not work, it should be almost equivalent to this:

echo wd_substr_at_word( wd_strip_tags_ws( apply_filters( 'the_content', get_the_content() ), '<abbr><b>'), 200);