[resolved] Social Media URLS to show permalinks (3 posts)

  1. Melissa3
    Posted 3 years ago #

    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! :D

  2. Stefan Brechbuehl
    Theme Author

    Posted 3 years ago #

    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

  3. Melissa3
    Posted 3 years ago #

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

    appreciate the help

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.