<?php
/**
 * Feminine Lifestyle Blog functions and definitions
 *
 * @link https://developer.wordpress.org/themes/basics/theme-functions/
 *
 * @package Feminine_Lifestyle_Blog
 */

//define theme version
$feminine_lifestyle_blog_theme_data = wp_get_theme();
if( ! defined( 'FEMININE_LIFESTYLE_BLOG_THEME_VERSION' ) ) define( 'FEMININE_LIFESTYLE_BLOG_THEME_VERSION', $feminine_lifestyle_blog_theme_data->get( 'Version' ) );
if( ! defined( 'FEMININE_LIFESTYLE_BLOG_THEME_NAME' ) ) define( 'FEMININE_LIFESTYLE_BLOG_THEME_NAME', $feminine_lifestyle_blog_theme_data->get( 'Name' ) );

/**
 * Basic functions that provide theme support.
 */
require get_template_directory() . '/inc/init.php';

/**
 * Helper Functions.
 */
require get_template_directory() . '/inc/helpers.php';

/**
 * Action Hooks
 */
require get_template_directory() . '/inc/hooks.php';

/**
 * Partial refresh
 */
require get_template_directory() . '/inc/customizer-helpers/selective-refresh.php';

/**
 * Fontawesome
 */
require get_template_directory() . '/inc/lib/fontawesome.php';

/**
 * Custom Controls
 */
require get_template_directory() . '/inc/customizer-helpers/custom-controls/custom-control.php';

/**
 * Customizer additions.
 */
require get_template_directory() . '/inc/customizer-helpers/customizer/customizer.php';

/**
 * Widgets
 */
require get_template_directory() . '/inc/admin/widgets.php';

/**
 * Sidebar Metabox
 */
require get_template_directory() . '/inc/admin/sidebar-meta.php';

/**
 * Typography Functions
 */
require get_template_directory() . '/inc/class-webfont-loader.php';
require get_template_directory() . '/inc/lib/typography/typography.php';

/**
 * Dynamic Styles to enhance user experience
 */
require get_template_directory() . '/assets/css/dynamic-styling.php';

/**
 * Getting Started
*/
require get_template_directory() . '/inc/admin/flb-notice/index.php';

/**
 * Woocommerce compatibility
*/
if( feminine_lifestyle_blog_is_woocommerce_activated() ){
    require get_template_directory() . '/inc/woo.php';
}