WPML
Status
Waiting for author
Reported for
WPML Multilingual CMS 4.5.14
Related plugin/theme
Divi
Topic tags
Compatibility

Overview of the issue

When using WPML Sticky Links with Divi theme builder, internal links aren’t converted automatically. Instead, you will see links in a www.domain.com/?page_id=your-id format.

Workaround

Be sure to make a full backup of you site before proceeding.


  1. Open the …/wp-content/themes/Divi/includes/builder/core.php file.

  2. Add the following snippet after line 36:
    // WPML Workaround for Sticky links
    if ( class_exists('WPML_Sticky_Links') ) {
    	$sticky_links = new WPML_Sticky_Links();    
    	add_filter( 'et_builder_render_layout', [ $sticky_links, 'show_permalinks' ] );	
    }

All known issues →