• Resolved JoshMB

    (@joshmb)


    I need to run this theme with a child theme (per a specific requirement of the project). How can I disable the WordPress customizer?

    (It seems to load via a bunch of additional incl files, not just functions.php.)

Viewing 1 replies (of 1 total)
  • Theme Author pacethemes

    (@pacethemes)

    Hi Josh

    Add the below code to child theme functions.php, it will overwrite the existing Quest_Customize class

    class Quest_Customize {
    
    		// Hold an instance of the class
    		private static $instance;
    
    			/**
    		 * Returns an instance of the Quest_Customize class, creates one if an instance doesn't exist. Implements Singleton pattern
    		 *
    		 * @return Quest_Customize
    		 */
    		public static function getInstance() {
    			if ( ! isset( self::$instance ) ) {
    				self::$instance = new static ();
    			}
    
    			return self::$instance;
    		}
    
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Disable customizer’ is closed to new replies.