Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #281573

    Hi;

    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….

    For example:
    Name->John
    Surname->White
    Address->Well Street
    Telephone->8378299

    If I remove Surname field….
    Name->John
    Address->White
    Telephone->Well Street

    Any help?

    Another cuestion, is possible to reordes this fields?

    Thanks!!

    How can we solve this?

    #281906

    Hey adaki!

    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.

    Best regards,
    Peter

    #319688

    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?

    Thanks.
    Joana.

    #324725

    Hey!

    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/

    Cheers!
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.