Sidebar ads

Posted in: Newspaper
Post count: 67

Hello,
We have just bought your theme and we are trying to understand how your ad system works.
We need to include 8 different ads in the sidebar. How can we do this?
Thank you in advance.
Monica.

Post count: 6600

Hi,

You can add your ad in the sidebar using tagdiv Ad box and create sidebars and add a different ad to it, like this: http://screencast.com/t/2SEDtzRUjk
You can add more custom ad boxes like this:

Replace the code in this file: http://screencast.com/t/TZAvs1zMKv0o with this: http://pastebin.com/41bryHb5
Also replace the code from this file: http://screencast.com/t/BtPbmCYkOo with this one: http://pastebin.com/Q4qeDkff

Should work like this: http://screencast.com/t/zgYiKkOEGu

Thanks

Post count: 67

OK. So doing that, cand we add 8 different sidebar ads to the same page?

Post count: 6600

Hi,

I haven’t tested it but it could work, you can try, it won’t work if you use google ads because they only allow 3 ads on page.

Thanks

Post count: 67

Hello Lucian,

I’m runnig short with the ad boxes. Please, could you provide me the code to have 20 different ad boxes? I will share theme between sidebar and blocks.
Thank you again.
Monica.

Post count: 67

And the last one: How can I change the name of the ads (custom ad, sidebar, article top…)?

Thank you again.

Post count: 6600

Hi,

You can add more custom ad boxes yourself, just add this code: http://pastebin.com/eE0vT2nS in the panel_ads.php file like this: http://screencast.com/t/fOOK9pAR
After this you have to add the new custom ad box 10 by adding this code 'custom_ad_10' => 'custom_ad_10' to td_ad_box.php file like this: http://screencast.com/t/b8vmsp90
After this the new ad box will appear in theme panel: http://screencast.com/t/P6HzgMHq
You can change the name for each ad box from here: http://screencast.com/t/Ve67ivE1h39B
Go over the code for the other ads that already work and take a look at what it changed if you can’t managed to get it to work.
Use the same method to add others ad boxes.

Thanks

Post count: 67

Hello Lucian,

I understand that with every update, we should repeat all these instructions again an again, don`t we?

It could be possible to add this freedom of adding custom ads in a new version of the theme? Remember that ads are the source of income of the online newspaper, and not always they work with Google Ads.

Thank you.

Post count: 9544

You can also use an ad management plugin for more complex layouts, since ad management platforms for WordPress support placing ads in all widget locations, doing rotation, tracking, etc.; and you can add any additional widgets by specifying those in the functions.php file and dropping the widget location into your template(s).

Post count: 9

Hello @Lucian How can i close all the spaces on the home page..You can see my home page here http://www.latestnaija.com.

2. How can i add the Letterboard ad on the home page as in the demo?

  • This reply was modified 11 years by Mr C.
  • This reply was modified 11 years by Mr C.
Post count: 6600

Hi,

@Mr C
1. Please follow this topic, should find there the css you need to remove the white spaces on page: https://forum.tagdiv.com/topic/remove-white-space-between-blocks/#post-21229

2. I have checked your site and seems like you managed to add the leaderboard ad: http://screencast.com/t/IO5XkA7ki5N6
Please let me know if did refer to something else.


@monicacortes

Depends on the method you chose to update your theme. For example if you update using a patch you can check the changed files log and if changes haven’t been made to those files should work. Still the best way to update your theme is to make a back-up of your current theme and then update and overwrite the files via FTP so you would have to do the changes once again.
We will consider this though, and if more people request this we will try to implement it in future updates.

Thanks for the message!

Post count: 67

Hi Christopher,

Could you recommend us some plugin to do this? We need more than 15 banners in our site, and just 1 of them is a Google Adsense banner. The rest of them are image banner locally administrated.

As you can understand, it is terrible to modify the core files of the theme to allow 15 banners in every update.

Thank you in advance.

Juan.

Post count: 9544

@monicacortes
Hi, I can’t recommend any one specifically; however a couple of the commercial ones are quite good. We have an in house system that does rotation and uses simple widget areas, so easy to plop on sidebars, and custom sidebars if needed.

Often you can install one of or more and see which you like, and then delete the ones you dislike.

If you have a large site with big traffic,
Google DFP is popular.

Simple Ads Manager is popular, and free.

BuySellAds(PRO) is being used by a friend of mine and is quite happy. We looked at that, but we had simpler needs.

OIO Publisher is being used by several WordPress “how to use WordPress” sites like WPBeginner.

AdRotate is the stepchild of the same code we use for our own in house system, which is effectively a simple rotation system with shortcode support and widget support for ad “spaces” with unlimited number of ad units and types “per space.”

I’d start by looking at those. 🙂

Post count: 67

Hi Christopher,

Thank you very much.

Regards.

Post count: 67

Just one question, maybe a fool question.

For using sidebar banners, we have to add a code with 3 images for every screen format, another code to link the URL, add customized ad boxes, etc. It’s not precisably comfortable and it requires a lot of code actions.

What is the difference of doing this or using plugins like these to insert the ad banners in the sidebar?

https://wordpress.org/plugins/black-studio-tinymce-widget/

https://wordpress.org/plugins/responsive-image-widget/

https://wordpress.org/plugins/hw-image-widget/

Thank you in advance.

Juan.

Post count: 6600

Hi,

Regarding adding sidebar banners you are right, you need to add different image size for each different screen width.
I can’t tell you which the differences are, I haven’t tested any of the plugins you pointed, my guess is this difference may be in features, usability maybe but the best way you can find out is to get the plugin, install it and “play” a bit with it to see how it’s working/behaves.

Thanks

Post count: 364

Hi,

I’m very happy that I found this topic. It would be great if you could make the 9 custom ads default after the next Newspaper update!

Thanks!

Post count: 1291

Hi,

We’ll add more custom add spots in v5.0 and it will be easier to add new ones, the code will look like this – http://screencast.com/t/ih0xnhPG – you’ll just need to copy an existing one and change it’s number, ex. “Custom ad 6” and “ad_spot_id’ => ‘custom_ad_6”

Thank you, Emil G.

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