• Hi everybody.

    I know that it looks like I’m lazy but I just can’t understand it by myself. Sorry for that. I’m just a noob for now.

    If it is possible, please, give me an example how to add this exact string to Polylang, so that I can translate it.

    <div class="proplist"><span>Price</span> <span class="propval"> <?php $price=get_post_meta($post->ID, 'wtf_price', true); echo $price; ?></span></div>

    I think that I need to use pll_register_string and then echo pll__, but I don’t understand how to use them the right way.
    All I need is an example how to use them with this exact string. I tried to read the documentation but I just can’t understand.

    Thanks in advance.

  • The topic ‘Polylang – How to add exact string. Need example.’ is closed to new replies.