• No section edit when using child theme. This plugin does not control what the parent theme is.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author BurgerThemes

    (@burgersoftware)

    Hello @atakanau,

    Which section do you want to edit, please share the screenshot, This plugin creates the additional sections on the home page in burger themes.

    Thanks

    Thread Starter Atakan Au

    (@atakanau)

    Thread Starter Atakan Au

    (@atakanau)

    As I said, This plugin does not control what the parent theme is.
    Check this:

    @wp-content\plugins\burger-companion\inc\burger-comapnion-activator.php

    if ( '???' == $theme->name || ... ){

    @wp-content\plugins\burger-companion\burger-companion.php

    if( '???' == $theme->name){

    • This reply was modified 2 years, 3 months ago by Atakan Au.
    Plugin Author BurgerThemes

    (@burgersoftware)

    Hello @atakanau,

    We have understood your query, we need to add StoreBiz child theme name in the burger companion plugin, then you will get features like as parent theme, please refer to the screenshot URL and below code.

    Also if you are still to update it then please contact our website support forum, our team will update it.

    https://prnt.sc/AdOtXaVc_S6p
    https://prnt.sc/8-PfESz1Z1n8

    burger-companion.php file :-
    
    if( 'StoreBiz Child' == $theme->name){
    			require_once('inc/storebiz/storebiz.php');
    		}
    burger-companion-activater.php file:-
    
    if ( 'StoreBiz Child' == $theme->name ){
    				require BURGER_COMPANION_PLUGIN_DIR . 'inc/storebiz/default-pages/upload-media.php';
    				require BURGER_COMPANION_PLUGIN_DIR . 'inc/storebiz/default-pages/home-page.php';
    				require BURGER_COMPANION_PLUGIN_DIR . 'inc/storebiz/default-widgets/default-widget.php';
    			}

    Thanks

    Thread Starter Atakan Au

    (@atakanau)

    I already found the cause of the problem. My solution is similarly:

    @wp-content\plugins\burger-companion\inc\burger-comapnion-activator.php

    if ( 'StoreBiz' == $theme->name || 'ShopMax' == $theme->name || 'StoreWise' == $theme->name || 'StoreBiz Child' == $theme->name){

    @wp-content\plugins\burger-companion\burger-companion.php

    if( 'StoreBiz' == $theme->name || 'StoreBiz Child' == $theme->name){

    But this is a temporary and “dirty” method. Because if the child theme is named ‘My Child Theme’ instead of ‘StoreBiz Child’ this code will not work!

    Instead, the conditioning should be based on the parent theme’s ‘slug’ address.

    Plugin Author BurgerThemes

    (@burgersoftware)

    Hello @atakanau,

    Thanks for the suggestion.

    It’s a theme customization part so please contact our website support forum.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No section edit on child theme’ is closed to new replies.