WordPress.org

Forums

Social Media Icons Widget
[resolved] [feature request] (3 posts)

  1. cwendt01
    Member
    Posted 2 years ago #

    I would like to be able to order the social media icons in any order I want, not just the default alphabetical.

    I don't except this to be added to the widget right away, but could you advise how I could update the PHP now to get it how I want? I'm fairly familiar with editing plugins, so I wouldn't mind doing that in the meantime.

    Thank you!
    - C.

    http://wordpress.org/extend/plugins/social-media-icons/

  2. arstropica
    Member
    Plugin Author

    Posted 2 years ago #

    cwendt01,
    The sort order is handled by the glob function. You would have to capture the output from that function call in an array variable, sort the array the way you want and then use the sorted array in the foreach statement on the next line.

  3. arstropica
    Member
    Plugin Author

    Posted 2 years ago #

    Version 1.2.3 now has drag and drop sorting in the widget settings.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Social Media Icons Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.