How to Add Ads above "Related Post" in Mobile theme?

Posted in: Newspaper
Post count: 4

I have been experimenting with different loop.php, single.php, mobile/single.php but not able to get the RevContent Ads above the Related posts in Mobile theme. Can you please mention the file & changes I should make to get the Ads?

I have successfully added the Ads in Desktop UI. Here’s the Ad Code

<div id="rcjsload_591893"></div>
<script type="text/javascript">
(function() {
var referer="";try{if(referer=document.referrer,"undefined"==typeof referer)throw"undefined"}catch(exception){referer=document.location.href,(""==referer||"undefined"==typeof referer)&&(referer=document.URL)}referer=referer.substr(0,700);
var rcel = document.createElement("script");
rcel.id = 'rc_' + Math.floor(Math.random() * 1000);
rcel.type = 'text/javascript';
rcel.src = "https://trends.revcontent.com/serve.js.php?w=46290&t="+rcel.id+"&c="+(new Date()).getTime()+"&width="+(window.outerWidth || document.documentElement.clientWidth)+"&referer="+referer;
rcel.async = true;
var rcds = document.getElementById("rcjsload_591893"); rcds.appendChild(rcel);
})();
</script>

Post count: 23312

Hello Devs-Lab,

If you want to add the Ad under your latest articles section you should use the settings from Theme panel, like this -> https://www.screencast.com/t/LGJ7fQ0UOot

Thanks for your understanding!

Post count: 4

That option adds the Ads below the comment section. Is there any way, to add the Ads just above the “Latest Articles” in Mobile theme?

Post count: 23312

Hello Devs-Lab,

Unfortunately, all the ads which can be added in mobile theme can be handled from Theme panel, like this -> https://www.screencast.com/t/kpjKMJ7DN38Y If you want to place your ad somewhere on your site, you should do it only through custom implementation and notice that we cannot provide this type of services at the moment, sorry!

Thanks for your understanding!

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