Hello, after updating to WP 3.9, Enfold 2.7, WPML 3.1.5, all the portfolio items translated into Spanish doesn’t work.
I contacted WPML support team and the asked me to send them the following:
Can you check where in your code this CPT is defined and paste it here?
We’ll need to see:
* The actual CPT declaration
* Where, in the init process it’s called
add_action( 'init', 'create_post_type' );
function create_post_type() {
register_post_type( 'acme_product',
array(
'labels' => array(
'name' => __( 'Products' ),
'singular_name' => __( 'Product' )
),
'public' => true,
'has_archive' => true,
)
);
}
The function
The function and the init hook may not be so close together. We need to see both, to verify that this CPT is defined correctly.
Can you tell me where to find this or if the translation is a theme issue?
Thanks in advance.
Hi Jorge!
The portfolio post type is defined in wp-content/themes/enfold/includes/admin/register-portfolio.php. I’m pretty sure it’s not the cause of your issue though because we didn’t change this code since Enfold 1.6 and the most recent WP version was 3.7. However let’s wait for the WPML support staff answer.
Cheers!
Peter