The Redux Framework is a very useful WordPress plugin no doubt. A lot’s of WordPress themes and Plugin developers are using this Framework around the world.

However, when WP_DEBUG is true the Framework displays admin notices and an Ad Banner at the top of the Framework options window / theme options panel.

To remove all that stuff doesn’t affect whether you set dev_mode to true or false. Actually, it’s a little annoying when you are using the Framework in a development environment.

Redux Framework Plugin Remove WordPress Ads Banner
Framework Plugin Remove WordPress Ads Banner

How To Remove Redux Banners?

So here is how you can get rid of those Admin Notices and Banner Ad.

1. Open your options-config.php file and set new argument 'forced_dev_mode_off' => true in the Framework arguments array.

Redux Framework Plugin Remove WordPress Ads Banner
Framework Plugin Remove WordPress Ads Banner


Once you set 'forced_dev_mode_off' => true it will display a red notice on the Framework Options window. Follow the setp 2 to remove that red notice too.

2. If you have embedded Framework code into your theme, then open ReduxCore/templates/panel/head.ertpl.php and find the following code block around line #54 (depending on version of Framework)

<div class="redux-dev-mode-notice-container redux-dev-qtip" qtip-title="<?php echo esc_attr( $tip_title ); ?>" qtip-content="<?php echo esc_attr( $tip_msg ); ?>"> 
    <span class="redux-dev-mode-notice" style="background-color: #FF001D;"><?php _e( 'FORCED DEV MODE OFF ENABLED', 'redux-framework' ); ?></span> 

Comment out the whole block and you’re done!

However, if you are using Framework as a plugin, then you can hide that red notice by adding the following code to your any admin CSS file.

.redux-dev-mode-notice-container.redux-dev-qtip { display: none; }

All Visualmodo WordPress themes offers this great plugin for a better user experience.

Framework banner


What is this framework?

Is a simple, truly extensible and fully responsive options framework for WordPress themes and plugins. Built on the WordPress Settings API, supports a multitude of field types as well as: custom error handling, custom fields & validation types, and import/export functionality. But what does actually DO? We don’t believe that theme and plugin developers should have to reinvent the wheel every time they start work on a project. It’s designed to simplify the development cycle by providing a streamlined, extensible framework for developers to build on. Through a simple, well-documented config file, third-party developers can build out an options panel limited only by their own imagination in a fraction of the time it would take to build from the ground up!

Share This Post

Leave a Reply

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

Name *