Support » Plugin: Social Media Icons Widget » [Plugin: Social Media Icons Widget] [feature request]

  • Resolved cwendt01


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author arstropica


    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.

    Plugin Author arstropica


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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Social Media Icons Widget] [feature request]’ is closed to new replies.