Reply To: Alignment With my Theme's Columns

Home Forums MapPress Support Alignment With my Theme's Columns Reply To: Alignment With my Theme's Columns

#9722
quentro
Participant

    Last question, sorry:

    http://lagerlager.ch/boulderpirat/category/schwierigkeit/7c-nirvana/

    I need to remove the shortcode also from the search results (see link above). I tried following:
    function remove_shortcode_from_search($content) { if ( is_search() ) { $content = strip_shortcodes( $content ); } return $content; } add_filter('the_content', 'remove_shortcode_from_search');
    But it didn’t work…