#вопрос
function add_view($atts){
remove_filter( 'the_content', 'wpautop' );
...
ob_start();
echo($style);
echo('<span class="n-eye' . $shortcode_atts["class"] . '"> '.$result.'</span>');
return ob_get_clean();
add_filter( 'the_content', 'wpautop' );
}
add_shortcode( 'n-view', 'add_view' );
Не могу подавать автообертку в p. все равно оборачивает в p.
помогите, пожалуйста, советом.