We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Polaroid images on the left Reply To: Polaroid images on the left

#13274
Tom
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">&ensp;►►►</a>',
            get_permalink()
        );
    }

    return $excerpt;
} );