Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Specific Banners on Specific Pages

$
0
0

Replies: 0

I was using the old version of bannerize and used this code:

<?php if(is_category( ’11’ ) || (is_single() && in_category(’11’))) {
if(function_exists( ‘wp_bannerize’ ))
wp_bannerize( ‘group=QOTW Leaderboard&categories=11&random=1&limit=1&before=<div>&after=</div>’ );
} else {
if(function_exists( ‘wp_bannerize’ ))
wp_bannerize( ‘group=leaderboard&random=1&limit=1&before=<div>&after=</div>’ );
}
?>

to have my header banners display specific to the page/category. How do I convert that to your new code?


Viewing all articles
Browse latest Browse all 59525

Trending Articles