How to provide a banner placeholder fallback
-
Hey, it would be helpful if there was some kind of fallback placeholder banner that could be specified via a hook within the
WPBannerizePost::find
method.The way I’m using the plugin is via the following shortcode
[wp_bannerize_pro orderby="random" categories="top"]
, if the category ‘top’ (in this instance) returns no posts, then nothing is displayed when it would be ideal to display a placeholder ‘Your Ad Here’ banner.The current workaround is to ensure that all categories always have ads and therefore, create an ‘Your Ad Here’ banner.
Problem is, this specific placeholder banner shouldn’t display unless no other banners are found in that category.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to provide a banner placeholder fallback’ is closed to new replies.