• Resolved monsieurbaron

    (@monsieurbaron)


    Hello,

    I’ve some minor troubles with this plugin.
    I originally installed another social medi plugin. But it didn’t suit my needs. So I’ve switched to yours.
    I’ve installed it, configured it and used the function calling in my php code ( <?php display_social_stickers(); ?> )
    It was working really well, so I was happy. But i’ve noticed that the precedent plugin wasn’t shut down. And when I did it a prompt has appeared on top of my social icons :

    Warning: Missing argument 1 for display_social_stickers(), called in /homez.322/lescroc/www/wp-content/themes/sideswipe/header.php on line 110 and defined in /homez.322/lescroc/www/wp-content/plugins/social-stickers/social-stickers.php on line 812

    When I reactivate the other social media plugin, the prompt disappears and everything’s alright.

    Can you figure out why ?

    Best regards.

    https://www.ads-software.com/extend/plugins/social-stickers/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anonymous User 9905372

    (@anonymized-9905372)

    It is meant to be used as a widget. If your theme does not have widget support, then use the following to call it:

    <?php display_social_stickers(false); ?>

    This should solve the problems with the missing argument.

    It seems I forgot to update the readme instructions for the users that use it in non-widget mode ??

    Thread Starter monsieurbaron

    (@monsieurbaron)

    It works !! Thank you so much ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: Missing argument 1 for display_social_stickers(),’ is closed to new replies.