WordPress.org

Support

Support » Plugins and Hacks » Share Buttons by AddThis » addthis_config / addthis_share values does not work (format?)

addthis_config / addthis_share values does not work (format?)

  • Dear developers,

    I wonder what is the format of addthis_config/addthis_share vlaues?

    So far I use JavaScript in the footer with

    var addthis_config = {
            ui_click: true,
         };
    
    var addthis_share = {
       templates : {
          twitter : "{{title}} {{url}} (via @myname)"
       }
    }

    It’s written at admin page that config/share values should be in JSON format, yet at least this does not work in addthis_config field:

    "ui_click": "true"

    Could you please provide examples on what should be entered in these fields?

    http://wordpress.org/extend/plugins/addthis/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I agree, the documentation for the plugin and on the AddThis site is terrible. It is not unified at all.

    This example below will work… with the curly brackets it’s in json format…

    { “ui_click”: “true” }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘addthis_config / addthis_share values does not work (format?)’ is closed to new replies.
Skip to toolbar