HTML showing in Excerpts.
-
I’m attempting to import the sources I want. I’m running into an issue. The HTML is beign included despite the code included in the theme (and shown bellow). I found this code in an article on your site to delete HTML.
add_filter( ‘wprss_populate_post_data’, ‘eponies_strip_tags’, 1000, 2 );
function eponies_strip_tags( $args, $item ) {
$args[‘post_content’] = strip_tags( $args[‘post_content’], ‘<b><i><p><span>‘ );
return $args;
}The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘HTML showing in Excerpts.’ is closed to new replies.