This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Ricardo Alday 1 year ago.

Assigned support staff: Ricardo Alday.

Author Posts
October 5, 2018 at 2:56 pm #2791149

dimitarK-2

In the Product page, why the certifications are not showing? Right below the Product Description in the English version there are certifications, these are not showing when i switch to bulgarian version.

Page link: hidden link

Login info here:
https://wpml.org/forums/topic/tab-title-translation-not-available/#post-2786637

Thank you.

October 8, 2018 at 6:05 pm #2797077

Ricardo Alday

Hi,

I've check the theme code and you need to make a couple of changes.
The products do have the taxonomies assigned and the taxonomies have been translated correctly. The problem seems to be in the theme template. In winnis/woocommerce/single-product/product-certifications.php change this line:

<?php $terms = wp_get_post_terms( get_the_ID(), 'product_cer' ); ?>

to this

<?php $terms = wp_get_post_terms( apply_filters('wpml_object_id', get_the_id(), 'product'), 'product_cer' ); ?>

You also need to add the translated taxonomy slugs, titles, and descriptions into the product_cer__get function array.

Hope that helps,
Ricardo

The topic ‘[Closed] Certifications images not showing on translation’ is closed to new replies.