WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Does this plugin really works inside theme core?

[Resolved] Does this plugin really works inside theme core?

  • 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.

    Thanks.

    http://wordpress.org/extend/plugins/social-stickers/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Boštjan Cigan

    @zerocool51

    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.

    Cheers.

    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.

    Cheers

    Plugin Author Boštjan Cigan

    @zerocool51

    Noted.

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

    Cheers.

    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.

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

    The function is display_social_stickers()

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Does this plugin really works inside theme core?’ is closed to new replies.