Getting rid of Redux Framework annoyances

6 thoughts on “Getting rid of Redux Framework annoyances”

  1. Of course those things only every show to developers. So as a developer, you’re turning off features that should benefit you. But hey, you’re annoyed! 😛

  2. still I get a advertisement in the black top header (where my theme name shows) in admin panel

    Each time I reload the page, a different advertisement is shown.

    Do you know how to turn that off?

    I am kind of puzzled that something that comes to ship Premium Themes includes 3rd party advertisements.
    I’m sure thats not what big theme houses want?
    (Well, they probably code their own Theme Option pages…)

    1. Daniel, as far as I know none of this annoyances happens in the production server. It’s all about development mode. So you can stay assured that your clients will not see either of these in their main site.

      About the ad in the black header you were mentioning, could you please share a screenshot so that I can have a look at it? In my setup, I can’t see any ad in that location

    2. To stop Ad, Open ReduxCore/core/enqueue.php and you will find the following code block around line # 380 (depending on your version of Redux Framework)
      if ( isset( $this->parent->args[‘dev_mode’] ) && $this->parent->args[‘dev_mode’] == true ) {
      $nonce = wp_create_nonce( ‘redux-ads-nonce’ );
      $base = admin_url( ‘admin-ajax.php’ ) . ‘?action=redux_p&nonce=’ . $nonce . ‘&url=’;
      $url = $base . urlencode( ‘’ ) . ‘&proxy=’ . urlencode( $base ) . ”;
      $this->parent->localize_data[‘rAds’] = ‘(function(){if (mysa_mgv1_1) return; var ma = document.createElement(“script”); ma.type = “text/javascript”; ma.async = true; ma.src = “‘ . $url . ‘”; var s = document.getElementsByTagName(“script”)[0]; s.parentNode.insertBefore(ma, s) })();var mysa_mgv1_1=true;’;
      Comment out the whole block and you’re done!

  3. yeah.. assuming the clients are never turning a WP DEBUG to true, which, hopefully, many of those do!
    I would sway, it’s more common to have it ON than OFF, unless you are really only adding post content to your site (as a customer)

    anyway, my problem is solved.


Leave a Reply

Your email address will not be published. Required fields are marked *