WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Melissa3
    Member
    Posted 1 year 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. pixelstrolch
    Member
    Theme Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

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

    appreciate the help

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.