Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Waqar Ali 1 year, 1 month ago.

Assisted by: Waqar Ali.

Author Posts
March 8, 2024 at 1:31 pm #15389431

heatherP-3

Hi Waqar

Thank you so much. I have now been able to adjust that on the Drivers page.

Can I just ask one more thing please. How would I adjust the Read More on the Latest News section on the Home page. I was hoping it would be achieved in the same way, ie, writing READ MORE in capitals in the settings but unfortunately it's still not showing up in the translation editor.

hidden link

Thank you again for everything.

Best wishes

Heather

March 8, 2024 at 1:40 pm #15389503

Waqar Ali

Hi Heather,

For the read-more text in the Divi Blog Carousel, I found that the way it is coded in the plugin's file, it is not translatable through the usual functions of WPML.

As a temporary fix, you can follow these steps:

At line# 1335, in file /wp-content/plugins/dg-blog-carousel/includes/modules/DGbc_BlogCarousel/DGbc_BlogCarousel.php, you'll find this code:

$args['read_more_text'],

You can replace it with:

esc_html__( $args['read_more_text'], 'et_builder' ),

After making this change and visiting the front-end home page, you'll see the text that you've set in the 'Read More Button Text' field of the Divi Blog Carousel widget, will become available for translation at WP Admin -> WPML -> String Translations.

For a permanent/long-term fix, you can get in touch with the official support of the 'Divi Blog Carousel' plugin and inform them about this incompatibility and this suggested code change so that it can be included in their future release.

regards,
Waqar