WordPress.org

Ready to get started?Download WordPress

Forums

WP About Author
[resolved] Social Media Links create double http:// (5 posts)

  1. jasonpaulweber
    Member
    Posted 1 year ago #

    When entering the social media URL, for instance, if I try:

    http://www.facebook.com/jasonpaulweber

    Then the html output for that social icon link is:

    http://www.facebook.com/http://www.facebook.com/jasonpaulweber

    So naturally, you'd think that if I just put in my FB name, like this:

    jasonpaulweber

    The URL would work. But this plugin puts a http:// before whatever name I put, so the resulting link is:

    http://jasonpaulweber

    Any ideas on how to fix this, so I can link properly to FB, YouTube, Linkedin, etc.?

    http://wordpress.org/extend/plugins/wp-about-author/

  2. erfanik
    Member
    Posted 1 year ago #

    I had the same problem! But then I decided to edit the plugin myself and found a fix for it.

    1. Go to your installed plugins.
    2. Find WP About Author.
    3. Edit the plugin (it says "edit" under its name.)
    4. You'll see a list of files on the right side of the screen. Choose "wp-about-author/wp-about-author.php"
    5. Look for this line in there:

    $socials['facebook'] = array('title'=>'Facebook', 'link'=>'http://www.facebook.com/%%username%%', 'icon'=> WPAUTHORURL_URL .'/images/facebook.png');

    6. You can remove "http://www.facebook.com" and then you will have to put the whole url in your profile back in wordpress users section.

    hope it helps.

  3. jasonpaulweber
    Member
    Posted 1 year ago #

    Perfect solution, Erfanik -- works excellent now! Thank you for taking the time to offer some clear instructions.

    Example: http://www.occupyhln.org/prosecutorial-misconduct/rehberg-v-paulk-absolute-immunity-is-wrong/

    Again, thanks for taking the time to help; appreciate it!

  4. erfanik
    Member
    Posted 1 year ago #

    Your'e welcome Jason!

    I just posted a review about this plugin in my blog. Well its not really a review but its more like nagging about how this plugin doesnt work all by itself haha.

    http://blog.erfanik.com/wordpress-plugin-review-wp-about-author/

  5. jasonpaulweber
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic