• In my post I have some html I want to keep in the excerpt in Recent Posts Widget Extended. I installed Advanced Excerpt to stop WordPress from removing the html but that doesn’t change the behavior of RPWE. Is the excerpt generated in a different way?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have no idea… the excerpt – plugins/recent-posts-widget-extended/includes/functions.php:

    if ( $args['excerpt'] ) :
    	$html .= '<div class="rpwe-summary">';
    		$html .= wp_trim_words( apply_filters( 'rpwe_excerpt', get_the_excerpt() ), $args['length'], ' &hellip;' );
    		if ( $args['readmore'] ) :
    			$html .= '<a href="' . esc_url( get_permalink() ) . '" class="more-link">' . $args['readmore_text'] . '</a>';
    		endif;
    	$html .= '</div>';
    endif;
    

    I am having the same problem. I tried adding the code suggested on this post to functions.php – this is supposed to allow all html tags in the excerpt, but it made no difference to the output of RPWE. Can the developer not suggest a solution?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML in excerpts’ is closed to new replies.