mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
Fix for custom themes
This commit is contained in:
parent
63aadab343
commit
1fee2ba8a1
3 changed files with 10 additions and 2 deletions
|
@ -519,7 +519,6 @@ class MainWP_Child_Branding {
|
|||
|
||||
function custom_the_generator( $generator, $type = '' ) {
|
||||
$extra_setting = $this->settings['extra_settings'];
|
||||
error_log($type . "======" . print_r($extra_setting, true));
|
||||
if ( isset( $extra_setting['site_generator'] ) ) {
|
||||
if ( ! empty( $extra_setting['site_generator'] ) ) {
|
||||
switch ( $type ) :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue