How do I upload my own ADVERT

Posted in: Newsmag
Post count: 4

Please kindly advice on how I would upload my own advert, for instance the header and side bar advert. It only says it would automatically work for Google adsense. Please give me a path to follow. I thought I see something where I could just upload the image and put the link behind it. Please help with this.

Post count: 9544

You can upload any image to your media folder, or ftp to a folder like /assets/ in your public root.

Docs for using non-adsense ads are in the theme docs, right side of the page under the ‘ads’ section.

to wit: https://forum.tagdiv.com/newsmag-using-other-ads/

so, by the example in the theme docs, for a custom ad using a local image you upload, you’d need to put in your own HTML code, as per the EXAMPLE:
Show different ads depending on the device:

* do not use this method for AdSense. This is just for custom ads. For AdSense just paste your full code in the box 🙂 and customize the ad via the on of switches and the predefined sizes.
<div class="td-visible-desktop">
<!-- Your NON AdSense code here - this ad will show only on desktops -->
</div>
<div class="td-visible-tablet-landscape">
<!-- Your NON AdSense code here - this ad will show only on tablets in landscape orientation -->
</div>
<div class="td-visible-tablet-portrait">
<!-- Your NON AdSense code here - this ad will show only on tablets in portrait orientation -->
</div>
<div class="td-visible-phone">
<!-- Your NON AdSense code here - this ad will show only on phones -->
</div>

Post count: 9544

So, in the above example you’d put your HTML in each location as indicated.

such as

<a href="" rel="nofollow"><img src="mysite.vvv/assets/image-300x250.jpg" height="250" width="300" alt="" /></a>

Basic HTML.

  • This reply was modified 10 years by simchris.
Post count: 12

Hello Chris.
I’ve just opened a post with a problem with header advs. I need to show my own ads for all device , except for mobile where I need to show a adsense adv. I have added your code adding into <div class=”td-visible-phone”</div>
My Adsense code. It doesn’t work showing me only adsense banner on all devices.
Could you help me?
regards.

Post count: 6535

Hi

The theme can’t display different type of ads from same spot, so for example if set a banner ad for header this will be displayed on all devices. To display the ad-sense ad only for mobile devices and for other devices banner ads you will need custom modifications in theme’s core files.
This is a complex task which require lots of customizations and unfortunately we cannot offer custom work as we work hard on the development, updates, fixes and support. If you need this and you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer from sites like: http://studio.envato.com/ to do this for you.

Thanks!

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