Esempio n. 1
0
function ultra_premium_setup()
{
    if (siteorigin_setting('comments_ajax_comments')) {
        siteorigin_ajax_comments_activate();
    }
    if (siteorigin_setting('social_share_post')) {
        siteorigin_share_activate();
    }
}
Esempio n. 2
0
function vantage_premium_setup()
{
    if (siteorigin_setting('social_ajax_comments')) {
        siteorigin_ajax_comments_activate();
    }
    if (siteorigin_setting('social_share_post')) {
        siteorigin_share_activate();
    }
    if (siteorigin_setting('navigation_responsive_menu')) {
        include get_template_directory() . '/premium/extras/mobilenav/mobilenav.php';
    }
}
Esempio n. 3
0
function vantage_premium_setup()
{
    if (siteorigin_setting('social_ajax_comments')) {
        siteorigin_ajax_comments_activate();
    }
    if (siteorigin_setting('social_share_post')) {
        siteorigin_share_activate();
    }
    if (siteorigin_setting('navigation_responsive_menu')) {
        include get_template_directory() . '/premium/extras/mobilenav/mobilenav.php';
    }
    // Add the snippets folder to the custom CSS editor
    siteorigin_custom_css_register_snippet_path(get_template_directory() . '/premium/snippets/');
}
Esempio n. 4
0
function vantage_premium_setup()
{
    if (siteorigin_setting('social_ajax_comments')) {
        siteorigin_ajax_comments_activate();
    }
    if (siteorigin_setting('social_share_post')) {
        siteorigin_share_activate();
    }
    $mega_menu_active = function_exists('ubermenu') || function_exists('max_mega_menu_is_enabled') && max_mega_menu_is_enabled('primary');
    if (siteorigin_setting('navigation_responsive_menu') && !$mega_menu_active) {
        include get_template_directory() . '/premium/extras/mobilenav/mobilenav.php';
    }
    // Add the snippets folder to the custom CSS editor
    if (class_exists('SiteOrigin_CSS')) {
        SiteOrigin_CSS::single()->register_snippet_path(get_template_directory() . '/premium/snippets/');
    } else {
        if (function_exists('siteorigin_custom_css_register_snippet_path')) {
            siteorigin_custom_css_register_snippet_path(get_template_directory() . '/premium/snippets/');
        }
    }
}