Anonymous User 9905372
(@anonymized-9905372)
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
Anonymous User 9905372
(@anonymized-9905372)
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()