WordPress.org

Support

Support » Themes and Templates » [Resolved] Social Media URLS to show permalinks

[Resolved] Social Media URLS to show permalinks

  • I haven’t updated to the newest version yet (haven’t had time) but I did want to know if there’s a way to change how the URLS are displayed when using the social media buttons without upgrading to the latest theme version.

    Right now they link to the shorturl (blah.com/?p=111) but would prefer the full link (blah.com/crazy-cat-dancing) or something to that effect.

    Sorry if it’s an obvious and I missed it!

    Thanks for a great theme! 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Stefan Brechbuehl
    Participant

    @pixelstrolch

    Hi Melissa

    I used the WP shortlink just for the Twitter button because of the limited number of characters. Google+ and Facebook use the normal permalink.

    If you really wanna change that, you have to customize the template files. Look for the div container share-on-twitter and change wp_get_shortlink(); to get_permalink();

    At previous version you’ll find the container at the template files content-single and content-page. At following versions you’ll have to change the template file content as well.

    Maybe you’re able to give me good reasons to change that for everyone.

    Cheers Stefan

    ah ok, didn’t think about the twitter character length..
    sorry..

    appreciate the help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Social Media URLS to show permalinks’ is closed to new replies.