Social Stickers
[resolved] Does this plugin really works inside theme core? (6 posts)

  1. filete
    Posted 3 years ago #

    Hi there,

    I am trying to use Social Stickers inside my core theme files - ex (header.php),
    but it looks the short codes don´t work there. I get nothing....
    just the plain text:

    {$stickers_start} {$sticker_img_32} {$stickers_end}

    I´ve use different ways, inside and outside loop, so something is broken,
    or I am not doing the right way. Would be great to have more instructions on this plugin for custom code.



  2. Boštjan Cigan
    Plugin Author

    Posted 3 years ago #

    You can not use a shortcode outside a post or page, I think.

    $options = get_option('social_stickers_settings');
    // Now depending on if you have a custom HTML output or not
    $stickers_custom = social_stickers_custom_html_show($options);
    $stickers = social_stickers_general_html_show($options);
    // Choose only one of the above to output, this is just an example
    echo $stickers_custom;
    echo $stickers;

    This is it.


  3. worthdesigning
    Posted 3 years ago #

    Further to this ... to get more downloads would be good to provide this in your FAQ.

    I want to put some code in my header area. Where is the documentation on this. A lot of people are not WP experts.

    You have provided a shortcode but no php template code.


  4. Boštjan Cigan
    Plugin Author

    Posted 3 years ago #


    What would you like to have in the documentation? What is missing besides the things that are written in the Other notes section?


  5. worthdesigning
    Posted 3 years ago #

    Hi Bostjan,

    Thanks for the ultra-quick reply!

    You say this on the Installation tab ...
    Add the widget, call the function anywhere in your theme or use a shortcode [social_stickers].

    "Call the function anywhere in your theme". Where's the documentation for this.

    I just installed the plugin and totally don't get it.
    There's not enough documentation about what your plugin does. Besides fry my brain.

  6. blackpr
    Posted 3 years ago #

    Just read the readme.txt at wp-content/plugins/social-stickers

    The function is display_social_stickers()

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Social Stickers
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic