Open

Symptoms

When a portfolio is duplicated in another language the breadcrumb hierarchy of the parent page (breadcrumb_parent custom field) is neither copied nor translated.

Workaround

  1. Set breadcrumb_parent custom field to be copied. By navigating to WPML > Translation Managment > go to the Multilingual Content Setup tab and scroll down to the “Custom fields translation” section > choose “Copy from original to translation”.set the breadcrumb_parent custom field to be copied
  2. In your theme directory, follow this path and open the file (/enfold/framework/php/class-breadcrumb.php). Add the code below:
$post_id = apply_filters('wpml_object_id' , $post_id, 'page' , true);

Just before this line:

$page = get_page( $post_id );

One Response to “Enfold theme portfolio breadcrumbs not copied/translated”

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>