Skip Navigation


Overview of the issue

When you add dynamic content in a Divi module that points to a media link (a PDF file, for example) and translate that module, the translated link will not point to the translated media, and it will give 404 error.


We’re working on a permanent fix for this issue. In the meantime, you can follow these steps to get the issue fixed on your website:

  1. Backup your website files and database.
  2. Go to wp-content/themes/Divi/includes/builder/feature/dynamic-content.php
  3. Find:
    $dynamic_content = json_decode( $json, true );
  4. After that line, add:
    if ($dynamic_content != NULL && $dynamic_content['settings']['post_id'] != NULL) {
    		$post_type                              = get_post_type( $dynamic_content["settings"]["post_id"] );
    		$dynamic_content["settings"]["post_id"] = apply_filters( 'wpml_object_id',
    			$dynamic_content['settings']['post_id'], $post_type, true );

Leave a Reply

Please leave here comments about this page only.
For technical support and feature suggestions, head to our forum. We are waiting there!

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>