Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Help with Changing “Read More” Button in Connections Theme

  • Hello,

    I am currently using the Connections theme. As shown in the image, I would like to change the name of the “Read More” button in the Shop menu.

    I have already checked both the Appearance settings and WooCommerce settings, but I couldn’t find any option to modify it.

    Could you please guide me on where I can make this change?

    Thank you for your help.

    https://postimg.cc/5XCc9G6m

  • Hi there,

    the text of the button is set by Woocommerce.
    You can use this PHP Snippet to change it:

    
    add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) {
        if ( 'Read more' == $text ) {
            $text = __( 'Your text here', 'woocommerce' );
        }
    
        return $text;
    } );
    
  • Oh.. Thank you very much. I’ll try. 🙂

  • You’re welcome

  • I also need to change the “read more” text. I am using this snippet, and it sort of works, but only after re-loading the page. On the initial page load, the text still says Read More. Strange. Thoughts?

  • Can you open a new topic and link us to the page in question?

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.