In this simple tutorial we will show you how to extend the Redux Framework config arguments from one of our themes in its child themes.

For example you can replace the Theme Panel Text with your own one. See where the Theme Panel texts are located, in our ChurchWP Church WordPress Theme.

All you have to do is to add this piece of code into your Child theme’s functions.php file(at the end of the file) and replace the text “YourCompany Panel” with your own text.

//Redux Default Option Name
$opt_name = "redux_demo";

 * Filter hook for filtering the args. Good for child themes to override or add to the args array. Can also be used in other functions.
 * */
if ( ! function_exists( 'change_arguments' ) ) {
    function change_arguments( $args ) {
        $args['menu_title'] = esc_attr__( 'YourCompany Panel', 'politica' );
        $args['page_title'] = esc_attr__( 'YourCompany Panel', 'politica' );
        return $args;

// Change Arguments
add_filter('redux/options/' . $opt_name . '/args', 'change_arguments' );

Still have problems? Please get in touch with us via our contact form or via ticket on ticksy.

Leave a comment