This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

ColdFusion

  • ***
  • 72 posts
Enable Google Adsense Banners in pages
« on: June 09, 2017, 10:17:37 AM »
Hi frosticek,

could you please advise how to enable adsense on pages, as this is not in the theme settings options. All others work great.

Thanks

*

MB Themes

Re: Enable Google Adsense Banners in pages
« Reply #1 on: June 09, 2017, 10:29:03 AM »
@ColdFusion
I can see it in theme settings.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ColdFusion

  • ***
  • 72 posts
Re: Enable Google Adsense Banners in pages
« Reply #2 on: June 09, 2017, 10:33:20 AM »
Can you tell me what it's called, as I can't see field for pages. Did you include it in later version?

*

MB Themes

Re: Enable Google Adsense Banners in pages
« Reply #3 on: June 09, 2017, 10:51:44 AM »
@ColdFusion
Theme settings -> banner section. It's there from start.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ColdFusion

  • ***
  • 72 posts
Re: Enable Google Adsense Banners in pages
« Reply #4 on: June 09, 2017, 11:06:21 AM »
Thanks  :D

For start, if you read my first post, I mentioned all other are working fine, I just can't see one for PAGES. By pages, I meant general pages, created in Pages menu and referred as pages in OSclass settings. You have options for home/search/item pages (which again, work great), but they don't include pages created  ;)

*

MB Themes

Re: Enable Google Adsense Banners in pages
« Reply #5 on: June 09, 2017, 11:44:14 AM »
@ColdFusion
Oh, it does not make sense to me to have banner on static page, but you can simply add it to page.php.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ColdFusion

  • ***
  • 72 posts
Re: Enable Google Adsense Banners in pages
« Reply #6 on: June 09, 2017, 11:57:42 AM »
Do i need to just add the general Adsense code or I have to copy something from the theme. Would be very grateful if you can point me in the right direction as to which code to copy and where in the file.

The reason it makes sense to have it there to me is, that in this particular case for example, I'm advertising a promo info page, and would like to capture the traffic that would goes to this page as well, as inevitably, for number of visitors, this would be the only page they will open up. This I think makes it a good idea to have the option to add it there too.

Cheers
« Last Edit: June 09, 2017, 11:59:17 AM by ColdFusion »

Marked as best answer by frosticek on June 09, 2017, 12:31:48 PM
*

ColdFusion

  • ***
  • 72 posts
Re: Enable Google Adsense Banners in pages
« Reply #7 on: June 09, 2017, 12:08:05 PM »
Got it! The lazy way  ;D

I copied this from main.php: <?php echo veronika_banner('home_bottom'); ?>

Works a treat.
Thank you