Skip Navigation

Open

Topic Tags: Compatibility

Overview of the issue

If you are using the Bricks theme and the Advanced Translation Editor (ATE), you may encounter that some translations do not display on the frontend.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open …/wp-content/themes/bricks/includes/ajax.php file.
  • Look for line 1233.
  • Replace:
    if ( $is_bricks_postmeta && ! Capabilities::current_user_can_use_builder( $object_id ) ) {
    	return false;
    }
    
  • With:
    if ( $is_bricks_postmeta && ! Capabilities::current_user_can_use_builder( $object_id ) ) {
    
    	// WPML Workaround for compsupp-7377
    	if ( class_exists("Sitepress") ) {
    		return $check;
    	}
    
    	return false;
    }
    

4 Responses to “Bricks Theme - Translated Content Not Showing on Frontend”

    • Hello there,
      We have been actively working with the author. This issue should be solved soon.
      We will keep this erratum updated.

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>