[Support request]
[Support request]

Home Forums Ausart – Multi Purpose Business Template Child theme and global $themeple_config

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  Eldo 2 years, 4 months ago.


  • faqtoria
    Participant
    Post count: 5
    | #8559

    Morning.

    I got through ThemeForest this theme, and as usual, created a child theme for it, leaving the original Ausart one untouched at its own folder.

    Thing is that I was customizing through the control panel the layout settings, set the blog layout to "Fullwidth" expecting the sidebar not to apear. To my dismay, it's there. Studying the "single.php" looking for clues, saw that it uses GLOBAL $themeple_config values, so I made a print_r($themeple_config); to read the values, and there is barely one single value in the whole variable:

    Array
    (
        [navigations] => Array
            (
                [main] => Main Navigation
            )
    
    )

    That's just that. Googling a bit found out that one can "force" reloading certain settings by the following code in functions.php:

    if(empty($themeple_config['current_sidebar'])) {
    		$themeple_config['current_sidebar'] = themeple_get_option('blog_sidebar_position');
    	}
    
        if(!isset($themeple_config['current_sidebar']) ){
            $themeple_config['current_sidebar'] = 'fullsize';
        }
    
        if(!empty($meta['layout']))
            $themeple_config['current_sidebar'] = $meta['layout'];

    But it errs saying that there isn't a "themeple_get_option()" function. Copying the whole Ausart functions.php to the child theme directory fails as well (the require_once paths).

    What could I do there?

    • This topic was modified 2 years, 4 months ago by  faqtoria.

  • faqtoria
    Participant
    Post count: 5
    | #8561

    Replies only viewable for logged in users


  • Eldo
    Keymaster
    Post count: 6788
    | #8578

    Replies only viewable for logged in users


  • faqtoria
    Participant
    Post count: 5
    | #8580
    This reply has been marked as private.

  • faqtoria
    Participant
    Post count: 5
    | #8589

    Replies only viewable for logged in users


  • Eldo
    Keymaster
    Post count: 6788
    | #8607

    Replies only viewable for logged in users

You must be logged in to reply to this topic.