Hi Bryan,
great idea. Thanks for the suggestion. I will plan this improvement in next release.
regards
GF
I was trying to create shortcode by myself, but i’ve got a problem.
in my theme’s functions.php file i wrote this code
function banner() {
return wp_bannerize('limit=1&before=&after=&container_before=<p style="text-align:center">&container_after=</p>&random=1');
}
add_shortcode('banner', 'banner');
and when i put this shortcode [banner]
in my posts, it appears, but above the content.
And what I need, is to be appeared in exactly that place, where i put this code.
So can you guys help me with that? : )
@landish: Hi, in the next release (2.6.0) I introduced the new shortcode for WP Bannerize:
[wp-bannerize limit="1" random="1"]
How you can see, It possible using the same parameters like php function style:
<?php wp_bannerize("limit=1&random=1) ?>
Thank you very much for suggested
regards
GF
Hi, do yo know how to fix the shortcode banner so that it shows exactly where you put the code? Right now it is always showing at the top of the content.
Many thanks for your help!
VT