WordPress.org

Ready to get started?Download WordPress

Forums

Hupso Share Buttons for Twitter, Facebook & Google+
[resolved] Is it possible to display Facebook icon first (3 posts)

  1. svajus
    Member
    Posted 1 year ago #

    Is it possible to display Facebook icon first (before the Twitter icon) thanks.

    http://wordpress.org/extend/plugins/hupso-share-buttons-for-twitter-facebook-google/

  2. kasal
    Member
    Plugin Author

    Posted 1 year ago #

    No, it is not possible.

  3. zennermp
    Member
    Posted 7 months ago #

    Insert this snippet of jQuery into a custom javascript file. Have it run on page load. This will move the Facebook link before whatever icon is directly to the left of it. If you want to move it even farther to the left, add more .prev() 's to the end of the second line. This is a technical solution which will require some knowledge of jQuery, but it does work for customizing the order of your links without hacking the plugin.

    jQuery('img[title="Facebook"]').each(function(index, val) {
    var previous = jQuery(val).parent().prev();
    jQuery(val).parent().insertBefore(previous);
    });

    You may want to get more specific with the top line ('img[title="Facebook"]') in case there is a fear of accidentally targeting something else in the post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.