kukiko
Forum Replies Created
-
Hi Wordplus Team,
Has this option been released in the meantime?
We found a different solution.
We made a custom taxonomy in WCK attached to the custom post type and used that instead of the field type ‘select’.
Then it was possible to translate the taxonomy with WPML. But still the translation didn’t go automatically.
In the php we used the following code to make sure the translated taxonomy was shown:<?php
$name = “upload”;
$my_document_url = wp_get_attachment_url( get_post_meta($current_post_id, $name, true) );
$terms = get_the_terms( $current_post_id, ‘status’ );
$term_tax_id = $terms[0]->term_taxonomy_id;
$trid = apply_filters( ‘wpml_element_trid’, NULL, $term_tax_id, ‘tax_status’ );
$translations = apply_filters( ‘wpml_get_element_translations’, NULL, $trid, ‘tax_status’ );
$my_current_lang = apply_filters( ‘wpml_current_language’, NULL );
$status = $translations[$my_current_lang]->name;
if ($my_document_url) {
echo “$status“;
}
else {
echo $status;
}
?>Ok, thanks Madalina.
Hi Alexandru
Today I checked again and the metabox showed up. But if I change or add fields, it’s not changing. Can it be a cache problem?
Saludo
RianneHi Alexandru, thanks for your answer.
The version is 2.3.1saludo
RianneForum: Plugins
In reply to: [WooCommerce] missing countries in Woocommerce shipping zonesHi Claudio, thanks for your quick response.
But I don’t have Curacao either. Please see screenshot:https://www.outoftheblueshop.com/files/2016/01/no-curacao.jpg