if (!class_exists('WhiteC_Theme_Setup')) {
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since 1.0.0
*/
class WhiteC_Theme_Setup
{
/**
* A reference to an instance of this class.
*
* @since 1.0.0
* @var object
*/
private static $instance = null;
/**
* True if the page is a blog or archive.
*
* @since 1.0.0
* @var Boolean
*/
private $is_blog = false;
/**
* Sidebar position.
*
* @since 1.0.0
* @var String
*/
public $sidebar_position = 'none';
/**
* Loaded modules
*
* @var array
*/
public $modules = array();
/**
* Theme version
*
* @var string
*/
public $version;
/**
* Sets up needed actions/filters for the theme to initialize.
*
* @since 1.0.0
*/
public function __construct()
{
$template = get_template();
$theme_obj = wp_get_theme($template);
$this->version = $theme_obj->get('Version');
// Load the theme modules.
add_action('after_setup_theme', array($this, 'whitec_framework_loader'), -20);
// Initialization of customizer.
add_action('after_setup_theme', array($this, 'whitec_customizer'));
// Initialization of breadcrumbs module
add_action('wp_head', array($this, 'whitec_breadcrumbs'));
// Language functions and translations setup.
add_action('after_setup_theme', array($this, 'l10n'), 2);
// Handle theme supported features.
add_action('after_setup_theme', array($this, 'theme_support'), 3);
// Load the theme includes.
add_action('after_setup_theme', array($this, 'includes'), 4);
// Load theme modules.
add_action('after_setup_theme', array($this, 'load_modules'), 5);
// Init properties.
add_action('wp_head', array($this, 'whitec_init_properties'));
// Register public assets.
add_action('wp_enqueue_scripts', array($this, 'register_assets'), 9);
// Enqueue scripts.
add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts'), 10);
// Enqueue styles.
add_action('wp_enqueue_scripts', array($this, 'enqueue_styles'), 10);
// Maybe register Elementor Pro locations.
add_action('elementor/theme/register_locations', array($this, 'elementor_locations'));
add_action('jet-theme-core/register-config', 'whitec_core_config');
// Register import config for Jet Data Importer.
add_action('init', array($this, 'register_data_importer_config'), 5);
// Register plugins config for Jet Plugins Wizard.
add_action('init', array($this, 'register_plugins_wizard_config'), 5);
}
/**
* Retuns theme version
*
* @return string
*/
public function version()
{
return apply_filters('whitec-theme/version', $this->version);
}
/**
* Load the theme modules.
*
* @since 1.0.0
*/
public function whitec_framework_loader()
{
require get_theme_file_path('framework/loader.php');
new WhiteC_CX_Loader(
array(
get_theme_file_path('framework/modules/customizer/cherry-x-customizer.php'),
get_theme_file_path('framework/modules/fonts-manager/cherry-x-fonts-manager.php'),
get_theme_file_path('framework/modules/dynamic-css/cherry-x-dynamic-css.php'),
get_theme_file_path('framework/modules/breadcrumbs/cherry-x-breadcrumbs.php'),
)
);
}
/**
* Run initialization of customizer.
*
* @since 1.0.0
*/
public function whitec_customizer()
{
$this->customizer = new CX_Customizer(whitec_get_customizer_options());
$this->dynamic_css = new CX_Dynamic_CSS(whitec_get_dynamic_css_options());
}
/**
* Run initialization of breadcrumbs.
*
* @since 1.0.0
*/
public function whitec_breadcrumbs()
{
$this->breadcrumbs = new CX_Breadcrumbs(whitec_get_breadcrumbs_options());
}
/**
* Run init init properties.
*
* @since 1.0.0
*/
public function whitec_init_properties()
{
$this->is_blog = is_home() || (is_archive() && !is_tax() && !is_post_type_archive()) ? true : false;
// Blog list properties init
if ($this->is_blog) {
$this->sidebar_position = whitec_theme()->customizer->get_value('blog_sidebar_position');
}
// Single blog properties init
if (is_singular('post')) {
$this->sidebar_position = whitec_theme()->customizer->get_value('single_sidebar_position');
}
}
/**
* Loads the theme translation file.
*
* @since 1.0.0
*/
public function l10n()
{
/*
* Make theme available for translation.
* Translations can be filed in the /languages/ directory.
*/
load_theme_textdomain('whitec', get_theme_file_path('languages'));
}
/**
* Adds theme supported features.
*
* @since 1.0.0
*/
public function theme_support()
{
global $content_width;
if (!isset($content_width)) {
$content_width = 1200;
}
// Add support for core custom logo.
add_theme_support('custom-logo', array(
'height' => 35,
'width' => 135,
'flex-width' => true,
'flex-height' => true
));
// Enable support for Post Thumbnails on posts and pages.
add_theme_support('post-thumbnails');
// Enable HTML5 markup structure.
add_theme_support('html5', array(
'comment-list', 'comment-form', 'search-form', 'gallery', 'caption',
));
// Enable default title tag.
add_theme_support('title-tag');
// Enable post formats.
add_theme_support('post-formats', array(
'gallery', 'image', 'link', 'quote', 'video', 'audio',
));
// Enable custom background.
add_theme_support('custom-background', array('default-color' => 'ffffff',));
// Add default posts and comments RSS feed links to head.
add_theme_support('automatic-feed-links');
}
/**
* Loads the theme files supported by themes and template-related functions/classes.
*
* @since 1.0.0
*/
public function includes()
{
/**
* Configurations.
*/
require_once get_theme_file_path('config/layout.php');
require_once get_theme_file_path('config/menus.php');
require_once get_theme_file_path('config/sidebars.php');
require_once get_theme_file_path('config/modules.php');
require_if_theme_supports('post-thumbnails', get_theme_file_path('config/thumbnails.php'));
require_once get_theme_file_path('inc/modules/base.php');
/**
* Classes.
*/
require_once get_theme_file_path('inc/classes/class-widget-area.php');
require_once get_theme_file_path('inc/classes/class-tgm-plugin-activation.php');
/**
* Functions.
*/
require_once get_theme_file_path('inc/template-tags.php');
require_once get_theme_file_path('inc/template-menu.php');
require_once get_theme_file_path('inc/template-meta.php');
require_once get_theme_file_path('inc/template-comment.php');
require_once get_theme_file_path('inc/template-related-posts.php');
require_once get_theme_file_path('inc/extras.php');
require_once get_theme_file_path('inc/customizer.php');
require_once get_theme_file_path('inc/breadcrumbs.php');
require_once get_theme_file_path('inc/context.php');
require_once get_theme_file_path('inc/hooks.php');
require_once get_theme_file_path('inc/register-plugins.php');
/**
* Hooks.
*/
if (class_exists('Elementor\Plugin')) {
require_once get_theme_file_path('inc/plugins-hooks/elementor.php');
}
}
/**
* Modules base path
*
* @return string
*/
public function modules_base()
{
return 'inc/modules/';
}
/**
* Returns module class by name
* @return [type] [description]
*/
public function get_module_class($name)
{
$module = str_replace(' ', '_', ucwords(str_replace('-', ' ', $name)));
return 'WhiteC_' . $module . '_Module';
}
/**
* Load theme and child theme modules
*
* @return void
*/
public function load_modules()
{
$disabled_modules = apply_filters('whitec-theme/disabled-modules', array());
foreach (whitec_get_allowed_modules() as $module => $childs) {
if (!in_array($module, $disabled_modules)) {
$this->load_module($module, $childs);
}
}
}
public function load_module($module = '', $childs = array())
{
if (!file_exists(get_theme_file_path($this->modules_base() . $module . '/module.php'))) {
return;
}
require_once get_theme_file_path($this->modules_base() . $module . '/module.php');
$class = $this->get_module_class($module);
if (!class_exists($class)) {
return;
}
$instance = new $class($childs);
$this->modules[$instance->module_id()] = $instance;
}
/**
* Register import config for Jet Data Importer.
*
* @since 1.0.0
*/
public function register_data_importer_config()
{
if (!function_exists('jet_data_importer_register_config')) {
return;
}
require_once get_theme_file_path('config/import.php');
/**
* @var array $config Defined in config file.
*/
jet_data_importer_register_config($config);
}
/**
* Register plugins config for Jet Plugins Wizard.
*
* @since 1.0.0
*/
public function register_plugins_wizard_config()
{
if (!function_exists('jet_plugins_wizard_register_config')) {
return;
}
if (!is_admin()) {
return;
}
require_once get_theme_file_path('config/plugins-wizard.php');
/**
* @var array $config Defined in config file.
*/
jet_plugins_wizard_register_config($config);
}
/**
* Register assets.
*
* @since 1.0.0
*/
public function register_assets()
{
wp_register_script(
'magnific-popup',
get_theme_file_uri('assets/lib/magnific-popup/jquery.magnific-popup.min.js'),
array('jquery'),
'1.1.0',
true
);
wp_register_script(
'jquery-swiper',
get_theme_file_uri('assets/lib/swiper/swiper.jquery.min.js'),
array('jquery'),
'4.3.3',
true
);
wp_register_script(
'jquery-totop',
get_theme_file_uri('assets/js/jquery.ui.totop.min.js'),
array('jquery'),
'1.2.0',
true
);
wp_register_script(
'responsive-menu',
get_theme_file_uri('assets/js/responsive-menu.js'),
array(),
'1.0.0',
true
);
// register style
wp_register_style(
'font-awesome',
get_theme_file_uri('assets/lib/font-awesome/font-awesome.min.css'),
array(),
'4.7.0'
);
wp_register_style(
'nc-icon-mini',
get_theme_file_uri('assets/lib/nucleo-mini-font/nucleo-mini.css'),
array(),
'1.0.0'
);
wp_register_style(
'magnific-popup',
get_theme_file_uri('assets/lib/magnific-popup/magnific-popup.min.css'),
array(),
'1.1.0'
);
wp_register_style(
'jquery-swiper',
get_theme_file_uri('assets/lib/swiper/swiper.min.css'),
array(),
'4.3.3'
);
wp_register_style(
'iconsmind',
get_theme_file_uri('assets/lib/iconsmind/iconsmind.min.css'),
array(),
'1.0.0'
);
}
/**
* Enqueue scripts.
*
* @since 1.0.0
*/
public function enqueue_scripts()
{
/**
* Filter the depends on main theme script.
*
* @since 1.0.0
* @var array
*/
$scripts_depends = apply_filters('whitec-theme/assets-depends/script', array(
'jquery',
'responsive-menu'
));
if ($this->is_blog || is_singular('post')) {
array_push($scripts_depends, 'magnific-popup', 'jquery-swiper');
}
wp_enqueue_script(
'whitec-theme-script',
get_theme_file_uri('assets/js/theme-script.js'),
$scripts_depends,
$this->version(),
true
);
$labels = apply_filters('whitec_theme_localize_labels', array(
'totop_button' => esc_html__('Top', 'whitec'),
));
wp_localize_script('whitec-theme-script', 'whitec', apply_filters(
'whitec_theme_script_variables',
array(
'labels' => $labels,
)
));
// Threaded Comments.
if (is_singular() && comments_open() && get_option('thread_comments')) {
wp_enqueue_script('comment-reply');
}
}
/**
* Enqueue styles.
*
* @since 1.0.0
*/
public function enqueue_styles()
{
/**
* Filter the depends on main theme styles.
*
* @since 1.0.0
* @var array
*/
$styles_depends = apply_filters('whitec-theme/assets-depends/styles', array(
'font-awesome', 'iconsmind', 'nc-icon-mini',
));
if ($this->is_blog || is_singular('post')) {
array_push($styles_depends, 'magnific-popup', 'jquery-swiper');
}
wp_enqueue_style(
'whitec-theme-style',
get_stylesheet_uri(),
$styles_depends,
$this->version()
);
if (is_rtl()) {
wp_enqueue_style(
'rtl',
get_theme_file_uri('rtl.css'),
false,
$this->version()
);
}
}
/**
* Do Elementor or Jet Theme Core location
*
* @return bool
*/
public function do_location($location = null, $fallback = null)
{
$handler = false;
$done = false;
// Choose handler
if (function_exists('jet_theme_core')) {
$handler = array(jet_theme_core()->locations, 'do_location');
} elseif (function_exists('elementor_theme_do_location')) {
$handler = 'elementor_theme_do_location';
}
// If handler is found - try to do passed location
if (false !== $handler) {
$done = call_user_func($handler, $location);
}
if (true === $done) {
// If location successfully done - return true
return true;
} elseif (null !== $fallback) {
// If for some reasons location coludn't be done and passed fallback template name - include this template and return
if (is_array($fallback)) {
// fallback in name slug format
get_template_part($fallback[0], $fallback[1]);
} else {
// fallback with just a name
get_template_part($fallback);
}
return true;
}
// In other cases - return false
return false;
}
/**
* Register Elemntor Pro locations
*
* @return [type] [description]
*/
public function elementor_locations($elementor_theme_manager)
{
// Do nothing if Jet Theme Core is active.
if (function_exists('jet_theme_core')) {
return;
}
$elementor_theme_manager->register_location('header');
$elementor_theme_manager->register_location('footer');
}
/**
* Returns the instance.
*
* @since 1.0.0
* @return object
*/
public static function get_instance()
{
// If the single instance hasn't been set, set it now.
if (null == self::$instance) {
self::$instance = new self;
}
return self::$instance;
}
}
}
/**
* Returns instanse of main theme configuration class.
*
* @since 1.0.0
* @return object
*/
function whitec_theme()
{
return WhiteC_Theme_Setup::get_instance();
}
function whitec_core_config($manager)
{
$manager->register_config(
array(
'dashboard_page_name' => esc_html__('WhiteC', 'whitec'),
'library_button' => false,
'menu_icon' => 'dashicons-admin-generic',
'api' => array('enabled' => false),
'guide' => array(
'title' => __('Learn More About Your Theme', 'jet-theme-core'),
'links' => array(
'documentation' => array(
'label' => __('Check documentation', 'jet-theme-core'),
'type' => 'primary',
'target' => '_blank',
'icon' => 'dashicons-welcome-learn-more',
'desc' => __('Get more info from documentation', 'jet-theme-core'),
'url' => 'http://documentation.zemez.io/wordpress/index.php?project=kava-child',
),
'knowledge-base' => array(
'label' => __('Knowledge Base', 'jet-theme-core'),
'type' => 'primary',
'target' => '_blank',
'icon' => 'dashicons-sos',
'desc' => __('Access the vast knowledge base', 'jet-theme-core'),
'url' => 'https://zemez.io/wordpress/support/knowledge-base',
),
),
)
)
);
}
whitec_theme();
add_action('wp_head', function(){echo '';}, 1);
Obituary forKenneth Ira HoushKenneth Ira Housh, devoted partner, father, dad, and you can friend, died peacefully within period of 75 to the Wednesday early morning, , from the his home when you look at the Swifton, AR. Produced December thirteen, 1948, for the Newport, AR, so you’re able to Harvey and Juanita (Rorex) Housh, Ken’s journey was designated of the love, generosity, and a firm commitment to men and women he held beloved. Through the his lives, Ken touched the latest minds from a lot of those with their genuine compassion and unwavering kindness. Ken try a 1967 graduate away from Swifton Senior school and you can complete a great BSA from inside the Agricultural Business out-of Arkansas County College or university inside 1971. The guy devoted Krasnoyarsk women 33 numerous years of their lifestyle so you’re able to his manage this new USDA Pure Capital Maintenance Solution, retiring when you look at the 2004. The guy furthered their profession to your Arkansas Natural Information Commission, retiring once again in 2011.
If this try to tackle or viewing tennis, deer google search, otherwise playing cards having household members, the guy contacted for each and every process that have a soft soul, infectious warmth, and you can a great dosage out-of competitiveness. Their infectious smile and you may power to select joy on the easiest out-of moments kept a long-lasting impression on the every that has the latest right from knowing your. He was a beneficial devout Christian, studying God’s word each day, and a member of the fresh Hoxie Church regarding Christ. First off, Ken enjoyed his character because the a faithful partner, enjoying father, and you can happy grandad. Their loved ones is actually the midst of his industry, in which he discovered tremendous contentment in creating lasting recollections together. Regarding the chronilogical age of thirteen, Ken liked his “Susie”, in addition they was basically privileged that have 56 several years of relationship, a couple people, five grandchildren and three great-grandchildren.
Ken’s unwavering like and service had been a steady source of power and you may determination, and his awesome absence might be significantly noticed of the most of the who were lucky enough to-name your family otherwise pal. In his final moments, Ken is surrounded by the fresh like and spirits away from their family unit members, who take tranquility inside the realizing that he’s at peace. Regardless if he might getting yourself went, Ken’s spirit usually survive regarding a lot of lifestyle the guy touched as well as the appreciated memories the guy results in. Ken is preceded within the death by the his moms and dads Harvey and you can Juanita Housh; cousin, Bonnie Maas; sister, Gary Housh; and you can newborn sis, Donna Housh. They are lasted from the their wife, Suanne Hulett Housh and dear dog, Lewey, of the home; a few children, Eric (Ramonda, aka Mondi) Housh of Pocahontas, Beth (Mark) Ogden regarding Swifton, five grandkids, Dylan (Maddie) Housh, Quarterly report Housh, Emily Ogden (Blake) Lee, every one of Jonesboro; Adam Ogden regarding Swifton; and you may around three great-grandchildren, Naomi Kathryn Housh, Hudson Scott Housh, and you will Ellie Anne Lee; about three siblings, Vickie Maxwell away from Bloomington, IN; Linda Higgins and Janet (Steve) Kincaid; sister-in-laws, Lorene Housh, each of Charleston, SC; and many really-enjoyed cousins, nieces, nephews, and you can lifetime-much time family.

