*

slaven

  • ***
  • 99 posts
Ad-free registration page
« on: March 18, 2026, 11:07:46 AM »
How to make the registration page ad-free ?

Specifically, how to prevent Google Adsense ads from showing on user-register.php.

Osclass

*

MB Themes

Re: Ad-free registration page
« Reply #1 on: March 18, 2026, 02:36:23 PM »
manually hide adsense code if page is user - register / login.
osc_get_osclass_location() – Retrieves the current location.
osc_get_osclass_section() – Retrieves the current section.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slaven

  • ***
  • 99 posts
Re: Ad-free registration page
« Reply #2 on: March 18, 2026, 04:17:22 PM »
manually hide adsense code if page is user - register / login.
osc_get_osclass_location() – Retrieves the current location.
osc_get_osclass_section() – Retrieves the current section.

Sure. Is that a setting at the theme level in functions.php or somewhere else?
Osclass

*

MB Themes

Re: Ad-free registration page
« Reply #3 on: March 20, 2026, 03:36:26 PM »
Custom code.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots