Skip Navigation

Open

Reported for: WPML Multilingual CMS 4.5.14

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' ] );	
    }
    

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>