Like this plugin very much.
Also like, that the banners can show up in a widget after categories.
I like my banners show up in the sidebar after keywords or tags of my post.
How do I do that? Is there any shortcode?
Like this plugin very much.
Also like, that the banners can show up in a widget after categories.
I like my banners show up in the sidebar after keywords or tags of my post.
How do I do that? Is there any shortcode?
Hi,
with the current version only category can be choose in the widget panel.
No shortcode is support for tags now.
However, you can use php for filter via tag.
For example, you can use:
if( is_tag('foo') ) {
if( function_exists('wp_bannerize') {
wp_bannerize();
}
}
In the next major release of "WP Bannerize" we will add several new feature and the banners will be as a post, in order to apply filters for category and tags.
Stay tuned
regards
GF
Thx... sounds good. :-) Where do I have to put the code? Can I use a textwidget?
...and how does the code has to look like, if I want to put in more than one tag?
Hi, you can use a PHP Widget instead, or you can insert the code into sidebar.php file in your theme folder.
To checking more tags, you could using:
$tags = array('tags1', 'tags2', 'tags3');
foreach($tags as $tag) {
if( is_tag( $tag ) ) {
if( function_exists('wp_bannerize') {
wp_bannerize();
break;
}
}
}Is this possible with pages too?
You must log in to post.