WordPress.org

Ready to get started?Download WordPress

Forums

Social Media Widget
[resolved] What about add 24px icons? (8 posts)

  1. Maurizio Zani
    Member
    Posted 1 year ago #

  2. Blink Web Effects
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin is already very large so adding more images isn't really practical (already some people can't install from their dashboard because of limitations of cheap web hosts). I am however looking into a way to satisfy users looking for different icon sizes.

  3. deko-lt
    Member
    Posted 1 year ago #

    I agree about 24px icons. A lot of people use custom icons, so maybe adding more images to plugin isn't required. Just ability to output 24px scale.
    Thank you.

  4. jberg1
    Member
    Posted 1 year ago #

    I am using custom icons that are 24px and I defined their URL/path under Custom services.

    I just added an option to the dropdown on the social-widget.php file under "Choose Icon Size: Dropdown"
    <option value="24" <?php if($instance['icon_size'] == '24') { echo 'selected'; } ?>>24px</option>

    A hack fix I know, but...
    But what might be nice is to have a "Custom" choice in the Icon Size: Dropdown and then offer a free form text input to define that custom size - like 24. I tried to attempt adding it but my PHP skills are too limited.

  5. Blink Web Effects
    Member
    Plugin Author

    Posted 1 year ago #

    Don't worry this is ready for the next update planned to be released in the next day or two. Thanks.

  6. deko-lt
    Member
    Posted 1 year ago #

    Awesome, works perfectly. Thank you so much!

  7. jberg1
    Member
    Posted 1 year ago #

    Nice! Thanks for the update.

  8. Blink Web Effects
    Member
    Plugin Author

    Posted 1 year ago #

    No problem, enjoy!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.