1140, ) ) ); // Setup the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'apola_custom_background_args', array( 'default-color' => '#fff', 'default-attachment' => 'fixed', ) ) ); // This theme uses its own gallery styles. add_filter( 'use_default_gallery_style', '__return_false' ); // Initialization theme core objects $Apola = new Apola( new ApolaAdmin( new ApolaConfigurator() ), new ApolaHelper() ); } } add_action( 'after_setup_theme', 'apola_setup', 100 ); /* Including editor's stylesheet /* ---------------------------------------------------------------------- */ if (!function_exists( 'apola_theme_add_editor_styles')) { function apola_theme_add_editor_styles() { add_editor_style('custom-editor-style.css'); } } add_action('init', 'apola_theme_add_editor_styles'); ?>