FEATURE REQUEST OR HELP?

Posted in: Newspaper
Post count: 96

Hi, is it possible to have a custom banner on each main category page (at the top header of the page? If so, how do I achieve this? At the moment it si only possible for one main header banner throughout the whole site.

If it is not avbailable then can I would llike to submit this as a feature request?

  • This topic was modified 12 years by VZ.
Post count: 854

hi,

is possible to for each category to have it sown banner but only in the sidebar, not in the top header.
here is how:

1) you need to make a custom ad for each category (take a look at the code that is
in the panel_ads.php)
http://screencast.com/t/IO6n7esj9h8
http://screencast.com/t/WaYX1ZWFSnb

2)then for each category create a custom sidebar (use only latin (english) chars
for the sidebar name) : http://screencast.com/t/VsBytpOZAlJ9

3) the go to the wordpress widget menu : you will find you sidebars there, then
drag the [tagDiv] Ad box on the sidebar widget : http://screencast.com/t/vnLePwnMA

4) from the pull down select you custom created (in step 1) ad spot, and click save:
http://screencast.com/t/TUPv8EtWW

that it.

now you will have each category with his own sidebar and in the sidebar custom ads.

thank you for your suggestion.

Thanks for you message.
Radu A.

Post count: 96

Thank you for your reply. I already know how to make sidebars and create ads for each separate category.

My question is: Is there a way to create individual banner ads for each category in the top header?

If not can you add this for an update? Each of our categories will be different and featuring original content. I want to be able to target ads based around the content of those categories – contextual advertising is more effective than random advertising.

Thanks

Post count: 3343

Hi,
You can make this by customizing the code a little, like:

Adding a condition for each category like here: http://screencast.com/t/C3W68v7p1d1

if (is_category(1)) {
                    echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'custom_ad_1'));
                }

This example: if category ID 1 will show the custom Ad 1 AD.

To add more custom ADs replace this files: http://www.tagdiv.com/theme/users/9-custom-ad.zip

Hope this help!

Post count: 96

Thanks Marius, will this be overwritten in any future updates?

And will you be adding this as a option to future updates?

Also, in that fodler you have one named includes. Is this for wp-incldues or is it for wp-admin/includes?

Thank you

  • This reply was modified 12 years by VZ.
Post count: 854

hi,
if you change the code of the theme there are 2 options:

a) you remain to your current version and don’t update anymore

OR

b) you have to make sure that anytime you update the theme you modify the files of
the new theme with the code that Marius give you.

Thanks for you message.
Radu A.

Post count: 96

Thanks for your reply. I have a better idea – why don’t you add this as a feature. It is useful be able to have more control over ads on a page.

Also, in that folder you have one named includes. Is this for wp-incldues or is it for wp-admin/includes?

Post count: 3343

Hi,
Thanks for the suggestion, we will think about that. We have a long list of stuff and we need to pick what is better for all users.

The theme have an include folder where is stored the theme functionality code and our custom framework.

Thanks for the message!

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.