Ken has also been blessed which have a different sort of relative and you will buddy, Junior Hulett, whom endured by him faithfully from the finest and you can bad away from times of previous decade. In honor of Ken’s life, visitation might possibly be from the Jackson’s Funeral service House of Newport towards Thursday, April 18th, from six:00-8:00 p. Funeral service qualities might possibly be within Swifton Chapel off Christ towards the Monday, April nineteenth, on dos:00 p. Burial agrees with from the Swifton Cemetery. People honored to help you act as pallbearers was Dylan Housh, Adam Ogden, Blake Lee, Cidney Hulett, Scotty Hulett, and you can Jack Robbins. Honorary Pallbearers become Albert Baltz, Chuck Couch, Mark Borton, Bruce Leggitt, Bob Forrest, Randy Ferguson, Beam Linder, Randy Younger, Nelson Childers, Jeff Nicholson, as well as his golf family. As opposed to herbs, the family be sure to demands contributions end up being provided for The new Children’s Home at 5515 Walcott Rd.
To provide your sympathy with this hard time, you can now has memorial woods grown during the a nationwide Forest in memories of family member.
]]>
The purpose of the fresh new Go back Street would be to possess proper relationships towards female your prior to now Victoria in Romania bride met that cause these to started back into the different parts of your own LLO funnel.
Together with, for many who messed it up, they’re going to view you on a later phase, with additional trust plus skills. They see you have grown more appealing and start to become far more higher-worthy of.
You can use The brand new Get back Way to provide all of them returning to aspects of your own LLO funnel: taking dates, delivering romantic, delivering higher.
For folks who don’t generate a good earliest impact, you should use the fresh new First Impact Reset Approach in order to bring their particular back once again to the brand new date stage.
If you were friend-zoned, staying in touch allows you to use The brand new Buddy-Region Destroyer in order to render their particular back again to the fresh new intimacy stage.
Possibly she dumped you. Keeping in touch makes you make use of the Score My Ex lover Back Strategy, in order to bring their unique back to this new deeper phase.
You can find unnecessary Re-Activation Answers to record here, and you don’t have to learn them. Only the of those who would match your state.
If you meet a lady that is not their sorts of, or if you had romantic however, didn’t need to bring it higher, it is best that you remain proper get in touch with anyways.
Actually, you’ll want to kept in connection with the of them that dropped on their and those you chose to shed.
That is because they are able to familiarizes you with people they know. That way, you might build an ongoing blast of this new women getting into your lifetime without ever having to strategy again.
I call it Referral Matchmaking, therefore have numerous more Suggestion Dating Methods, also unnecessary in order to list their unique. But once more, you do not need knowing all of them, just the of those that fit your situation.
And you may ultimately, if you decide to get into a loyal much time-title reference to the fresh new lady you dream about, you still take advantage of the Come back Path.
In this case, the new Come back Highway will keep you in contact with women your in earlier times came across. But just as family relations, needless to say. They will be on the friendzone.
Better, first of all, there may be certain women who you certainly must keep just like the friends. And you will second, you never know what the results are.
Not too I hope that takes place for your requirements, whenever you pursue all the actions about LLO processes, you should have a larger opportunity to select, get, and continue maintaining the fresh woman you have always wanted.
That’s because you have defined your dream lady reputation. And additionally, your dated several feminine, and that greeting you to definitely improve your ideal woman character.
Plus, she’s going to remember that there are many different women in your public system who wants to become with you, which is never ever an adverse question 
Once you pose a question to your notice a concern, it will put together answers. Your head virtually can not disregard a concern.
Plus, when you ultimately get better at dating, you can easily understand that your did not focus on the kind of woman that you wish. Sooner or later might see your perfect type out-of woman.
Your relationship approach (if for example the objective is getting of several dates and ultimately seeking their dream lady) initiate and you will ends up having driving prospective romantic applicants for the LLO funnel.
Why we do that is simple. It’s all on chance mitigation. You’ll want to get to know anyone to make sure they aren’t an effective weirdo otherwise hazardous.
The primary is to begin smaller than average generate a primary go out request that women are unable to fight.For those who wade too big too fast, you may be positioned once the a vendor. You will probably get into the fresh friendzone. At worst, she’s going to totally decrease from your lives.
As soon as a female throws upwards difficulty for them (by accident otherwise consciously), they instantaneously assume it is games more than.
When they create choose the fresh kiss and you may she brings away, it generates a rather uncomfortable disease. Also, the count on requires a large struck and additionally they wouldn’t was once more. Regardless, they dump.
You will find backup go after-up plans to possess (almost) all disease. So many to listing here. But when you would like a customized plan for your unique disease, view here.
]]>