Allow HTML Non Pro Version
-
I am using the non pro version and applied the below. However, it does not work. Even when I use the a tag, it is being stripped from the post.
Allow more HTML tags in excerpt
By default, these HTML tags are allowed in excerpt:
a, br, strong, em, strike, i, ul, ol, liTo add more tags to this list, please add this code to file functions.php of your active theme:
/* CVP – allow other tags in excerpts */
add_filter( ‘pt_cv_allowable_tags’, ‘cv_add_allowable_tags’, 100, 1 );
function cv_add_allowable_tags( $args ) {
$args[] = ‘<tag_1>’;
$args[] = ‘<tag_2>’;
return $args;
}The page I need help with: [log in to see the link]
- The topic ‘Allow HTML Non Pro Version’ is closed to new replies.