AlkantarClanX12

Your IP : 18.225.149.158


Current Path : /home/thanudqk/siamfreetour.com/wp-content/themes/minimalist-stories/
Upload File :
Current File : /home/thanudqk/siamfreetour.com/wp-content/themes/minimalist-stories/functions.php

<?php
require_once get_template_directory() . '/vendor/autoload.php';
// Get customizer options
use SuperbThemesCustomizer\CustomizerControls;

// New color variables
if (method_exists(CustomizerControls::class, "OverwriteDefault")) {
    CustomizerControls::OverwriteDefault(CustomizerControls::NAVIGATION_LAYOUT_STYLE, "navigation_layout_style_choice_large");
    CustomizerControls::OverwriteDefault(CustomizerControls::BLOGFEED_SHOW_READMORE_BUTTON, "1");
    CustomizerControls::OverwriteDefault(CustomizerControls::SITE_IDENTITY_HIDE_TAGLINE, "0");
    CustomizerControls::OverwriteDefault(CustomizerControls::UPPERWIDGETS_FRONTPAGE_ONLY, "0");
    CustomizerControls::OverwriteDefault(CustomizerControls::SINGLE_HIDE_RELATED_POSTS, "1");
    CustomizerControls::OverwriteDefault('--minimalistique-secondary', "#10b981");
    CustomizerControls::OverwriteDefault('--minimalistique-secondary-dark', "#0ea774");
    CustomizerControls::OverwriteDefault(CustomizerControls::BLOGFEED_COLUMNS_STYLE, "blogfeed_twocolumn_masonry");
    CustomizerControls::OverwriteDefault(CustomizerControls::BLOGFEED_HIDE_SIDEBAR, "blogfeed_show_sidebar");

}


// Get stylesheet
add_action('wp_enqueue_scripts', 'minimalist_stories_enqueue_styles');
function minimalist_stories_enqueue_styles()
{
    wp_enqueue_style('minimalist-stories-parent-style', get_template_directory_uri() . '/style.css');
}



// New fonts
function minimalist_stories_enqueue_assets()
{
    // Include the file.
    require_once get_theme_file_path('webfont-loader/wptt-webfont-loader.php');
    // Load the webfont.
    wp_enqueue_style(
        'minimalist-stories-fonts',
        wptt_get_webfont_url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=auto'),
        array(),
        '1.0'
    );
}
add_action('wp_enqueue_scripts', 'minimalist_stories_enqueue_assets');