Site logo

Archived topic

Double "read more label"

5 replies · Started by piotr on April 17, 2020

Viewing posts 1–6 of 6

I have added a "read more label" (more..) in the customizer which is also displayed on the blog page.

On the Frontpage I added a "Post Grid" using a gutenberg addon (Ultimate Addons for Gutenberg) which adds a button (read more..). Now both "read more labels" (more and read more) appear there.

How can I remove the label "more" on the Frontpage?

Hmmm... not sure - you can try this PHP snippet:

add_filter( 'option_generate_blog_settings', function( $options ) {
    if ( is_front_page() ) {
        $options['read_more'] = '';
    }
  
    return $options;
} );

sorry for the late reply.
unfortunately it does not work with this php snippet.

another idea?

Now it works.
Thanks so much for that.

You're welcome :)

This archived topic is closed to new replies.