WordPress.org

Support

Support » Plugins and Hacks » AddToAny Share Buttons » [Resolved] Change part of URL being shared

[Resolved] Change part of URL being shared

  • llazarus

    @llazarus

    Is it possible to change the base part of an URL being shared?

    For example:

    http://lazworks.azurewebsites.net/2013/12/06/microsoft-publishes-guidelines-for-apps-to-use-skydrive/

    Change the lazworks.azurewebsites.net portion to www.lazworks.net

    http://wordpress.org/plugins/add-to-any/

Viewing 1 replies (of 1 total)
  • Plugin Author micropat

    @micropat

    Changing your WordPress site URL is most ideal and definitely the preferred option because your visitors will sometimes copy & paste the current URL to share your content anyway.

    An alternative would be to manually hardcode the sharing plugin’s template code into your theme. Check out the FAQ:
    http://wordpress.org/plugins/add-to-any/faq/

    For example, your theme’s author could help you customize and place the following template code for your site:

    <?php if( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) {
        ADDTOANY_SHARE_SAVE_KIT( array("linkname" => "Example Page Title", "linkurl" => "http://www.lazworks.net/2013/12/06/microsoft-publishes-guidelines-for-apps-to-use-skydrive/") );
    } ?>

    Again, changing WordPress’ site URL is the better way.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Change part of URL being shared’ is closed to new replies.
Skip to toolbar