Top Ads Changes

Posted in: Newspaper
Post count: 16

hi

I was wondering if this scenario is possible or easy to implement.

one of my colleague asked if its possible to change the top ads beside the logo(our case banner) to different one depend on the page.

so we add more than one banner to the top ads and assign each one to different pages or menus.

please let me know if its possible or easy to do.

thanks

Post count: 3343

Hello,
This could be possible somehow, you have to edit the header file is here: http://screencast.com/t/suPTCma2

and use something like

if(is_page(42)) {
   your ad for the page ID 42
}  
if(is_page(43)) {
   your ad for the page ID 43
} 

The same you can use for categories, posts individual using is_category('9'); and is_single('17');

Thanks for the message!

Post count: 16

hi

thanks for the tip.

will give it a go.
thx

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.