Skip Navigation


Overview of the issue

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


  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”