Support » Plugin: Social Icons Widget » Custom tags not working as documented

  • Resolved jajanowiak

    (@jajanowiak)


    There are bugs in the FAQ section for altering the widget output.

    For the opening and closing tag filters, you are currently ending both code blocks with
    add_filter('social_icon_output', 'social_icons_html_output');

    The opening and closing should actually end with
    add_filter('social_icon_opening_tag', 'social_icon_opening_tag');
    and
    add_filter('social_icon_closing_tag', 'social_icon_closing_tag');
    respectively.

    https://wordpress.org/plugins/social-media-icons-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jajanowiak

    (@jajanowiak)

    Also, the $ul_class variable will break the custom opening tag function unless it is defined somewhere before the function.

    Plugin Author nisbetcreative

    (@nisbetcreative)

    Thanks for the catch on that! Funny how I never noticed what I did.

    I’ll get it updating to correctly working code 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom tags not working as documented’ is closed to new replies.