We have a lot of Portfolio Meta Fields defined.
Now, we want to remove one, but only removes the name, associated value is asigned to the next field….
If I remove Surname field….
Another cuestion, is possible to reordes this fields?
How can we solve this?
No, unfortunately it’s not possible to reorder the fields. However Coherence will not display empty meta fields on the portfolio page and you can simply leave the field empty if you don’t want to show it.
We have a lot of Portfolio Meta Fields defined and need to translate with WPML, but the fields aren’t duplicate from the original language.
Is there any way to automatically copy the meta data fields to other languages?
Thank you for using the theme.
I think you need to translate the meta fields manually but please try this workaround. Edit functions.php, find this code on line 261:
$output .= "<li><strong class='portfolio-meta-key'>".$key['meta'].":</strong> <div class='portfolio-meta-value'>".$p_metas[$counter]."</div></li>";
Replace it with:
$output .= "<li><strong class='portfolio-meta-key'>".__($key['meta'],'avia_framework').":</strong> <div class='portfolio-meta-value'>".__($p_metas[$counter],'avia_framework')."</div></li>";
Use this plugin to translate the strings: https://wordpress.org/plugins/codestyling-localization/
You must be logged in to reply to this topic.