WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] Use custom URL shortener for Publicize

[Resolved] Use custom URL shortener for Publicize

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    @jeherve

    If you use a plugin like WP Bit.ly or YOURLS to customize shortlinks on your site, Publicize will use your custom short URLs.

    If you want to add these shortlinks to the sharing buttons, you can use this plugin:
    http://wordpress.org/extend/plugins/jetpack-shortlinks-for-sharing-buttons/

    But there is no custom URL plugin for CoinURL. However, I do have a PHP code snippet that changes all URLs on a page to CoinURL links, and an API. Will this help?

    Plugin Author Jeremy Herve

    @jeherve

    The API should allow you to create a small plugin that will generate a short URL for each post, and hook into the get_shortlink filter. All WordPress shortlinks will then be replaced by your own custom shortlinks.

    You can have a look at the code of the 2 plugins I mentioned to get an idea of how to implement this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Use custom URL shortener for Publicize’ is closed to new replies.
Skip to toolbar