• Resolved kpax171

    (@kpax171)


    Hello,

    How do I set the locale on po.st plugin for WP?

    Because on the manual code installation (without a plugin) I can set it like:

    var pwidget_config = {
    publisherKey:”xxxx”,
    locale:”Pt-BR”
    };

    However, on the ready-made plugin, I couldn’t find a place to configure the locale, the the po.st menu is in English and not on my website’s language (pt-br).

    Thanks in advance.

    https://wordpress.org/plugins/post/

Viewing 1 replies (of 1 total)
  • Plugin Author Po.st

    (@post-1)

    Greetings kpax171,

    if you want to work strictly within the confines of the plugin you can navigate to the settings –> Po.st page inside of the WP dashboard and then select the custom code link next to design settings. Inside of the box you can place the following

    <script type="text/javascript>
         var pwidget_config={
               publisherKey:"yourPublisherKey",
               local:"Pt-BR"
         };
    </script>
    
    <div class="pwidget pw-other-options">
          <a class="pw-button-yourChoice"></a>
    </div>

    http://support.po.st/hc/en-us/articles/200279567-Po-st-Integration-Guide

    If you like the ease of using the plugin options and just want to add the locale option you could add the same script section above directly into the head section of your template and as the page loads the Po.st widget will find the variable and make the adjustment on page load.

    Let me know if you have any additional questions or need further assistance.

    Best Regards,

    Po.st Support

Viewing 1 replies (of 1 total)
  • The topic ‘How do I set the locale on po.st plugin?’ is closed to new replies.