Home › Forums › Pro Support › Polaroid images on the left › Reply To: Polaroid images on the left
February 7, 2020 at 6:56 pm
#13274
Keymaster
Hi there,
That code is just an example of what you’d need to do.
Try this:
add_filter( 'get_the_excerpt', function( $excerpt ) {
if ( has_excerpt( get_the_ID() ) ) {
$excerpt .= sprintf(
'...<a href="%1$s"> ►►►</a>',
get_permalink()
);
}
return $excerpt;
} );