Support » Plugin: AddToAny Share Buttons » Short URL in widget

  • Resolved hatschiii

    (@hatschiii)


    If I click on a share button for example on the bottom of an article the short URL (http://j.mp/2h…) will be used.

    If I use the addtoany share widget the full URL will be used.

    If I use a text widget and place [addtoany] the short URL will be used but the textbox has a light grey background and a padding.

    How can I change that the addtoany share widget will use the short URL?

    • This topic was modified 6 months ago by  hatschiii.
    • This topic was modified 6 months ago by  hatschiii.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Anyone an idea?

    Think this should be possible to fix.

    try and error sometimes works…

    I have changed:

    ADDTOANY_SHARE_SAVE_KIT( array(
    "use_current_page" => true,

    to

    ADDTOANY_SHARE_SAVE_KIT( array(
    /** "use_current_page" => true, */

    within the addtoany.widget.php

    Within the widget shown on the blog start page (page with all blog post listed) it will be used the full url. If I click on a blog post then the short URL will be used in the widget.

    • This reply was modified 5 months, 4 weeks ago by  hatschiii.
    • This reply was modified 5 months, 4 weeks ago by  hatschiii.
    • This reply was modified 5 months, 4 weeks ago by  hatschiii.

    Don’t understand why this is only partly working.

    Now the short URL will be used on the blog start page, but it will not be used the right page… it will be used one article instead of the start / overview page.

    • This reply was modified 5 months, 4 weeks ago by  hatschiii.
    • This reply was modified 5 months, 4 weeks ago by  hatschiii.

    Need realy help !!

    Plugin Author micropat

    (@micropat)

    If you’re using Bitly (guessing, based on the j.mp domain you posted), setup your Bitly account as the link shortener document shows:

    https://www.addtoany.com/buttons/customize/wordpress/link_tracking

    Example:

    a2a_config.track_links = 'bitly';
    a2a_config.track_links_key = 'addtoany|R_cc6a4017b0274d1d86f2397771b70136';

    In the example, replace addtoany with your Bitly username, and R_cc6a4017b0274d1d86f2397771b70136 with your Bitly API key.

    If you still need help, post the URL to your site so folks here can understand your implementation.

    Sometimes so easy…

    Just wondering that the share buttons in the footer of an article are working with the short url without adding this addidtional code while the widget needs ist.
    This was irritating me.

    However, it’s working now… THANKS !!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.