• Resolved simple5imon

    (@simple5imon)


    Hey there
    Firstly, this plugin is fantastic! It’s VERY easy to use so I’m very impressed! Thank you.

    Please see the image – https://ibb.co/2MPj0ZV
    My concern is regarding number 1 on the image. I’m currently making a website for my Mrs and I would like to change the text on the button which is currently set as ‘Read more’ when there’s no more of this item in stock. So really, I’d like to change this to ‘Our of Stock’. I know it’s possible, I’m just having trouble finding the file!
    Can anyone help please?

    Thank you
    Simon ??

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author moreconvert

    (@moreconvert)

    Hi Simon,
    Thank you so much for the kind words! I’m glad that you’re enjoying this plugin!

    To customize the “Read More” or “Select Options” button text, all you need to do is insert the following snippets of code into your functions.php file (head over to the Appearance > Theme Editor console and locate the functions.php file):

    add_filter( 'wlfmc_read_more_text', function() {
    return 'custom text';
    });

    add_filter( 'wlfmc_select_options_text', function() {
    return 'custom text';
    });

    Then, replace “custom text” with your desired text.

    Let me know if this solves your problem.

    Thread Starter simple5imon

    (@simple5imon)

    Hey moreconvert

    Thank you very much for such a quick reply.

    I’ve added the code you mentioned but it didn’t work. I cleared the cache on my browser and at the host but still it didn’t work.

    Your help is much appreciated ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Button Label (text)’ is closed to new replies.