0% found this document useful (0 votes)
164 views

Program Codes

The document summarizes information about the Southwestern Institute of Business and Technology. It includes code snippets and instructions for customizing the header design and navigation menu of a website built with the Themify theme builder plugin. The header can be configured to include logos, taglines, search boxes, cart links, and navigation menus in different styles and positions depending on the selected design.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views

Program Codes

The document summarizes information about the Southwestern Institute of Business and Technology. It includes code snippets and instructions for customizing the header design and navigation menu of a website built with the Themify theme builder plugin. The header can be configured to include logos, taglines, search boxes, cart links, and navigation menus in different styles and positions depending on the selected design.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 98

SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY

Index themify_body_start(); // hook if


(themify_theme_show_area('top_bar_widg
<?php if ets')) {
(themify_theme_show_area('search_button'
if ( ! defined( 'ABSPATH' ) ) exit; )) { get_template_part('includes/top-
bar-widgets');
get_header(); get_template_part(
'themify/includes/search-box' );} } // exclude
?> top_bar_widgets
?>
<!-- layout-container --> ?>
<div id="pagewrap"
<div id="layout" class="pagewidth class="tf_box hfeed site"> <!-- /Top bar
tf_box tf_clearfix"> widgets -->
<a class="screen-reader-text skip-to-
<?php themify_content_before(); // content" href="#content"><?php _e('Skip <?php
hook ?> to content','themify'); ?></a> themify_header_before(); // hook ?>

<!-- content --> <?php if <header id="header"


(themify_theme_show_area('header') && class="pagewidth tf_box tf_rel tf_clearfix"
<main id="content" class="tf_left themify_theme_do_not_exclude_all('heade itemscope="itemscope"
tf_box tf_clearfix"> r')) : ?> itemtype="https://schema.org/WPHeader">
<?php <?php
themify_page_output(); ?>
<?php
</main>
$show_mobile_menu =
<!-- /content --> themify_theme_do_not_exclude_all('mobil
$header_design= e-menu');
<?php themify_theme_get_header_design();

themify_content_after(); // hook
$show_menu_navigation =
$cl='tf_box tf_w'; $show_mobile_menu &&
themify_get_sidebar();
themify_theme_show_area('menu_navigati
?> on');
if($header_design==='header-
</div> left-pane' || $header_design==='header-
right-pane'){
<!-- /layout-container -->
$cart_is_dropdown=$cart_style==='dropdo
<?php wn';
$cl.=' tf_scrollbar';
get_footer();
} themify_header_start(); // hook
Header
?> ?>
<!DOCTYPE html>
<div id="headerwrap" <?php <?php if
<html <?php language_attributes(); ?>> themify_theme_header_background('heade ($show_menu_navigation===true): ?>
r',$cl) ?>>
<head> <?php
<?php if ($show_cart === true &&
<?php $header_design!=='header-left-pane'&&
$show_cart =
$header_design!=='header-right-pane'&&
wp_head(); themify_is_woocommerce_active() &&
$header_design!=='header-minbar-left'&&
themify_theme_show_area('cart');
?> $header_design!=='header-minbar-right'): ?
$cart_style = >
</head> $show_cart === true ?
themify_get_cart_style():false;
<body <?php body_class(); ?>> <div id="cart-link-mobile"
$total = class="tf_hide tf_text_dec">
$show_cart === true && is_object(WC()-
>cart) ? WC()->cart-
<?php
>get_cart_contents_count() : 0;
<a <?php if
global $themify; ($cart_is_dropdown === false &&
$cart_style !== 'link_to_cart'): ?>id="cart-
link-mobile-link"<?php endif; ?>

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
class="icon-menu tf_right" href="<?php if <?php
echo $cart_is_dropdown === true || (themify_theme_show_area('site_logo')) { themify_menu_nav( array( 'walker' => new
$cart_style === 'link_to_cart' ? Themify_Mega_Menu_Walker) );?>
wc_get_cart_url() : '#slide-cart'; ?>">
<!-- /#main-nav -->
echo themify_logo_image();
</nav>
<i class="icon- }
shopping-cart"> <?php
if
endif;
(themify_theme_show_area('site_tagline'))
<?php echo {
themify_get_icon('shopping-
cart','ti',false,false,array('aria- ?>
label'=>__('Shopping Cart','themify'))); ?>
echo
themify_site_description(); <a id="menu-icon-close"
class="tf_hide tf_text_dec tf_close" aria-
</i> } label="<?php _e('Close menu','themify'); ?
>" href="#mobile-menu"><span
?> class="screen-reader-text"><?php
<span class="icon- _e( 'Close Menu', 'themify' );
</div> ?></span></a>
menu-count<?php if ($total <= 0): ?> <?php
cart_empty<?php endif; ?>"><?php echo
$total; ?></span> if($header_design==='header-
slide-left' || $header_design==='header- <?php
slide-right'){ themify_mobile_menu_end(); // hook ?>
</a> include
THEME_DIR.'/includes/header-icons.php'; <?php
if ($header_design === 'header-overlay'): ?
<?php } >
?>
<div id="mobile-menu"
if($cart_style !== class="sidemenu sidemenu-off<?php </div>
'slide-out' && $cart_style !== if($header_design!=='header-left-pane' &&
$header_design!=='header-right-pane'):?> <?php
'link_to_cart'){
tf_scrollbar<?php endif;?>"> endif; ?>

<?php </div>
if ($header_design === 'header-overlay'): ?
> <?php if
themify_get_ecommerce_template('include ($themify->sticky_sidebar) : ?>
s/shopdock');
} <div
<div class="overlay-menu- id="toggle-mobile-sidebar-button"
sticky"> class="open-toggle-sticky-sidebar toggle-
?>
</div> sticky-sidebar tf_hide">
<?php
<?php endif; ?> endif; ?>
<a id="menu-
icon" class="tf_text_dec tf_box" <?php <i class="mobile-
href="#mobile-menu"><span include THEME_DIR.'/includes/header- sticky-sidebar-icon "></i>
class="menu-icon-inner tf_vmiddle icons.php'; ?>
tf_inline_b tf_rel tf_box"></span><span </div>
class="screen-reader-text"><?php <?php
themify_mobile_menu_start(); // hook ?> <?php
_e( 'Menu', 'themify' ); ?></span></a>
endif; ?>
<?php <?php if
(themify_theme_show_area('menu_navigat <!-- /#mobile-
endif; ?>
ion')): ?> menu -->

<nav id="main-nav-wrap" <?php if


<div class="logo- itemscope="itemscope" ($cart_style === 'slide-out'): ?>
wrap tf_inline_b tf_rel"> itemtype="https://schema.org/SiteNavigati
<div
onElement">
<?php id="slide-cart" class="sidemenu sidemenu-
off tf_block tf_overflow tf_box">

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'custom- __('Back
modules.php', to top','themify'),
<a id="cart-icon-close"
class="tf_close"><span class="screen- 'custom- __('Back
reader-text"><?php _e('Close Cart', functions.php', to top','themify')
'themify' ); ?></span></a>
);
'themify/themify- }
<?php widgets.php' ));
themify_get_ecommerce_template('include
}
s/shopdock'); ?>
?>
foreach ( $theme_includes as $include )
{ locate_template( $include, true ); } <?php if ( $footer_enable) : ?>
</div>
<?php
<!--
/#slide-cart --> $footer_widgets =
themify_theme_show_area( 'footer_widget
Footer s' );

<?php $header_design=
<?php
endif; ?> themify_theme_get_header_design();
?>
<?php if($footer_widgets){
themify_header_end(); // hook ?> <?php themify_layout_after(); // hook ?>
$footer_position =
</header> </div> themify_get('footer_widget_position');

<!-- /#header --> <!-- /body --> if(!$footer_position)


{
<?php <?php
themify_header_after(); // hook ?>
$backTop='';
</div> $footer_position =
$footer_enable=themify_theme_show_area themify_get('setting-
<?php endif; ?> ( 'footer' ) && footer_widget_position',false,true);
themify_theme_do_not_exclude_all( 'foote
<!-- /#headerwrap --> }
r' );
<div id="body" }
if(themify_theme_show_area( 'footer_back
class="tf_clear tf_box tf_mw tf_clearfix">
' )){ else{
<?php
themify_layout_before(); //hook $footer_position =
$is_float=themify_check( 'setting- false;
Functions use_float_back',true );
}
<?php if($is_float || (!$is_float &&
$footer_enable)){
$theme_includes =
?>
apply_filters( 'themify_theme_includes',
<div id="footerwrap" class="tf_clear
array( 'themify/themify-
Themify_Enqueue_Assets::loadThemeStyl tf_box">
database.php',
eModule('back-top');

'themify/themify-utils.php', <?php
$backTop=sprintf( '<div
themify_footer_before(); // hook ?>
class="back-top tf_vmiddle tf_inline_b
tf_textc tf_clearfix %s"><div
'themify/themify-config.php', class="arrow-up"><a aria-label="%s"
rel="nofollow" href="#header"><span <?php
'theme- class="screen-reader-text">%s</span></a> get_template_part( 'includes/footer-
options.php', </div></div>' banners' ); ?>
'theme- , <footer id="footer"
functions.php', $is_float ? 'back-top-float back-top-hide' : class="pagewidth tf_box tf_clearfix<?php
'', if($header_design==='header-bottom'):?>

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
tf_scrollbar<?php endif;?>" </div>
itemscope="itemscope" 'menu_class' => 'footer-nav',
itemtype="https://schema.org/WPFooter"> <!--
/footer-logo-wrap -->
<?php
<?php )); ?>
themify_footer_start(); // hook ?>
if ($footer_widgets) : ?>
<div
class="footer-column-wrap tf_clear </div>
tf_clearfix"> <div class="footer-widgets-
wrap tf_left">
<div <!-- /.footer-nav-wrap -->
class="footer-logo-wrap tf_left">
<?php
<?php
endif; // exclude menu navigation ?>
get_template_part( 'includes/footer-
<?php if
widgets' ); ?>
( themify_theme_show_area( 'footer_site_l
ogo' ) ) : ?> <div class="footer-text-outer
tf_w">
</div>
<?php
<?php
<!-- /footer-widgets-wrap -->

<?php
Themify_Enqueue_Assets::loadThemeStyl endif;?> if
eModule('footer-logo'); ($header_design!=='header-bottom' &&
$backTop!=='' ) {

echo <?php
themify_logo_image( 'footer_logo', 'footer- if
logo' ); ?> ( themify_theme_show_area( 'footer_menu
echo $backTop;
_navigation' ) ) : ?>

<!-- /footer-logo }
--> <?php
Themify_Enqueue_Assets::loadThemeStyl
eModule('footer-nav');?>
?>
<?php endif; ?>

<div class="footer-nav-wrap
tf_clear tf_textc"> <div
<?php if class="footer-text tf_vmiddle tf_inline_b
( is_active_sidebar( 'below-logo-widget' ) ) tf_clearfix">
: ?>
<?php
themify_menu_nav( array(

<div <?php if
class="below-logo-widget"> ( themify_theme_show_area( 'footer_texts'
) ) : ?>
'theme_location' => 'footer-nav',

<?php
dynamic_sidebar( 'below-logo-widget' ); ?
> <?php
'fallback_cb' => '',
themify_the_footer_text();

</div>

'container' => '',

<!-- /.below-logo- themify_the_footer_text('right');


widget --> ?>

'menu_id' => 'footer-nav',

<?php endif; ?>


<?php endif; ?>

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$id = $product->get_id();
</div> <?php themify_body_end(); // hook ?> }

$wishlist = self::get();
<!-- wp_footer -->
<!-- /.footer-text --> ?>
<?php wp_footer(); ?>
<div class="wishlist-
</body> wrap tf_inline_b tf_vmiddle">
</div>
</html> <a data-
</div> id="<?php echo $id ?>"
Deprecated onclick="javascript:void(0)" class="<?php
echo!self::$is_wishlist_page ? 'wishlist-
<?php button tf_inline_b tf_textc' : 'wishlist-
<?php
themify_footer_end(); // hook ?> remove tf_close' ?><?php if (in_array($id,
global $themify; $wishlist)): ?> wishlisted<?php endif; ?>"
</footer> href="#" rel="nofollow">
$themify->hide_product_image='';
<?php function themify_is_product_search(){}
if($header_design==='header-bottom'):?> <?php echo !self::
function themify_hide_social_share(){} $is_wishlist_page ?
<a class="footer-tab
themify_get_icon('heart','ti',false,false,arra
tf_box" href="#"> function themify_hide_quick_look(){} y('aria-
<?php echo label'=>__('Wishlist','themify'))).'<span
Class-wishlist class="tooltip">' . __('Wishlist', 'themify') .
themify_get_icon('angle-down','ti')?>
'</span>' :'' ?>
<?php
</a>
</a>
if (!themify_is_woocommerce_active()) {
<?php endif;?>
</div>
return;
<!-- /#footer -->
<?php
}
}
class Themify_Wishlist {

private static $cookie_name =


<?php
'themify_wishlist'; public static function activation() {
themify_footer_after(); // hook ?>
private static $wishilist_page_slug = if (!self::get_wishlist_page(false)) {
</div>
'wishlist';
<!-- /#footerwrap --> $post_id=0;
private static $key = 'setting-
<?php if ($header_design==='header- wishlist_page'; $args = array(
bottom' && $backTop!=='') {
public static $is_wishlist_page = false; 'name' => self::
echo $backTop; $wishilist_page_slug,
public static $page_id;
} 'post_type' => 'page',
private function __construct() {
// exclude footer ?> 'post_status' => 'publish',
}
<?php 'no_found_rows'=>tr
public static function button($id = ue,
elseif ($backTop!==''): FALSE) {
'numberposts' => 1
echo $backTop; if (!self::is_enabled()) {
);
endif; return;
$wishlist_page = get_posts($args);
?> }
if (empty($wishlist_page)) {
</div> if (!$id) {
$post_id = wp_insert_post(array(
<!-- /#pagewrap --> global $product;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'post_name' => self:: return $language_code; if (!empty($languages)) {
$wishilist_page_slug,
} return $languages;
'post_title' => __('Wishlist',
'themify'), if }
(defined('ICL_LANGUAGE_CODE')) {
'post_status' => 'publish', if
$language_code = (defined('ICL_LANGUAGE_CODE')) {
'post_type' => 'page' ICL_LANGUAGE_CODE;
$lng =
)); } elseif self::get_current_language_code();
(function_exists('qtrans_getLanguage')) {
} else { if ($lng == 'all') {
$language_code =
$wishlist_page = qtrans_getLanguage(); $lng =
current($wishlist_page); self::get_default_language_code();
}
if(is_object($wishlist_page)){ }
if (!$language_code) {
$post_id = $all_lang =
$wishlist_page->ID; $language_code = icl_get_languages('skip_missing=0&orderb
substr(get_bloginfo('language'), 0, 2); y=KEY&order=DIR&link_empty_to=str');
}
} foreach ($all_lang as $key => $l) {
}
$language_code = if ($lng == $key) {
if ($post_id > 0) { strtolower(trim($language_code));
$languages[$key]['selected'] =
$data = themify_get_data(); return $language_code; true;

$data[self::$key] = $post_id; } }

themify_set_data($data); public static function $languages[$key]['name'] =


get_default_language_code() { $l['native_name'];
}
static $language_code = false; }
wp_reset_postdata();
if ($language_code === false) { } elseif
} (function_exists('qtrans_getLanguage')) {
global $sitepress;
} $languages =
public static function qtrans_getSortedLanguages();
get_wishlist_page($url = true) { if (isset($sitepress)) {
}
static $is = null; $language_code = $sitepress-
>get_default_language(); if(empty($languages)) {
if ($is===null) {
} $all_lang =
$is = themify_get(self:: self::get_default_language_code();
$key,false,true); $language_code =
empty($language_code) ? $languages[$all_lang]['name'] = '';
} substr(get_bloginfo('language'), 0, 2) :
$language_code; $languages[$all_lang]['selected'] =
if ($is && $url) { true;
$language_code =
$is = get_the_permalink($is); }
strtolower(trim($language_code));
} return $languages;
}
return $is; }
return $language_code;
} public static function
}
get_object_id_in_all_languages( $object_i
public static function
public static function d, $type ) {
get_current_language_code() {
get_all_languages() {
$ids = array();
static $language_code = false;
$languages =
if ($language_code) {
static $languages = array(); self::get_all_languages();

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
foreach ( $languages add_filter('the_content', $wp_query = new
as $code => $language ) { array(__CLASS__, 'wishlist_result'), 100, WP_Query( array( 'post__in' =>
1); $items,'post_type'=>'product' ) );
$id =
apply_filters( 'wpml_object_id', $object_id, add_filter('body_class', ob_start();
$type, false, $code ); array(__CLASS__, 'body_class'), 10, 1);
echo
if ( $id ) } woocommerce_content();
{
public static function $result =
body_class($classes) { ob_get_contents();
$ids[ $code ] = $id; $classes[] = 'wishlist-page';
} $classes[] = 'woocommerce'; ob_end_clean();

} $classes[] = ' woocommerce-page'; } else {

return $ids; return $classes; $result = '<p


class="themify_wishlist_no_items">'.
} } themify_get_icon('heart-broken','ti') .
__("There is no wishlist item.", 'themify') .
public static function wishlist_page() { public static function '</p>';
wishlist_result($content='') {
if ( ! is_page() ) { }
if(!
return; $result = '<div id="wishlist-
themify_is_ajax()){
wrapper">' . $result . '</div>';
}
echo $result;
self::$page_id = get_the_ID();
WC_Frontend_Scripts::load_scripts(); wp_die();
if
( defined( 'ICL_LANGUAGE_CODE' ) ) { }
themify_get_icon('heart-
private static function get_expiration() {
broken','ti');
$page_ids =
self::get_object_id_in_all_languages( (int) static $time = false;
return
self::get_wishlist_page(false), 'page' ); $content; if (!$time) {
} $time = time() +
apply_filters('themify_wishlist_cookie_exp
self::$is_wishlist_page = self::
iration_time', 60 * 60 * 24 * 30); // 30 days
array_search( self::$page_id, $page_ids ) ! $is_wishlist_page=true;
== false; }

} else { Themify_WC::set_wc_vars();

self:: $items = return $time;


$is_wishlist_page = self::$page_id == self::get(true);
self::get_wishlist_page(false); }
if (!empty($items)) {
} public static function get_total() {

if (self::$is_wishlist_page) { $wishlist = self::get(true);


add_filter( 'woocommerce_show_page_titl
e', '__return_false', 100 ); return count(array_unique($wishlist));

}
add_action('wp_head',array(__CLASS__,'h
ead')); remove_action( 'woocommerce_before_sh
public static function removeItem($id =
op_loop',
false) {
} 'woocommerce_catalog_ordering', 8 );
if (!$id) {
} global $wp_query,
$woocommerce_loop; $id = get_the_ID();
public static function head(){
}
$woocommerce_loop['total']=count($items
); $wishlist = self::get();

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$index = array_search($id, $wishlist); $id = intval($_GET['id']); 'expiration' =>
self::get_expiration(),
if ($index !== false) { $wishlist = self::get();
'cookie_path' => COOKIEPATH ?
unset($wishlist[$index]); $action = !empty($_GET['type']) COOKIEPATH : '/',
&& $_GET['type'] === 'remove' ? 'remove'
self::setCookies($wishlist); : 'add'; 'domain' => COOKIE_DOMAIN ?
COOKIE_DOMAIN : ''
} $is_add = in_array($id, $wishlist);
);
} $event = false;
return $settings;
public static function destroy() { if ($action === 'add' && !$is_add)
{ }
wc_setcookie(self::$cookie_name,
array(), time() - 3600, false); $post = get_post($id); public static function
config_setup($themify_theme_config) {
} if ($post->post_type ===
'product') { $config = array();

self::setValue($id); foreach
public static function setValue($id) { ($themify_theme_config['panel']['settings']
$event = true; ['tab']['shop_settings']['custom-module'] as
$wishlist = self::get();
$index => $val) {
}
$wishlist[] = $id;
if ($index === 2) {
} elseif ($action === 'remove' &&
self::setCookies($wishlist); $is_add) { $config[] = array(
} $post = get_post($id); 'title' => __('Wishlist Settings',
public static function 'themify'),
if ($post->post_type ===
setCookies($wishlist) { 'product') { 'function' =>
array(__CLASS__, 'config_view')
self::removeItem($id);
$wishlist = );
$event = true;
json_encode(stripslashes_deep(array_uniq
}
ue($wishlist))); }
$config[] = $val;
$time = self::get_expiration(); }
}
$_COOKIE[self::$cookie_name] = if ($event) {
$wishlist; $themify_theme_config['panel']
$total = self::get_total(); ['settings']['tab']['shop_settings']['custom-
wc_setcookie(self::$cookie_name,
module'] = $config;
$wishlist, $time, false);
return $themify_theme_config;
} die("$total");
}
public static function get($recalculate = }
false) {
}
static $wishlist = null; public static function config_view() {
wp_die();
if (is_null($wishlist) || $recalculate) { $key = 'setting-wishlist_disable';
}
$wishlist = ! $html = '<p><span class="label">' .
empty($_COOKIE[self::$cookie_name]) ? public static function
__('Wishlist', 'themify') . '</span>
json_decode(stripslashes($_COOKIE[self:: enqueue_settings($settings) {
$cookie_name]), true) : array(); <label for="' . $key . '"><input
type="checkbox" id="' . $key . '" name="' .
} $key . '" ' . checked(themify_get($key),
$settings['wishlist'] = array(
'on', false) . ' /> ' . __('Disable Wishlist',
return $wishlist;
'no_items' => __('There is no 'themify') . '</label></p>';
} wishlist item.', 'themify'),
$page_wishlist = themify_get(self::
public static function ajax_add() { 'cookie' => self::$cookie_name, $key,false,true);

if (!empty($_GET['id'])) { $front = get_option('page_on_front');

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$args = array( if (Themify_Wishlist::is_enabled()) {

'sort_order' => 'asc', add_action('template_redirect', self::$all_networks = array(


array('Themify_Wishlist', 'wishlist_page'),
'sort_column' => 'post_title', 9);
'twitter' =>
'post_type' => 'page', add_action('after_switch_theme', esc_html__( 'Twitter', 'themify' ),
array('Themify_Wishlist', 'activation'));
'post_status' => 'publish',

'nopaging' => 1 'facebook' =>


add_action('wp_ajax_themify_load_wishlis esc_html__( 'Facebook', 'themify' ),
); t_page', array('Themify_Wishlist',
'wishlist_result'));
$pages = new WP_Query($args);
'pinterest' =>
$html.= '<p data-show-if- esc_html__( 'Pinterest', 'themify' ),
element="[name=setting-wishlist_disable]" add_action('wp_ajax_nopriv_themify_load
data-show-if-value=' . '["false"]' . '><span _wishlist_page', array('Themify_Wishlist',
class="label">' . __('Wishlist Page', 'wishlist_result')); 'linkedin' =>
'themify') . ' </span>'; esc_html__( 'LinkedIn', 'themify' ),
}
$html.='<select name="' . self::$key .
add_filter('themify_theme_config_setup',
'">'; );
array('Themify_Wishlist', 'config_setup'),
while ($pages->have_posts()) { 14, 1);
}
$pages->the_post(); Class-social-share
return
<?php apply_filters( 'themify_social_share_all_ne
$id = get_the_ID();
tworks', self::$all_networks );
if ($id != $front) { if ( !
class_exists( 'Themify_Social_Share' ) ) { }
$selected = $page_wishlist ==
class Themify_Social_Share { public static function
$id ? 'selected="selected"' : '';
get_network_url($network){
$html .= '<option ' . $selected . ' public static
$active_networks = null; if(!isset(self::
value="' . $id . '">';
$networks_url[$network])){
$html .= get_the_title(); private static $networks_url =
array( return FALSE;
$html .= '</option>';
}
}
'facebook'=>'https://www.facebook.com/sh $url = self::
} arer/sharer.php?u=', $networks_url[$network].urlencode(self::g
et_shared_url());
$html .= '</select></p>';
$text =
return $html; the_title_attribute(array('echo'=>false));
'twitter'=>'//twitter.com/intent/tweet?url=',
} $args = array();

public static function is_enabled() { switch($network){


'pinterest'=>'//pinterest.com/pin/create/butt
static $is_enabled = null; on/?url=', case 'facebook':

if (is_null($is_enabled)) { if($text){
'linkedin'=>'//www.linkedin.com/cws/share $args['t'] = $text;
$is_enabled = !
?url='
themify_get('setting-
wishlist_disable',false,true); }
);
} $args['original_referer'] =
public static function get_the_permalink();
get_all_networks() {
return $is_enabled;
break;
if
}
( is_null( self::$all_networks ) ) { case 'twitter':
}
if($text){

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$args['text'] = $text; return 'toolbar=0, global
status=0, width=650, height=360'; $themify,$ThemifyBuilder;
}
case 'linkedin': if ( !
break; empty($ThemifyBuilder->in_the_loop)
return && isset( $themify->hide_meta ) ) {
case 'linkedin': 'toolbar=no,width=550,height=550';

case 'pinterest':
return 'yes' !== $themify-
$url.='&token=&isFramed=true'; >hide_meta;
return
break; 'toolbar=no,width=700,height=300';
}
case 'pinterest': }
if
} ( 'single' === $context ) {
if($text){

$args['description'] = public static function


$text; get_active_networks() { $post_type = 'post' ===
get_post_type() ? '' : get_post_type() . '_';
} if ( self::
$active_networks===null ) {
$img =
self::get_shared_image(); $hide_social_share =
themify_get( $post_type .
$networks =
if($img){ 'hide_social_share' );
self::get_all_networks();
$args['media'] = $img;
if ( 'default' !==
} self::$active_networks =
$hide_social_share ) {
array();
break;

} $social_share_status
foreach ( $networks as
= 'yes' !== $hide_social_share;
if(!empty($args)){ $network_slug => $network_label ) {

foreach($args as $k=>$v){
} else {
if
$url.='&'.
( themify_check( "setting-
$k.'='.urlencode(html_entity_decode($v,
social_share_exclude_$network_slug",true
ENT_COMPAT, 'UTF-8')); $social_share_status
)){
= ! themify_check( 'setting-
} social_share_single_disabled',true );
} continue;

return esc_url($url); }

} }

return $social_share_status &&


public static function
is_singular();
get_window_params($network){ self::
$active_networks[$network_slug] = }
if(!isset(self:: $network_label;
$networks_url[$network])){ elseif
( 'archive' === $context ) {
return FALSE;
}
}
} $hide_social_share = '';
switch($network){
return
case 'facebook': apply_filters( 'themify_social_share_active
_networks', self::$active_networks ); if ( themify_is_query_page() ) {
return 'toolbar=0,
status=0, width=900, height=500'; }
$hide_social_share =
case 'twitter': public static function get_post_meta( $themify->page_id,
is_enabled( $context = 'all' ) { 'hide_social_share', true );

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY

} $get_social_image = $key,
wp_get_attachment_image_src( get_post_t
humbnail_id(), 'full' );
if ( ! empty( $hide_social_share
) && 'default' !== $hide_social_share ) { checked( themify_get( $key,false,true ),
$share_image = 'on', false ),
isset( $get_social_image[0] )?
$social_share_status $get_social_image[0]:'';
= 'yes' !== $hide_social_share; esc_html__( 'Disable social
} else{
share in archive views (eg. category, tag
pages, etc.)', 'themify' )
} else {
$share_image = );
themify_get( 'post_image','' );
$key =
$social_share_status } 'setting-social_share_single_disabled';
= ! themify_check( 'setting-
social_share_archive_disabled',true ); return $html .=
themify_https_esc( $share_image ); sprintf(

}
}
public static function '<p><label for="%1$s"><input
shortcode($atts){ type="checkbox" id="%1$s"
return $social_share_status && name="%1$s" %2$s />
( ! is_singular() || themify_is_query_page() ob_start(); %3$s</label></p>',
);

} get_template_part('includes/social-share'); $key,

return $content = ob_get_contents();


false;
ob_end_clean();
} checked( themify_get( $key,false,true ),
return $content; 'on', false ),
public static function
get_shared_url() { }
esc_html__( 'Disable social
if } // class end share in single entry view', 'themify' )
( is_multisite() && ($meta_permalink =
get_post_meta( get_the_ID(), 'permalink', );
true ) )) {
} // endif class exists foreach
( Themify_Social_Share::get_all_networks
$share_link = $meta_permalink; () as $network_slug => $network_label ) {
if ( is_admin() ) {
}
if ( ! $key = "setting-
else{ function_exists( 'themify_social_share_mo social_share_exclude_$network_slug";
dule' ) ) {

$share_link = get_permalink(); function


$html .= sprintf(
themify_social_share_module( $data =
} array() ) {

return $key = '<p><label


trim(themify_https_esc( $share_link ),'/'); 'setting-social_share_archive_disabled'; for="%1$s"><input type="checkbox"
id="%1$s" name="%1$s" %2$s />
} $html = %3$s</label></p>',
sprintf(
public static function
get_shared_image() {
$key,
if '<p><label for="%1$s"><input
( has_post_thumbnail() ) { type="checkbox" id="%1$s"
name="%1$s" %2$s />
%3$s</label></p>',

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
pane):not(.header-right-pane):not(.header-
checked( themify_get( $key,false,true ), slide-left):not(.header-slide-right)#site-
'on', false ), description{ transition:transform .7s ease;

left:0; box-sizing:border-box

transform:none; }
sprintf( esc_html__( 'Exclude
%s', 'themify' ), $network_label ) text-align:left .menu-icon-inner:before{

} top:0;
); height:100%
body:not(.header-minbar-left):not(.header-
} minbar-right):not(.header-left-
pane):not(.header-right-pane):not(.header- }
return slide-left):not(.header-slide-right)#site-
.menu-icon-inner:after{
$html; description:before{
top:50%;
} left:0;
transform:translateY(-50%)
} margin-left:24px
}
} }
#menu-icon-close{
add_shortcode( 'themify_share_buttons', #menu-icon{
array('Themify_Social_Share','shortcode')); display:block;
position:absolute;
Mobile-menu.css position:absolute;
top:12px;
#headerwrap{ text-decoration:none;
right:0;
min-height:60px top:14px;
z-index:9999;
} right:12px;
line-height:1em;
#header{ min-width:36px;
border-radius:100%;
height:auto; min-height:36px;
padding: 12px 10px;
width:auto; transform-origin:center;
}
text-align:initial; z-index:1;
#menu-icon:hover{
padding:0; border-radius:100%;
background-
} color:rgba(150,150,150,.15); }

#site-logo{ } #menu-icon-close:before,

font-size:27px .menu-icon-inner{ #menu-icon-close:after{

} width:22px; height:60%

#site-description{ height:18px }

left:0; } #menu-icon-close:hover{

transform:none; .menu-icon-inner:before, background-


color:rgba(150,150,150,.15)
} .menu-icon-inner:after{
}
#site-description:before{ content:'';
#cart-link-mobile{
left:0; display:block;
display:block;
margin-left:24px position:absolute;
position:absolute;
} left:0;
top:12px;
body:not(.header-minbar-left):not(.header- width:100%;
minbar-right):not(.header-left- right:50px;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.mobile-menu-visible .icon-menu .icon-
menu-count{
z-index:9; margin:0
bottom:auto;
} }
top:18px;
#cart-link-mobile .icon-shopping-cart{ .search-button .tf_fa{
right:18px;
font-size:24px; font-size:1.3em;
left:auto
padding: 9px; padding:1.06em .8em
}
} }
.sidemenu-on .wishlist + #cart-icon-count
#header .icon-shopping-cart.tf_loader{ .header-icons{ #cart-wrap{

font-size:15px; justify-content:normal; left:50%;

padding:3px; position:static top:100%;

margin-top:11px } width:276px;

} .top-icon-wrap li{ transform:translateX(-50%)

#cart-link-mobile .icon-shopping-cart svg{ width:33%; }

margin-top:-6px;/* for margin:0 -1px; .sidemenu-on #cart-wrap{


alignment */
padding:0 left:6px;
}
} width:276px
#cart-link-mobile .icon-menu:hover i {
.top-icon-wrap li a{ }
background-
color:rgba(150,150,150,.15); max-width:none; #cart-wrap a{

} display:block; text-align:left

.top-icon-wrap{ text-align:center; }

margin:auto; padding:1em .5em #headerwrap #cart-icon{

border-top:1px solid } right:6%


rgba(0,0,0,.05);
.top-icon-wrap li a .tooltip{ }
background:rgba(0,0,0,.03);
background-color:transparent; .icon-menu li > a .tooltip{
display:block;
color:#787878; margin-top:0
order:2;
display:block; }
width:100%;
position:static; .icon-menu .cart a .tooltip{
padding:1em 0
padding:.4em 0 0; display:block
}
font-size:.8em; }
.sidemenu .search-button{
margin:0; .sidemenu{
order:1;
opacity:1; transition:all .2s ease-in-out;
width:71px;
visibility:visible; transition-property:left,right;
border-radius:0;
transform:none; height:100%;
border:none;
color:inherit width:320px;
border-right:1px solid
rgba(0,0,0,.05); } padding:0 0 20px;

/* re-position wishlist count on slide menu


*/

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
background-color:#fff; padding:0; #main-nav a{

color:#030301; margin:0 0 1em; background:none;

display:block; border-bottom:1px solid border:none;


rgba(0,0,0,.05);
overflow-y:auto; border-top:solid 1px
background-color:transparent rgba(0,0,0,.05);
position:fixed;
} color:#030301;
text-align:left;
#main-nav li{ display:block;
top:0;
clear:both; font-size:100%;
z-index:1100;
float:none; width:auto;
box-sizing:border-box
display:block; padding:.6em .4em .6em 1.4em;
}
} margin:0;
#mobile-menu{
.icon-menu li> .sub-menu, line-height:1.5em;
right:-320px
#main-nav li> .sub-menu { text-decoration:none
}
position: static; }
#mobile-menu.sidemenu-on{
width: auto; #main-nav ul a{
right:0;
height: auto; font-size:.95em;
box-shadow:-6px 0 20px 5px
rgba(0,0,0,.25) border: none; padding:.6em 0;

} margin: 0 0 0 2.8em; width:auto

.sidemenu-right{ background: none; }

left:-320px padding: 0; #main-nav a:hover,

} display: none; #main-nav .current_page_item > a,

.sidemenu-left, opacity: 1; #main-nav .current-menu-item > a{

.sidemenu-left #headerwrap{ transform: none; color:#f0be5b

left:320px color: inherit; }

} pointer-events:auto; #headerwrap #main-nav .has-sub-menu > a


{
.sidemenu-left #mobile-menu.sidemenu- box-shadow: none;
on{ padding-right:40px; /* for
border-radius:0; arrow spacing */
left:0
} }
}
.icon-menu li.toggle-on> .sub-menu, #main-nav .child-arrow{
#mobile-menu-panel a{
#main-nav li.toggle-on> .sub-menu{ display:block
color:#030301;
display:block }
text-decoration:none
} #main-nav .highlight-link>a{
}
#headerwrap #main-nav ul ul{ border:none;
#main-nav{
margin-left:1.25em; border-top: solid 1px
float:none; rgba(0,0,0,.05);
}
position:static;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
box-shadow:none; #main-nav .has-mega-column > .sub- .mobile-menu-visible #headerwrap #cart-
menu .widget{ link-mobile,
border-radius:0;
margin-top:.5em; .slide-cart-visible #headerwrap #cart-link-
padding:.6em .4em .6em 1.4em; mobile,
margin-bottom:.5em
} body:not(.header-left-pane):not(.header-
} right-pane):not(.header-minbar-
/* Mega menu */ left):not(.header-minbar-right) .top-icon-
#main-nav .has-mega-column .product- wrap li#cart-icon-count,
#main-nav .has-mega-column > .sub-menu, categories .count{
.top-icon-wrap li a .tooltip:before,
#main-nav .has-mega > .sub-menu { right:2em
#headerwrap > .top-bar-widgets,
padding:0; }
#main-nav .mega-sub-menu li:hover
margin:0; .top-bar-left, a:after,
width: auto; .top-bar-right{ #main-nav .mega-menu-posts,
background-color:transparent width:100%; #main-nav > li:hover > a:before,
} float:none; #main-nav > .current_page_item >
#main-nav .has-mega-column > .sub-menu, a:before,
text-align:inherit

#main-nav .has-mega-column > .sub-menu #main-nav > .current-menu-item >


}
ul, a:before,
.top-bar-widgets .top-bar-widget-inner{
#main-nav .has-mega-sub-menu .mega- #main-nav > .current_page_item >
sub-menu ul{ max-width:none; a:hover:before,

float:none; background-color:transparent; #main-nav > .current-menu-item >


a:hover:before{
margin: 0 0 0 2.8em; padding:0 1.4em
display:none
background-color:transparent }
}
} .top-bar-widgets{
Mobile-menu-min.css
#main-nav .has-mega-column .widgettitle, background-color:transparent
#headerwrap{min-
#main-nav .has-mega-column > .sub-menu } height:60px}#header{height:auto;width:aut
> .columns-sub-item > a, o;text-align:initial;padding:0}#site-
.fixed-header .top-bar-widgets, logo{font-size:27px}#site-
#main-nav .has-mega-column > .sub-menu description{left:0;transform:none}#site-
a{ .sidemenu .top-bar-widgets{
description:before{left:0;margin-
display:block left:24px}body:not(.header-minbar-
font-size:inherit;
left):not(.header-minbar-right):not(.header-
font-weight:400; } left-pane):not(.header-right-
pane):not(.header-slide-left):not(.header-
text-transform:none; #main- slide-right)#site-
nav .woocommerce .product_list_widget description{left:0;transform:none;text-
border:none; li{ align:left}body:not(.header-minbar-
left):not(.header-minbar-right):not(.header-
border-top:1px solid padding-bottom:.8em ! left-pane):not(.header-right-
rgba(0,0,0,.05); important pane):not(.header-slide-left):not(.header-
slide-right)#site-
margin:0; }
description:before{left:0;margin-
padding:.6em .4em .6em 0; #main- left:24px}#menu-
nav .woocommerce .product_list_widget li icon{position:absolute;top:12px;right:0;z-
letter-spacing:inherit; a{ index:9999;line-height:1em;border-
radius:100%;padding:12px 10px}#menu-
font-family:inherit padding:1em 1em .4em 0 icon:hover{background-
color:rgba(150,150,150,.15)}.menu-icon-
} } inner{width:22px;height:18px}.menu-
icon-inner:before,.menu-icon-
.mobile-menu-visible #headerwrap #menu-
icon,

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
inner:after{content:'';display:block;position sizing:border-box}#mobile-menu{right:- top:.5em;margin-bottom:.5em}#main-
:absolute;left:0;width:100%;transition:trans 320px}#mobile-menu.sidemenu- nav .has-mega-column .product-
form .7s ease;box-sizing:border- on{right:0;box-shadow:-6px 0 20px 5px categories .count{right:2em}.top-bar-
box}.menu-icon- rgba(0,0,0,.25)}.sidemenu-right{left:- left,.top-bar-
inner:before{top:0;height:100%}.menu- 320px}.sidemenu-left,.sidemenu-left right{width:100%;float:none;text-
icon- #headerwrap{left:320px}.sidemenu-left align:inherit}.top-bar-widgets .top-bar-
inner:after{top:50%;transform:translateY(- #mobile-menu.sidemenu- widget-inner{max-width:none;background-
50%)}#menu-icon- on{left:0}#mobile-menu-panel color:transparent;padding:0 1.4em}.top-
close{display:block;position:absolute;text- a{color:#030301;text- bar-widgets{background-
decoration:none;top:14px;right:12px;min- decoration:none}#main- color:transparent}.fixed-header .top-bar-
width:36px;min-height:36px;transform- nav{float:none;position:static;padding:0;m widgets,.sidemenu .top-bar-
origin:center;z-index:1;border- argin:0 0 1em;border-bottom:1px solid widgets{display:block}#main-
radius:100%}#menu-icon- rgba(0,0,0,.05);background- nav .woocommerce .product_list_widget
close:before,#menu-icon- color:transparent}#main-nav li{padding-bottom:.8em !important}#main-
close:after{height:60%}#menu-icon- li{clear:both;float:none;display:block}.ico nav .woocommerce .product_list_widget li
close:hover{background- n-menu li>.sub-menu,#main-nav li>.sub- a{padding:1em 1em .4em 0}.mobile-menu-
color:rgba(150,150,150,.15)}#cart-link- menu{position:static;width:auto;height:aut visible #headerwrap #menu-icon,.mobile-
mobile{display:block;position:absolute;top o;border:0;margin:0 0 0 menu-visible #headerwrap #cart-link-
:12px;right:50px;z-index:9}#cart-link- 2.8em;background:0;padding:0;display:non mobile,.slide-cart-visible #headerwrap
mobile .icon-shopping-cart{font- e;opacity:1;transform:none;color:inherit;po #cart-link-mobile,body:not(.header-left-
size:24px;padding:9px}#header .icon- inter-events:auto;box-shadow:none;border- pane):not(.header-right-pane):not(.header-
shopping-cart.tf_loader{font- radius:0}.icon-menu li.toggle-on>.sub- minbar-left):not(.header-minbar-right) .top-
size:15px;padding:3px;margin- menu,#main-nav li.toggle-on>.sub- icon-wrap li#cart-icon-count,.top-icon-
top:11px}#cart-link-mobile .icon- menu{display:block}#headerwrap #main- wrap li a .tooltip:before,#headerwrap>.top-
shopping-cart svg{margin-top:-6px}#cart- nav ul ul{margin-left:1.25em}#main-nav bar-widgets,#main-nav .mega-sub-menu
link-mobile .icon-menu:hover a{background:0;border:0;border-top:solid li:hover a:after,#main-nav .mega-menu-
i{background- 1px posts,#main-nav>li:hover>a:before,#main-
color:rgba(150,150,150,.15)}.top-icon- rgba(0,0,0,.05);color:#030301;display:bloc nav>.current_page_item>a:before,#main-
wrap{margin:auto;border-top:1px solid k;font- nav>.current-menu-item>a:before,#main-
rgba(0,0,0,.05);background:rgba(0,0,0,.03); size:100%;width:auto;padding:.6em .4em . nav>.current_page_item>a:hover:before,#
display:block;order:2;width:100%;padding 6em 1.4em;margin:0;line- main-nav>.current-menu-
:1em 0}.sidemenu .search- height:1.5em;text-decoration:none}#main- item>a:hover:before{display:none}
button{order:1;width:71px;border- nav ul a{font-size:.95em;padding:.6em
radius:0;border:0;border-right:1px solid 0;width:auto}#main-nav a:hover,#main- Page
rgba(0,0,0,.05);margin:0}.search- nav .current_page_item>a,#main-
button .tf_fa{font- nav .current-menu- <?php
size:1.3em;padding:1.06em .8em}.header- item>a{color:#f0be5b}#headerwrap
icons{justify- #main-nav .has-sub-menu>a{padding- global $themify;
content:normal;position:static}.top-icon- right:40px}#main-nav .child-
$themify->isPage=true;
wrap li{width:33%;margin:0 - arrow{display:block}#main-nav .highlight-
1px;padding:0}.top-icon-wrap li a{max- link>a{border:0;border-top:solid 1px get_template_part('index');
width:none;display:block;text- rgba(0,0,0,.05);box-shadow:none;border-
align:center;padding:1em .5em}.top-icon- radius:0;padding:.6em .4em .6em rtl.css
wrap li a .tooltip{background- 1.4em}#main-nav .has-mega-column>.sub-
color:transparent;color:#787878;display:bl menu,#main-nav .has-mega>.sub- body{
ock;position:static;padding:.4em 0 0;font- menu{padding:0;margin:0;width:auto;back
size:.8em;margin:0;opacity:1;visibility:visi ground-color:transparent}#main-nav .has- text-align:right
ble;transform:none;color:inherit}.mobile- mega-column>.sub-menu,#main-nav .has-
menu-visible .icon-menu .icon-menu- mega-column>.sub-menu ul,#main- }
count{bottom:auto;top:18px;right:18px;left nav .has-mega-sub-menu .mega-sub-menu
blockquote:before{
:auto}.sidemenu-on .wishlist+#cart-icon- ul{float:none;margin:0 0 0
count #cart- 2.8em;background- content:'\201D';
wrap{left:50%;top:100%;width:276px;tran color:transparent}#main-nav .has-mega-
sform:translateX(-50%)}.sidemenu-on column .widgettitle,#main-nav .has-mega- margin-right:-0.5em
#cart-wrap{left:6px;width:276px}#cart- column>.sub-menu>.columns-sub-
wrap a{text-align:left}#headerwrap #cart- item>a,#main-nav .has-mega- }
icon{right:6%}.icon-menu column>.sub-menu a{font-
li>a .tooltip{margin-top:0}.icon-menu .cart size:inherit;font-weight:400;text- .col4-1,.col4-2,.col4-3,.col3-1,.col3-
a .tooltip{display:block}.sidemenu{transiti transform:none;border:0;border-top:1px 2,.col2-1{
on:all .2s ease-in-out;transition- solid
property:left,right;height:100%;width:320p rgba(0,0,0,.05);margin:0;padding:.6em .4e float:right
x;padding:0 0 20px;background- m .6em 0;letter-spacing:inherit;font-
}
color:#fff;color:#030301;display:block;ove family:inherit}#main-nav .has-mega-
rflow-y:auto;position:fixed;text- column>.sub-menu .widget{margin-
align:left;top:0;z-index:1100;box-

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.col.first,.col4-1.first,.col4-2.first,.col4- .mega-sub-menu ul{ #main-nav .has-mega-column .product-
3.first,.col3-1.first,.col3-2.first,.col2- categories .count{
1.first{ float:right
float:left;
clear:right }
right:auto;
} .mega-sub-menu li .tf_loader:before{
left:0
.back-top{ right:auto;
}
margin-right:0; left:22px
.sidemenu .search-button{
margin-left:1.1em }
border-left:none;
} .mega-sub-menu li
a:not(.tf_loader):before{ border-right:1px solid
#commentform p label{ rgba(0,0,0,.05);
right:auto;
transform: translate(- margin-left:-28px;
12px,35px) left:22px;
margin-right:10px
} transform:rotateZ(-135deg)
}
#commentform }
input[type=text],#commentform .header-icons{
input[type=email],#commentform #main-nav .mega-menu-posts{
input[type=url]{ right:auto;
padding:0 2% 0 0;
margin-right:0 left:0
border-left:none;
} }
}
.product-img-center.woocommerce .header-boxed-content .sidemenu .search-
#main-nav .has-mega-sub-menu .mega- button,
#content #commentform{
sub-menu>ul a{
text-align:right .header-block .sidemenu .search-button{
padding:.65em 0 .65em 2.4em
} border:none;
}
#commentform .comment-form-cookies- }
#main-nav .mega-sub-menu li a:after{
consent input[type="checkbox"]{
.header-overlay .sidemenu .search-button{
border-right:none;
margin-right:0;
border:1px solid;
border-left-color:#000;
margin-left:.5em
}
right:auto;
}
#close-search-box{
left:3px;
#main-nav{
right:auto;
transform:rotate(-45deg)
float:right;
left:4%
}
text-align:right;
}
#main-nav .has-mega-sub-menu .mega-
left:auto;
sub-menu>ul li{ #searchform .tf_fa{
right:0
text-align:right left:auto;
}
} right:2px
#main-nav .has-mega-column>.sub-menu
#main-nav .has-mega-sub-menu .mega- }
li,
sub-menu,
#searchform #s{
#main-nav .has-mega-column .widgettitle,
#main-nav .has-mega-column>.sub-menu{
padding-left:0;
#main-nav .has-mega-column>.sub-
left:auto;
menu>.columns-sub-item>a{ padding-right:1.75em
right:0
text-align:right }
}
}

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.search-lightbox .tf_loader{ right:0 .header-right-pane #main-nav .has-mega-
column .product-categories .count{
right:auto; }
right:auto;
left:10px; .header-left-pane #main-nav a{
left:2em
} padding:.6em 1.4em
}
.header-block #main-nav{ }
.header-right-pane.mobile_menu_active
text-align:inherit .header-left-pane #headerwrap #main-nav #menu-icon{
ul,
} left:auto;
.header-right-pane #headerwrap #main-nav
.header-block .icon-menu i{ ul{ right: 0;

margin-right:0; padding:0 2.8em 0 0 }

margin-left:.4em } .header-minbar-left #headerwrap #main-


nav ul,
} .header-left-pane #headerwrap #main-nav
ul ul, .header-minbar-right #headerwrap #main-
.header-boxed-layout .logo-wrap{ nav ul{
.header-right-pane #headerwrap #main-nav
float:right; ul ul{ padding:0 2.8em 0 0
margin-left:0; padding-right:1.25em }
margin-right:7px } .header-minbar-left #headerwrap #main-
nav ul ul,
} .header-left-pane #headerwrap #main-nav
ul a, .header-minbar-right #headerwrap #main-
.header-boxed-layout #main-nav{
nav ul ul{
.header-right-pane #headerwrap #main-nav
padding-left:0;
ul a{ padding-right:1.25em
padding-right:23px
padding-right:0; }
}
padding-left:1em .header-minbar-left #headerwrap #main-
.header-boxed-layout #site-description{ nav ul a,
}
left:auto; .header-minbar-right #headerwrap #main-
.header-left-pane #headerwrap .search- nav ul a{
right:0 button,
padding-right:0
} .header-right-pane #headerwrap .search-
button{ }
.header-bottom .logo-wrap{
margin-left:0; .header-minbar-left.mobile-menu-visible
float:right; #headerwrap .search-button,
margin-right:.3em
margin-left:0; .header-minbar-right.mobile-menu-visible
} #headerwrap .search-button{
margin-right:7px
.header-left-pane #main-nav .menu- left:auto;
} item .child-arrow,
right:0;
.header-bottom #main-nav{ .header-right-pane #main-nav .menu-
item .child-arrow{ border-right:none;
padding-left:0;
right:auto; border-left:1px solid
padding-right:23px rgba(0,0,0,.05)
left:15px
} }
}
.header-bottom #site-description{ .header-minbar-left #main-nav .has-mega-
.header-left-pane #main-nav .has-mega- column .product-categories .count,
left:auto; column .product-categories .count,

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.header-minbar-right #main-nav .has- .header-overlay #main-nav{ .header-slide-left #headerwrap #main-nav
mega-column .product-categories .count{ ul ul,
float:none
left:2em .header-slide-right #headerwrap #main-nav
} ul ul{
}
.header-overlay #main-nav .menu- padding-right:1.25em
.header-minbar-left #main-nav .menu- item .child-arrow{
itemn .child-arrow, }
right:auto;
.header-minbar-right #main-nav .menu- .header-slide-left #headerwrap #main-nav
item .child-arrow{ left:6px ul a,

left:15px; } .header-slide-right #headerwrap #main-nav


ul a{
right:auto .header-overlay #headerwrap #main-nav
ul{ padding-right:0
}
padding:0 2.8em 0 0 }
.header-minbar-left #menu-icon-close,
} .header-slide-left #main-nav .has-mega-
.header-minbar-right #menu-icon-close{ column .product-categories .count,
.header-overlay #headerwrap #main-nav ul
right:auto; ul{ .header-slide-right #main-nav .has-mega-
column .product-categories .count{
left:1em padding-right:1.25em
left:2em
} }
}
.header-minbar-right .logo-wrap{ .header-overlay #headerwrap #main-nav ul
a{ .header-slide-left.mobile_menu_active
right:-92px #headerwrap .search-button,
padding-right:0
} .header-slide-right.mobile_menu_active
} #headerwrap .search-button{
.header-overlay #header{
.header-slide-left.mobile-menu-visible border: none;
text-align:right #menu-icon-close,
border-left: 1px solid
} .header-slide-right.mobile-menu-visible rgba(0,0,0,.05);
#menu-icon-close{
.header-overlay #site-description{
}
right:auto;
left:auto;
.header-slide-left .header-icons{
left:1em
right:3px
left:auto;
}
}
right:0
.header-slide-left #main-nav .menu-
.header-overlay #site-description:before{ item .child-arrow, }
left:auto; .header-slide-right #main-nav .menu- .header-slide-left #headerwrap .search-
item .child-arrow{ button{
right:0;
right:auto; order:-1
margin-left:0;
left:15px }
margin-right:15px
} .header-slide-right #headerwrap .search-
}
button{
.header-slide-left #headerwrap #main-nav
.header-overlay #menu-icon{
ul, order:unset
right:auto;
.header-slide-right #headerwrap #main-nav }
left:20px ul{
.header-slide-right.mobile_menu_active
} padding:0 2.8em 0 0 #headerwrap #menu-icon{

} left:auto

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.header-slide-right.mobile_menu_active .header-boxed-content #footer{ left:auto;
#header{
max-width:95% right:48px
text-align:left
} }
}
.header-logo-left #main-nav{ .mobile_menu_active.header-logo-
.header-stripe #header{ left .sidemenu .search-button{
float:left;
padding:0 25px margin-right:0
text-align:right;
} }
left:0;
.header-stripe .logo-wrap{ .skin-elegant .sidemenu .search-button{
right:auto;
float:right border:none
}
} }
.header-logo-left .header-icons{
.header-stripe #main-nav{ .skin-music.transparent-
right:0; header .sidemenu .search-button{
padding-left:0;
left:auto; border-left:none;
padding-right:23px
flex-direction:row-reverse border-right:1px solid
} rgba(255,255,255,0.3)
}
.header-stripe #site-description{ }
.header-logo-left .sidemenu .search-button{
left:auto; .skin-music #main-nav{
border:none;
right:0; right:auto;
border-left:1px solid
text-align:right rgba(0,0,0,.05); left:0;

} margin-left:auto; float:left;

.header-stripe .sidemenu .search-button{ margin-right:-28px padding-right:0;

margin-left:0; } padding-left:23px

border-radius:8px 0 0 8px .header-logo-left #site-description{ }

} text-align:right .skin-music.header-logo-left #main-nav-


wrap{
.mobile_menu_active.header-stripe }
#headerwrap #menu-icon{ float:left;
.header-logo-left #site-description:before{
right:auto; padding-right:0;
right:auto;
left:28px padding-left:60px
left:0;
} }
margin-left:14px
.mobile_menu_active.header-stripe body:not(.header-logo-center):not(.header-
#headerwrap #cart-link-mobile{ } overlay):not(.header-minbar-
left):not(.header-minbar-right):not(.header-
right:auto; .mobile_menu_active.header-logo-left
slide-left):not(.header-slide-right).skin-
#menu-icon{
sport .sidemenu .search-button{
left:75px;
left:auto;
float:left;
}
right:0
border:none
.header-boxed-content #main-nav{
}
}
text-align:inherit
.mobile_menu_active.header-logo-left
} #cart-link-mobile{

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.skin-music.header-logo-left .top-icon- body:not(.header-boxed-content).skin-sport box-sizing:border-box;
wrap, #site-description:before,
padding-right:4.5%
body:not(.header-logo-center):not(.header- .skin-sport.woocommerce
overlay):not(.header-minbar- span.onsale:before{ }
left):not(.header-minbar-right):not(.header-
slide-left):not(.header-slide-right).skin- transform:skewX(30deg) .woocommerce ul.products
sport .search-button+.top-icon-wrap{ li.product .button{
}
float:left margin-right:0;
.skin-sport button:before,
margin-left:.75em
.skin-sport.woocommerce-product-search
} button:before, }

.skin-sport.header-logo-left #main-nav{ .skin-sport #cart-wrap .button:before, .share-wrap,

right:auto; .skin-sport .form-submit-wrapper:before, .quick-look{

left:0; .skin-sport.woocommerce ul.products margin-left:0;


li.product .button:before,
float:left; margin-right:5px
.skin-sport.woocommerce #content
padding-right:0; input.button:before, }

padding-left:23px .skin-sport.woocommerce #respond .list-thumb-image .wishlist-button .tooltip,


input#submit:before,
} .list-large-image .wishlist-button .tooltip,
.skin-sport.woocommerce #content
.skin-sport .icon-menu .icon-menu-count{ .auto_tiles .wishlist-button .tooltip{
input.button.alt:before,

left:auto; transform:none;
.skin-sport.woocommerce #respond
input#submit.alt:before, left:auto;
right:-6px
.skin-sport.woocommerce a.button:before, right:0
}
.skin-sport.woocommerce }
body:not(.header-boxed-content).skin-sport button.button:before,
#site-description{
.list-thumb-image .wishlist-
.skin-sport.woocommerce button .tooltip:before,
margin-left:0; input.button:before,
margin-right:7px .list-large-image .wishlist-
.skin-sport.woocommerce button .tooltip:before,
a.button.alt:before,
}
.auto_tiles .wishlist-button .tooltip:before{
.skin-sport.woocommerce
.skin-sport.woocommerce .woocommerce-
button.button.alt:before, transform:none;
ordering select{
.skin-sport.woocommerce left:auto;
padding:.8em 1em
input.button.alt:before{
} right:11px
transform:skewX(20deg)
.skin-sport.woocommerce .woocommerce- }
}
ordering:after{
.woocommerce .woocommerce-product-
.woocommerce ul.cart_list li img, rating .star-rating{
margin-right:-40px;
.woocommerce ul.product_list_widget li float:right;
margin-left:30px
img{
} margin-left:4px;
margin-right:4px;
body:not(.header-block):not(.header- margin-right:0
margin-left:0;
minbar-left):not(.header-minbar-
}
right).skin-sport .icon-menu li > float:left
a .tooltip:before, .woocommerce div.product
} form.cart .button,
.skin-sport .icon-menu .icon-menu-
count:before, .woocommerce #content div.product .woocommerce .quantity .qty{
div.summary{
margin-right:0;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
margin-left:10px #wishlist- .mobile_menu_active #menu-icon-close{
wrapper .products .product{
} right:auto;
padding-left:0;
.woocommerce.woo_qty_btn .quantity .mi left:1em
nus{ }
}
border-radius:0 30px 30px 0 }
.mobile_menu_active #main-nav{
} .mobile_menu_active #site-description{
text-align:right;
.woocommerce.woo_qty_btn .quantity .plu left:auto;
s{ padding-right:0;
right:0
border-radius:30px 0 0 30px float:none
}
} }
.mobile_menu_active #site-
.sidebar-none .has-post- description:before{ .mobile_menu_active #main-nav .menu-
thumbnail .woocommerce-breadcrumb{ item .child-arrow{
left:auto;
text-align:right right:auto;
margin-left:0;
} left:10px
margin-right:14px
#wishlist-wrapper .products .product{ }
}
padding-right:45px; .mobile_menu_active #headerwrap #main-
.mobile_menu_active.header-logo-left nav ul{
padding-left:200px; #site-description{
margin:0;
} right:auto;
padding:0 2.8em 0 0
#wishlist-wrapper .products .post-image{ left:0
}
margin-right:0; }
.mobile_menu_active #headerwrap #main-
margin-left:2em .mobile_menu_active.header-logo-left nav ul ul{
#site-description:before{
} padding-right:1.25em
left:0;
#wishlist- }
wrapper .products .product .product- margin-left:14px;
content h3, .mobile_menu_active #main-nav .has-
margin-right:auto mega-column .product-categories .count{
#wishlist-
wrapper .products .product .product- } right:auto;
content .price{
.mobile_menu_active #cart-link-mobile{ left:2em
text-align:right
right:auto; }
}
left:45px .sidemenu-left #mobile-menu.sidemenu-
#wishlist- on{
wrapper .products .product .button{ }
right:auto
right:auto; .mobile_menu_active #menu-icon{
}
left:0 right:auto;
.mobile_menu_active #main-
} left:0 nav .woocommerce .product_list_widget li
a{
#wishlist-wrapper .wishlist-remove{ }
padding-left:1em;
left:auto; .mobile_menu_active #main-nav a{
padding-right: 0;
right:0 padding-right:1.4em;
}
} }
.slide-cart-visible.sidemenu-right,
@media screen and (max-width:1280px){

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.slide-cart-visible.sidemenu-right .fixed- .loops-wrapper.grid2-thumb .post:nth-of- display:inline-block;
header, type(2n+1){
vertical-align:middle;
.mobile-menu- margin-right:0;
visible.mobile_menu_active.sidemenu- border-bottom:solid 1px rgba(0,0,0,.2);
right{ clear:right
width:21px;
left:0 }
margin-right:10px;
} .loops-wrapper.grid2-thumb .post,
opacity:.5
.mobile-menu- .loops-wrapper.grid2 .post,
visible.mobile_menu_active.sidemenu- }
right #headerwrap{ .loops-wrapper.grid3 .post,
.commentlist .comment-reply-
z-index:1001 .loops-wrapper.grid4 .post{ link:hover:after{

} margin-left:0; animation:RightToLeft .8s infinite


linear;
.post-author:before{ margin-right:3.2%;
opacity:1
margin-right:0; float:right
}
margin-left:6px }
.post-nav .prev .arrow{
} .loops-wrapper.grid2-thumb .post-image,
margin-right:0;
.woocommerce .woocommerce-ordering .loops-wrapper.list-thumb-image .post-
select{ image, margin-left:1em;

padding-right:0; .loops-wrapper.list-large-image .post- float:right


image{
padding-left:30px; }
float:right;
background-position:left .post-nav .next .arrow{
margin:.35em 0 1.3em 4.4%
} float:left;
}
.woocommerce .woocommerce- margin-left:0;
ordering:after{
margin-right:1em
float:left; /* Comments */
}
margin-left:7px; .commentlist .avatar{
.pagenav{
margin-right:-20px float:right;
text-align:left
} margin:0 0 0 33px
}
body.sidebar-none .woocommerce- }
.progress-bar{
ordering:after{
.commentlist .reply{
text-align:right
margin-left:0;
margin:0 118px 4px 0;
}
margin-right:-22px
text-align:left
.footer-horizontal-left .below-logo-widget,
}
}
.footer-logo-wrap,
.loops-wrapper.grid4 .post:nth-of-
.commentlist .comment-reply-link::before{
type(4n+1), .footer-widgets-wrap{
content:none
.loops-wrapper.grid3 .post:nth-of- float:right
type(3n+1), }
}
.loops-wrapper.grid2 .post:nth-of- .commentlist .comment-reply-link:after{
type(2n+1),
content:'';

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.footer-widgets-wrap{ .woocommerce ul.loops- }
wrapper.products.grid5>li.product:nth-of-
margin-left:0; type(5n + 1), .loops-
wrapper.products.grid4>.product:nth-of-
margin-right:4% .woocommerce ul.loops- type(2n+1),
wrapper.products.grid4>li.product:nth-of-
} type(4n + 1), .loops-wrapper.grid4>.post:nth-
of-type(2n+1){
.footer-horizontal-left #footer-logo{ .woocommerce ul.loops-
wrapper.products.grid3>li.product:nth-of- margin-right:0;
float:right;
type(3n + 1),
clear:right
margin-left:2%;
.woocommerce ul.loops-
wrapper.products.grid2>li.product:nth-of- }
margin-right:0
type(2n + 1){
}
}
clear:right
@media screen and (max-width:760px){
.footer-horizontal-right #footer-logo{
}
.header-minbar-right .logo-
float:left wrap{
}
} right:-77px;
@media screen and (max-width:900px){
.footer-right-column .back-top, }
.woocommerce ul.loops-
.footer-horizontal-right .back-top{ wrapper.products.grid5>li.product:nth-of-
}
type(5n){
order:0 @media screen and (max-width:680px){
margin-left:3.2%
} .woocommerce ul.loops-
}
wrapper.products.grid3>li.product:nth-of-
.woocommerce ul.loops-
.woocommerce ul.loops- type(2n),
wrapper.products>li.product:nth-of-type(n)
{ wrapper.products.grid6>li.product:nth-of-
.woocommerce ul.loops-
type(3n),
wrapper.products.grid6>li.product:nth-of-
float:right;
.woocommerce ul.loops- type(2n){
margin-left:3.2% wrapper.products.grid5>li.product:nth-of-
margin-left:0
type(2n),
}
}
.woocommerce ul.loops-
.woocommerce ul.loops- wrapper.products.grid4>li.product:nth-of- .woocommerce ul.loops-
wrapper.products.grid6>li.product:nth-of- type(2n), wrapper.products.grid6>li.product:nth-of-
type(6n),
type(2n + 1){
.woocommerce ul.loops-
.woocommerce ul.loops- wrapper.products.grid3>li.product:nth-of- clear:right;
wrapper.products.grid5>li.product:nth-of- type(2n),
type(5n), margin-left:3.2%
.woocommerce ul.loops-
.woocommerce ul.loops- wrapper.products.grid2>li.product:nth-of- }
wrapper.products.grid4>li.product:nth-of- type(2n){
type(4n), .woocommerce ul.loops-
margin-left:0 wrapper.products.grid6>li.product:nth-of-
.woocommerce ul.loops- type(3n + 1){
wrapper.products.grid3>li.product:nth-of- }
type(3n), clear:left
.woocommerce ul.loops-
.woocommerce ul.loops- wrapper.products.grid6>li.product:nth-of- }
wrapper.products.grid2>li.product:nth-of- type(3n + 1),
type(2n){ .footer-right-column .back-top,
.woocommerce ul.loops-
margin-left:0 wrapper.products.grid3>li.product:nth-of- .footer-horizontal-right .back-top{
type(2n + 1){
} order:2

@media screen and (min-width:900px){ }


clear:right;
.woocommerce ul.loops- .loops-wrapper.grid3 .post,
wrapper.products.grid6>li.product:nth-of- margin-left:3.2%
type(6n + 1), .loops-wrapper.grid4 .post{

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
margin-right:0 ?>

} dynamic_sidebar( themify_theme_get_side </main>


bar_type() );
} <!-- /content -->
themify_sidebar_end(); //
Search hook ?> <?php

</aside> themify_content_after(); // hook


<?php
<!-- /#sidebar --> }
get_template_part( 'index','search' );
<?php themify_sidebar_after(); // hook themify_get_sidebar();
Search form
Single ?>
<?php
<?php </div>
Themify_Enqueue_Assets::loadThemeStyl
eModule('search-form'); get_header(); <!-- /layout-container -->
?> ?> <?php
<form method="get" id="searchform" <!-- layout-container --> get_footer();
action="<?php echo home_url(); ?>/">
<div id="layout" class="pagewidth tf_box Style.css
<div class="icon-search"><? tf_clearfix">
php echo html,body,address,blockquote,div,dl,form,
themify_get_icon('search','ti',false,false,arr <?php h1,h2,h3,h4,h5,h6,ol,p,pre,table,ul,
ay('aria-label'=>__('Search','themify')))?
></div> if (have_posts()) { dd,dt,li,tbody,td,tfoot,th,thead,tr,button,del,
ins,map,object,
<span class="tf_loader the_post();
tf_hide"></span> a,abbr,acronym,b,bdo,big,br,cite,code,dfn,e
themify_content_before(); // m,i,img,kbd,q,samp,small,span,
<input type="text" name="s" hook
id="s" title="<?php _e( 'Search', strong,sub,sup,tt,var,legend,fieldset,figure{
'themify' ); ?>" placeholder="<?php ?>
_e( 'Search', 'themify' ); ?>" value="<?php margin:0;
<!-- content -->
echo get_search_query(); ?>" />
padding:0
<main id="content" class="tf_left
<?php
tf_box tf_clearfix"> }
if(themify_is_woocommerce_active() &&
'product' === themify_get( 'setting- <?php img,fieldset{
search_post_type','all',true )): ?>
themify_content_start(); // border:0
<input type="hidden" hook
name="post_type" value="product"> }
<?php endif; ?> /* set html5 elements to block */
get_template_part('includes/loop', 'single');
</form> article,aside,details,figcaption,figure,footer
,header,hgroup,menu,nav,section{
Side Bar get_template_part('includes/author-box',
'single'); display:block
<?php
wp_link_pages(array('before' }
?> => '<p class="post-pagination"><strong>' .
__('Pages:', 'themify') . ' </strong>', 'after' address{
<?php themify_sidebar_before(); // hook ?
=> '</p>', 'next_or_number' => 'number',));
> font-style:normal

<aside id="sidebar" class="tf_box tf_right" }


itemscope="itemscope" get_template_part('includes/post-nav');
itemtype="https://schema.org/WPSidebar" html{
>
scroll-behavior:smooth
themify_comments_template();
<?php
}
themify_content_end(); //
themify_sidebar_start(); //
hook iframe,audio{
hook

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
max-width:100% border-left:solid 3px h2{
rgba(150,150,150,.3);
} font-size:1.8em;
}
body{ font-weight:600;
ins{
font:1em/1.7em 'Libre letter-spacing:-.02em
Franklin',Arial,sans-serif; text-decoration:none
}
overflow-wrap:break-word; }
h3{
background-color:#fff; ul,ol{
font-size:1.4em
color:#666; margin:0 0 1.4em 1.6em;
}
-webkit-font- padding:0
smoothing:antialiased; h4{
}
-ms-text-size-adjust:100%; font-size:1.1em;
li{
-moz-text-size-adjust:100%; font-weight:600;
margin:0 0 1em 0;
-webkit-text-size-adjust:100%; text-transform:uppercase;
padding:0
text-size-adjust:100% letter-spacing:.05em
}
} }
ul ul,
a{ h5{
ul ol,
text-decoration:none; font-size:1.1em
ol ol,
transition:color .2s ease-in-out; }
ol ul{
color:#b78711 h6{
margin-top:1em
} font-size:1em
}
a:hover{ }
h1,h2,h3,h4,h5,h6{
text-decoration:none; input,textarea,select,input[type=search],but
line-height:1.4em; ton{
color:#000
margin:0 0 .4em; font-size:100%;
}
color:#000; font-family:inherit;
p{
overflow-wrap:normal; max-width:100%
padding:0;
font-weight:500 }
margin:0 0 1.2em
} input[type=radio],input[type=checkbox],se
} lect,textarea,input[type=text],input[type=pa
h1, ssword],input[type=search],input[type=em
small{ ail],input[type=url],input[type=number],in
.page-title{ put[type=tel],input[type=date],input[type=
font-size:87% datetime],input[type=datetime-
font-size:3em;
local],input[type=month],input[type=time],
}
line-height:90%; input[type=week]{
blockquote{
font-weight:600; background:#fff;
font-size:1.1em;
margin:0 0 .6em; border:1px solid
line-height:1.4em; rgba(0,0,0,.15);
padding:0;

padding:.8em 1.4em; padding:.6em;


letter-spacing:-.03em
margin:0 5% 1.2em; max-width:100%;
}

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
-webkit-appearance:none; background-position:calc(100% border-left:1px solid
- 8px) calc(50% + 3px) transparent;
-moz-appearance:none;
} border-bottom:1px solid
appearance:none; transparent;
#pagewrap input[type=radio],
border-radius:8px transform:rotateZ(-45deg)
#pagewrap input[type=checkbox]{ skewY(-10deg)
}
border-radius:6px; }
input[type=text],input[type=password],inp
ut[type=search],input[type=email],input[ty clear: none; input[type="checkbox"]:checked:before{
pe=url],input[type=number],input[type=tel
],input[type=date],input[type=datetime],in cursor: pointer; border-left:1px solid;
put[type=datetime-
local],input[type=month],input[type=time], padding:0; border-bottom:1px solid;
input[type=week]{
margin:0 .3em 0 0; }
margin:0 1em .4em 0;
width:20px; input[type="radio"]:checked:before{
}
height:20px; content:"";
input[type=text],input[type=password],inp
display: inline-block; display:inline-block;
ut[type=search],input[type=email],input[ty
pe=url],input[type=tel]{ vertical-align:middle; vertical-align:middle;
width:17em text-align:center; border-radius:100%;
} line-height: 1; background-color:#222;
input[type=number]{ -webkit-appearance: none; width:12px;
width:7em } height:12px;
} #pagewrap input[type=radio], }
input[type=checkbox]+label{ input[type=radio]{ select:focus,textarea:focus,input[type=text]
display:inline-block :focus,input[type=password]:focus,input[ty
border-radius:100%; pe=search]:focus,input[type=email]:focus,i
} nput[type=url]:focus,input[type=number]:f
display:inline-flex;
ocus,input[type=tel]:focus,input[type=date]
textarea{ justify-content:center; :focus,input[type=datetime]:focus,input[ty
pe=datetime-
width:100%; align-items:center local]:focus,input[type=month]:focus,input
[type=time]:focus,input[type=week]:focus{
min-height:13.5em; }
border-color:rgba(0,0,0,.5)
margin:0 input[type="checkbox"]{
}
} padding:0 2px
input[type=reset],input[type=submit],butto
select{ } n{
padding-right:30px; input[type="checkbox"]:before{ background-color:#dcaa2e;
background- content:""; border:none;
image:url("data:image/svg+xml,%3Csvg
xmlns='http://www.w3.org/2000/svg' display:inline-block; border-radius:0;
fill='none' stroke-linecap='round'
width='100' height='100' width:12px; color:#fff;
stroke='rgba(55,55,55,.9)' stroke-
width='3'%3E%3Cpolyline points='2.7,2.3 height:5px; cursor:pointer;
49.1,57.2 95.5,2.3 '/%3E%3C/svg%3E");
margin-bottom:4px; font-weight:500;

background-repeat:no-repeat;
margin-left:1px;
background-size:12px;
text-transform:uppercase;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
letter-spacing:.05em; padding:0; }

padding:.8em 1.4em; width:auto; #headerwrap.fixed-header:before{

border-radius:30px; max-width:100%; content:"";

-webkit-appearance:none; float:none position:absolute;

transition-property:background- } top:0;
color,transform,box-shadow;
.col4-1, left:0;
transition-duration: .3s
.col4-2, bottom:0;
}
.col3-1{ right:0;
input[type=reset]:hover,input[type=submit]
:hover,button:hover{ float:left; pointer-events:none;

background:#000; margin-left:3.2% z-index:0;

color:#fff; } -webkit-backdrop-
filter:blur(5px);
transform:translateY(-2px); .col4-1{
backdrop-filter:blur(5px)
box-shadow:0 5px 12px 3px width:22.6%
rgba(0,0,0,.12) }
}
} .slide-cart-visible #headerwrap:before,
.col4-2{
img,textarea,input,.author- .mobile-menu-visible #headerwrap:before{
box,.widget,.col4-1,.col4-2,.col3-1{ width:48.4%
display:none;
box-sizing:border-box }
}
} .col3-1{
.fixed-header-enabled #headerwrap{
.pagewidth, width:31.2%
position:sticky;
.module_row>.row_inner, }
position:-webkit-sticky; /*for safari*/
.module-layout- .col4-1.first,
part .module_row.fullwidth_row_container }
.col4-2.first,
>.row_inner{
.transparent-header #headerwrap,
.col3-1.first{
width:1160px;
.transparent-header.no-fixed-header
margin-left:0; #headerwrap{
max-width:100%;
clear:left position:fixed
margin:0 auto
} }
}
#headerwrap{ /* Announcement Bar compatibility */
#content{
background- .themify_announcement.bar .announcemen
width:72%;
color:rgba(255,255,255,.9); t_container{
padding:6.5% 0
left:0; width:auto;
}
top:0; margin:0 28px
.full_width #layout{
z-index:999; }
width:100%;
position:relative; #header{
max-width:100%
text-align:center; width:calc(100% - 56px);
}
box-shadow:0 1px 15px max-width:none;

.full_width #content{
rgba(0,0,0,.12); margin:0 28px

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
} z-index:2 border-width:2px

#headerwrap a{ } }

color:#000 .top-icon-wrap{ .icon-menu a:hover i {

} display:flex; background-
color:rgba(150,150,150,.15);
#headerwrap a:hover{ align-items:center;
}
color:#dcaa2e flex-wrap:wrap
.icon-menu li>a{
} }
display:inline-block;
.header-icons .search-button{ .icon-menu{
text-decoration:none;
text-decoration:none; margin:0;
margin:3px 5px;
text-align:center; padding:0;
position:relative
outline:0; list-style:none;
}
border-left:1px solid }
rgba(0,0,0,.05); .icon-shopping-cart svg {
.icon-menu li{
margin-right:-28px; margin-top:-2px;/* for
display:inline-block; alignment */
margin-left:10px
vertical-align:middle; }
}
margin:0; .icon-shopping-cart.tf_loader svg {
.header-icons .search-button:hover{
padding:10px 0; display:none
background:rgba(150,150,150,.15)
position:relative; }
}
list-style:none; .icon-menu ul li{
.search-button:focus{
} padding:0
outline:0
.icon-menu i{ }
}
font-size:19px; .icon-menu li>.sub-menu{
.search-button .tf_fa{
padding:9px 10px; text-align:left
display:block;
display:inline-block; }
font-size:1.3em;
vertical-align:middle; .cart-style-dropdown .icon-menu .cart
margin:auto; a .tooltip{
line-height:1;
padding:1.06em .8em display:none
box-shadow:none;
} }
text-shadow:none;
.header-icons{ .icon-menu li>a .tooltip{
border-radius:100%;
position:absolute; background-color:#000;
}
right:0; color:#fff;
#header .icon-shopping-cart.tf_loader{
bottom:0; display:inline-block;
font-size:7px;
display:flex; font-size:.8em;
padding:9px
flex-wrap:wrap;
}

line-height:1.3em;
#header .icon-shopping-
align-items:center; cart.tf_loader:before{ text-align:center;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
padding:.5em 1.15em; position:absolute; /* main level link */

position:absolute; right:-6px; #main-nav a{

top:130%; top:50%; display:inline-block;

margin-top:0; padding:4px; position:relative;

left:50%; border-radius:10px; padding:1.2em .4em;

opacity:0; background-color:#dcaa2e; margin:0 .25em 0 0;

visibility:hidden; font-size:9px; text-decoration:none;

border-radius:30px; line-height:1; text-transform:uppercase;

transform:translateX(-50%); animation:zoomIn .3s ease; letter-spacing:.02em

transition:.3s ease-out; color:#fff; }

transition- text-align:center #main-nav>li>a:before{


property:opacity,visibility;
} content:'';
z-index:1
.tf_loader + .icon-menu-count{ display:block;
}
display:none position:absolute;
.icon-menu li>a:hover .tooltip{
} top:0;
opacity:1;
@keyframes zoomIn{ left:0;
visibility:visible
0%{ transform:scale(.5) } width:100%;
}
100%{ transform:scale(1) } margin-bottom:-1px;
.cart-style-slide-out .icon-menu .cart
a .cart_empty + .tooltip{ } color:transparent;

display:block #main-nav{ border-bottom:3px solid


currentColor;
} margin:0;
transition:inherit
.icon-menu li>a .tooltip:before{ padding:0;
}
content:''; text-align:left;
#main-nav>li:hover>a:before,
display:block; position:absolute;
#main-nav>.current_page_item>a:before,
border:5px solid transparent; width:100%;
#main-nav>.current-menu-item>a:before,
border-bottom-color:#000; left:0;
#main-
position:absolute; bottom:0 nav>.current_page_item>a:hover:before,

bottom:100%; } #main-nav>.current-menu-
item>a:hover:before{
left:50%; #main-nav li{
color:#dcaa2e
margin-left:-5px margin:0;
}
} padding:0;
#main-nav .highlight-link>a{
list-style:none;
padding:.2em 1em;
position:relative;

.icon-menu .icon-menu-count{ display:inline-block


border:1px solid;
min-width:10px; }
border-radius:8px

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
} body:not(.header-left-pane):not(.header- padding:1em
right-pane):not(.header-minbar-
.icon-menu ul a, left):not(.header-minbar-right):not(.header- }
slide-left):not(.header-slide-
#main-nav ul a{ right):not(.header- /* Edge Menu */
overlay):not(.mobile_menu_active)
border:none; #main-nav .edge>.sub-menu{
#mobile-menu.sidemenu-on{
border-bottom:1px solid left:auto;
right:0;
rgba(0,0,0,.05);
right:0
box-shadow:-6px 0 20px 5px
color:#060604;
rgba(0,0,0,.25) }
display:block;
} #main-nav ul .edge>.sub-menu{
font-size:.95em;
body.slide-cart-visible, left:auto;
line-height:1.4em;
body.mobile-menu-visible{ right:100%
letter-spacing:0;
position:relative; }
font-weight:400;
overflow-y:hidden .menu-item .child-arrow{
text-transform:none;
} display:none;
margin:0;
body.slide-cart-visible{ cursor:pointer;
padding:.6em 0;
overflow:hidden !important z-index:12;
width:170px;
} color:#7d7d7d;
box-sizing:border-box
.body-overlay{ width:34px;
}
display:none; height:34px;
.icon-menu ul li:last-child>a,
background-color:rgba(232,232,232,.9); position:absolute;
#main-nav ul li:last-child>a{
width:100%; right:10px;
border-bottom:none
height:100%; top:5px;
}
position:fixed; border-radius:100%;
#main-nav .current_page_item>a,
top:0; transition:transform .4s
#main-nav .current-menu-item>a,
box-shadow:none; }
#main-nav a:hover{
z-index:1000; .menu-item .child-arrow:hover{
color:#b78711
-webkit-backdrop-filter:blur(10px);
}
backdrop-filter:blur(10px) background:rgba(150,150,150,.15);
.menu-icon-inner:before{
} transform:rotateZ(180deg)
border-top:2px solid;
.body-overlay-on{ }
border-bottom:2px solid
display:block .child-arrow:before,
}
} .child-arrow:after{
.menu-icon-inner:after{
.sidemenu-left .body-overlay{ top:50%;
border-top:2px solid
right:auto left:9px;
}
} content:'';

position:absolute;
#slide-cart.sidemenu-on,
.empty-shopdock{

transition:transform .5s ease-in-out;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
height:1px; left:100%;

width:10px; top:0;
background:rgba(214,214,214,.4)
transform:rotate(45deg); }
}
background:currentColor; .icon-menu li>.sub-menu ul{
#main-nav li>.sub-menu{
z-index:9999; left:auto;
display:none
border-radius:10px; right:100%;
}
} top:0;
}
.child-arrow:after{ margin-top:-10px
.icon-menu li>.sub-menu,
left:16px; }
#main-nav li>.sub-menu{
transform:rotate(-45deg) #main-nav .tf_post_count {
color:#484848;
}
background-color:#fff;
.toggle-on>a .child-arrow:after, background:rgba(150,150,150,.15);
box-shadow:0 6px 20px 5px
.toggle-on>a .child-arrow:before{ rgba(0,0,0,.12); border-radius:100%;

left:9px; margin:0; margin:auto 3px;

width:50%; list-style:none; font-size:.7em;

} padding:10px 20px; line-height:1em;

@media (hover:none){ position:absolute; padding:.4em;

#main-nav .menu-item-has- z-index:100; margin-left:5px;


children > a,
left:0; display:none;
#icon-menu .menu-item-has-
top:100%; min-width:11px;
children > a{
box-sizing:border-box; text-align:center;
padding-right:43px
transition:opacity .2s ease-in-out; vertical-align:middle
}
pointer-events:none; }
#footer-nav .menu-item-has-
children > a{ #main-nav .has-mega-sub-
opacity:0;
menu .tf_post_count{
padding-right:28px
border-radius:8px
display:inline-block
}
}
}
.menu-item .child-arrow{
.icon-menu li:hover>.sub-menu,
/* mega menu posts */
margin-left:7px;
#main-nav li:hover>.sub-menu,
#main-nav .mega-menu-posts .post-title{
border-radius:100%;
/* tab keyboard menu nav */
font-size:.9em;
display:inline-block;
#main-nav li> a:focus + .sub-menu,
font-weight:400;
padding:0;
#main-nav li> .sub-menu:focus-within{
font-family:inherit;
right:5px;
pointer-events:auto;
text-transform:none;
top:50%;
opacity:1
line-height:1.45em;
margin-top:-17px
}
margin:0;
}

#main-nav .toggle-on > a


#main-nav li>.sub-menu .sub-menu{
> .child-arrow{ padding:0

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
} #main-nav .has-mega-column .widget h2, #main-nav .has-mega-column .product-
categories li:hover>.count{
#main-nav .mega-menu-posts .post a{ #main-nav .has-mega-column .widget h3,
background-color:#dcaa2e;
text-transform:none; #main-nav .has-mega-column .widget h4,
color:#fff
padding:0; #main-nav .has-mega-column .widget h5,
}
border:none; #main-nav .has-mega-column .widget h6{
#main-nav .has-mega-column .cart_list ins,
width:auto; color:inherit
#main-nav .has-mega-
font-size:unset } column .product_list_widget ins{

} #main-nav .has-mega-column .widgettitle, font-weight:300

#main-nav .mega-menu-posts .post del{ #main-nav .has-mega-column>.sub- }


menu>.columns-sub-item>a{
opacity:.5; /* user menu icon */
font-size:.925em;
font-size:.85em /* for #main-nav a>i .tf_fa{
woocommerce */ font-weight:500;
margin-right:5px;
} line-height:1.6em;
}
#main- margin:0 0 .7em;
nav .themify_mega_menu_category_link{ #main-nav a .tf_lazy{
padding:0;
width:auto; display:none
text-decoration:none;
border:none }
letter-spacing:.04em;
} .revealing-header #headerwrap{
text-transform:uppercase;
#main-nav .mega-menu-posts .post{ transition:transform .5s ease-in-
border:none out,opacity .5s ease-in-out
margin:0
} }
}
/* mega menu WC styles */ .revealing-header #headerwrap.hidden{
#main-nav .has-mega-column>.sub-menu
li{ #main-nav .has-mega-column .product- transform:translateY(-100%);
categories .count{
display:block opacity:0
font-size:.8em;
} }
border-radius:10px;
#main-nav .has-mega-column>.sub-menu /* sticky header logo */
a{ background-
color:rgba(0,0,0,.2); #headerwrap .tf_sticky_logo,/* hide sticky
background:none; header logo */
color:#fff;
width:100%; #headerwrap.fixed-header .tf_sticky_logo,
display:inline-block;
padding:.6em 0; #headerwrap.fixed-header .tf_sticky_logo
min-height:10px; + span,
}
line-height:normal; #headerwrap.fixed-header .tf_sticky_logo
#main-nav .has-mega-column .widget{ + img{
padding:3px 9px;
margin:0 0 .5em; display:none
margin:.55em 0;
font-size:.95em }
position:absolute;
} #headerwrap.fixed-header .tf_sticky_logo{
top:1px;
display:block
right:0
}
}
#main-nav .has-mega-column .widget h1,

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.author-bio{ } .post-cat-tag-wrap span,

margin:0 0 2em .post-title a{ .post-meta span{

} text-decoration:none; vertical-align:middle

.author-bio .author-avatar{ color:#000 }

float:left; } .post-cat-tag-wrap{

margin:0 15px 0 0 .post-title a:hover{ font-size:.7em;

} color:#dcaa2e margin:0 0 .2em;

.author-bio .author-avatar img{ } display:inline-block

background-color:#fff; .post-image{ }

padding:5px; margin:0 0 .7em .post-category{

border:solid 1px #ccc } font-weight:600;

} .post-image img{ text-transform:uppercase;

.author-bio .author-name{ border-radius:8px; letter-spacing:.03em

margin:0 0 .5em; vertical-align:bottom }

padding:0; } .post-tag{

font-size:1.6em .post-image.left{ letter-spacing:-.01em;

} float:left; color:#e1e1e1

.author-posts-by{ margin-right:1em }

margin:0 0 1.5em; } .post-tag a{

padding:1em 0 0; .post-image.right{ color:#ababab

font-size:1.4em; float:right; }

text-transform:uppercase; margin-left:1em .post-date:before,

border-top:solid 4px #ccc; } .post-comment:before,

border- .post-meta{ .post-tag:before{


color:rgba(118,118,118,.3)
color:#959595; content:'';
}
font-size:.75em; display:inline-block;
.post{
line-height:1.6em; vertical-align:middle;
margin-bottom:3em;
margin:0 0 1em; margin-left:5px;
position:relative
padding:0 margin-right:7px;
}
} background-
.post-title{ color:rgba(0,0,0,.15);
.post-meta a{
font-size:1.8em; width:4px;
text-decoration:none
line-height:1.3em; height:4px;
}
letter-spacing:-.02em; border-radius:100%
.post-meta a:hover{
margin:0 0 .4em; }
text-decoration:underline
padding:0 .post-author{
}

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
font-weight:600; content:''; max-width:85px

text-transform:uppercase; display:block; }

letter-spacing:.09em border-bottom:3px solid .author-box .author-name{


#f2cd8a
} margin:0 0 12px;
}
.post-author:before{ text-transform:none;
/* reset slider shortcode in framework css
content:''; */ letter-spacing:.07em;

display:inline-block; .shortcode.post-slider .carousel-prev, font-size:1.1em;

vertical-align:middle; .shortcode.slider .carousel-prev, font-weight:300

border-bottom:solid 1px; .shortcode.post-slider .carousel-next, }

width:17px; .shortcode.slider .carousel-next{ .post-pagination{

margin-right:6px; border-radius:0; text-align:right;

opacity:.4 border:0; margin:.5em 0 2em

} text-shadow:none; }

.post-comment{ margin:0; .post-pagination strong{

letter-spacing:.03em box-shadow:none; margin-right:3px

} background-image:none }

.post-date{ } .post-pagination a{

letter-spacing:.007em; .loops-wrapper.no-gutter .post-image{ margin-left:3px;

margin:0; margin:0 margin-right:3px

display:inline-block; } }

vertical-align:middle .loops-wrapper.no-gutter .post,

} ul.products.no-gutter li.product .post- .wpf_infinity a,


image,
.more-link{ #load-more a{
.loops-wrapper.no-gutter .post-image img{
color:#060604; color:#060604;
border-radius:0;
font-size:.8em; font-weight:700;
}
font-weight:600; text-decoration:none;
.author-box{
display:inline-block; text-transform:uppercase;
margin:57px 0;
text-transform:uppercase; letter-spacing:.065em;
border:none
letter-spacing:.05em; line-height:1.9em;
}
line-height:1.9em; margin:50px 0 .8em;
.author-box .author-avatar{
margin:0 0 .8em; padding:0;
float:left;
padding:0 width:auto;
margin:0 30px 5px 0
} display:none
}
.more-link:after{ }
.author-box .author-avatar img{

border-radius:100%;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.wpf_infinity a:after, margin:0 0 1.2em; /* twitter widget */

#load-more a:after{ padding:0; .widget .twitter-list li{

content:''; font-weight:600; padding:0;

display:block; font-size:1em; margin:0 0 1.2em

border-bottom:3px solid text-transform:uppercase; }


#f2cd8a
letter-spacing:.15em; .widget .twitter-list .twitter-timestamp{
}
line-height:1.8em font-style:italic;
.wpf-search-container .wpf_infinity a,
} display:block;
.wpf-search-container .wpf_infinity
a:hover, .widget ul{ padding-top:.4em

.wpf_infinity_container .wpf_infinity a, margin:0; }

.wpf_infinity_container .wpf_infinity padding:0 .widget .follow-user{


a:hover{
} margin:0;
background-color:transparent
.widget li{ padding:5px 0
}
margin:0; }
.post-video,
padding:0 0 1em; .widget .links-list img,.widget_links img{
.embed-youtube{
list-style:none; vertical-align:middle
position:relative;
clear:both }
padding-bottom:56.25%;
} .recent-comments-list .avatar{
height:0;
.widget ul ul{ margin-right:12px;
overflow:hidden;
margin:1em 0 -1em 0; float:left
margin-bottom:15px
padding:0; }
}
border-top:none iframe[src*="facebook"]{
.post-video iframe,
} background-color:#fff
.embed-youtube iframe{
.widget ul ul li{ }
position:absolute;
margin:0; #content .twitter-tweet-rendered{
top:0;
padding-left:10px max-width:100% !important
left:0;
} }
width:100%;
.widget #wp-calendar caption{ #content .twt-border{
height:100%
font-weight:700; max-width:100% !important;
}
padding-bottom:10px min-width:180px !important
.widget{
} }
margin:0 0 1em
.widget #wp-calendar td{ #pagewrap .wpf_slider.ui-slider .ui-widget-
} header{
width:31px;
.widgettitle{ background-color:#dcaa2e
padding:4px 2px;
}
text-align:center

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
#pagewrap .wpf_item .wpf_item_name{ margin-bottom:2.2em width:26%

border:none; } }

font-weight:500; .footer-widgets .widgettitle{ .footer-widgets-wrap{

color:inherit font-size:.95em; width:70%;

} font-weight:500; margin-left:4%

#pagewrap .wpf_layout_vertical .wpf_item letter-spacing:.1em; }


.wpf_item_onsale .wpf_item_name,
margin-bottom:1.4em; .module_row.fullwidth>.row_inner{ /* for
#pagewrap .wpf_layout_vertical .wpf_item content width = full_width */
.wpf_item_instock .wpf_item_name{ line-height:normal
width:100%;
color:inherit; }
max-width:100%
font-weight:inherit .footer-widgets .widget li{
}
} border:none;
@supports (-webkit-touch-callout: none) {
.wpf_items_wrapper .wpf_item ul li{ padding:0 0 .6em
#headerwrap{
margin-right:1em }
background-
} .footer-widgets .widget li a{ attachment:scroll!important;

#footerwrap{ text-decoration:none background-


position:center!important
font-size:.95em; }
}
line-height:1.7em .footer-text{
}
} font-size:85%;
img.alignleft,img.aligncenter,img.alignrigh
#footerwrap a{ opacity:.7 t,img.alignnone{

color:#000 } margin-bottom:1em

} .footer-text .one, }

#footerwrap a:hover{ .footer-text .two{ .alignleft{

color:#dcaa2e display:inline-block; float:left;

} vertical-align:middle margin-right:2em

#footer{ } }

position:relative .footer-text .one{ .alignright{

} margin-right:1em float:right;

#footerwrap .col4-1{ } margin-left:2em

font-size:.95em .back-top-float + .footer-text{ }

} padding-bottom: 20px; .aligncenter{

#footerwrap .below-logo-widget { } text-align:center;

margin-bottom:2em .footer-column-wrap{ display:block;

} padding-top:2.5em margin-left:auto;
} margin-right:auto

.footer-widgets .widget{ .footer-logo-wrap{ }

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
.wp-caption{ transform:rotate(90deg) h1{

text-align:center; } font-size:2.4em

margin-bottom:1em; @media screen and (max-width:1200px){ }

max-width:100% .mobile-menu-visible, }

} .slide-cart-visible{ @media screen and (max-width:760px){

.wp-caption-text{ overflow-y:hidden .pagewidth,

font-style:italic; } .module_row>.row_inner,

margin:.5em 0 .pagewidth, .module-layout-


part .module_row.fullwidth_row_container
} .module_row>.row_inner, >.row_inner{

body.attachment{ .module-layout- max-width:90%


part .module_row.fullwidth_row_container
width:auto; >.row_inner{ }

float:none; max-width:94% body #content{

position:static } width:100%;

} #pagewrap, max-width:100%;

.single .attachment.post{ .module-layout- float:none;


part .module_row.fullwidth>.row_inner,
width:auto; clear:both;
.module_row.fullwidth>.row_in
float:none ner{ padding-top:10%

} max-width:100% }

/* clearfix */ } body #sidebar{

.widget li:after,.menu:after{ .module_row .row_inner .modul width:100%;


e-layout-part .row_inner{
content:""; max-width:100%;
width:auto
display:table; float:none;
}
clear:both clear:both;
}
} padding-top:10%
@media screen and (max-width:1024px){
/* Spark animation fix */ }
.footer-widgets .col4-1{
.cs-canvas-container{ overflow:hidden } #header{
width:48.4%
margin-left:5%;
}
/* when logged-in-as 1px gap fix */ margin-right:5%
.footer-widgets .col4-1:nth-
.screen-reader-text{ height:0!important} }
child(2n+1){

margin-left:0; .tf-mc-form .module{

/* SPIN ANIMATION */ padding-left:5%;


clear:left
.mobile-menu-visible #headerwrap #menu- padding-right:5%
}
icon{
} }
transition:transform .3s linear

}
@media screen and (max-width:800px){ .tf-mc-form .mc4wp-form-fields
.mobile-menu-visible #headerwrap #menu- input[type=submit]{
icon:hover{ .page-title,
padding-left:.5em;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
padding-right:.5em max-width:100% decoration:none}ul,ol{margin:0 0 1.4em
1.6em;padding:0}li{margin:0 0 1em
} } 0;padding:0}ul ul,ul ol,ol ol,ol ul{margin-
top:1em}h1,h2,h3,h4,h5,h6{line-
} .post-title{ height:1.4em;margin:0
0 .4em;color:#000;overflow-
font-size:1.4em
wrap:normal;font-weight:500}h1,.page-
@media screen and (max-width:680px){ } title{font-size:3em;line-height:90%;font-
weight:600;margin:0
.page-title, .footer-widgets-wrap{ 0 .6em;padding:0;letter-
spacing:-.03em}h2{font-size:1.8em;font-
h1{ clear:both; weight:600;letter-spacing:-.02em}h3{font-
size:1.4em}h4{font-size:1.1em;font-
font-size:1.9em float:none; weight:600;text-transform:uppercase;letter-
spacing:.05em}h5{font-
} margin:0;
size:1.1em}h6{font-
h3{ width:auto size:1em}input,textarea,select,input[type=s
earch],button{font-size:100%;font-
font-size:1.3em } family:inherit;max-
width:100%}input[type=radio],input[type=
} .footer-text-outer{ checkbox],select,textarea,input[type=text],i
nput[type=password],input[type=search],in
h2.fancy-heading { right:auto; put[type=email],input[type=url],input[type
=number],input[type=tel],input[type=date],
font-size:1.8em; left:0;
input[type=datetime],input[type=datetime-
} display:flex; local],input[type=month],input[type=time],
input[type=week]
h2, flex- {background:#fff;border:1px solid
direction:column; rgba(0,0,0,.15);padding:.6em;max-
h3.fancy-heading { width:100%;-webkit-appearance:none;-
align-items:flex-start moz-
font-size:1.6em; appearance:none;appearance:none;border-
} radius:8px}input[type=text],input[type=pas
}
sword],input[type=search],input[type=emai
}
#footerwrap .col4-2, l],input[type=url],input[type=number],inpu
t[type=tel],input[type=date],input[type=dat
Style.min.css etime],input[type=datetime-
#footerwrap .col2-1,
local],input[type=month],input[type=time],
html,body,address,blockquote,div,dl,form,
#footerwrap .col4-3, input[type=week]{margin:0 1em .4em
h1,h2,h3,h4,h5,h6,ol,p,pre,table,ul,dd,dt,li,t
0}input[type=text],input[type=password],i
#footerwrap .col3-1, body,td,tfoot,th,thead,tr,button,del,ins,map,
nput[type=search],input[type=email],input[
object,a,abbr,acronym,b,bdo,big,br,cite,cod
type=url],input[type=tel]
#footerwrap .col3-2, e,dfn,em,i,img,kbd,q,samp,small,span,stron
{width:17em}input[type=number]
g,sub,sup,tt,var,legend,fieldset,figure{marg
.col4-1, {width:7em}input[type=checkbox]
in:0;padding:0}img,fieldset{border:0}articl
+label{display:inline-
e,aside,details,figcaption,figure,footer,head
.col4-2, block}textarea{width:100%;min-
er,hgroup,menu,nav,section{display:block}
height:13.5em;margin:0}select{padding-
address{font-style:normal}html{scroll-
.col2-1, right:30px;background-
behavior:smooth}iframe,audio{max-
image:url("data:image/svg+xml,%3Csvg
width:100%}body{font:1em/1.7em 'Libre
.col4-3, xmlns='http://www.w3.org/2000/svg'
Franklin',Arial,sans-serif;overflow-
fill='none' stroke-linecap='round'
.col3-1, wrap:break-word;background-
width='100' height='100'
color:#fff;color:#666;-webkit-font-
stroke='rgba(55,55,55,.9)' stroke-
.col3-2 { smoothing:antialiased;-ms-text-size-
width='3'%3E%3Cpolyline points='2.7,2.3
adjust:100%;-moz-text-size-adjust:100%;-
49.1,57.2 95.5,2.3 '/%3E%3C/svg
webkit-text-size-adjust:100%;text-size-
%3E");background-repeat:no-
adjust:100%}a{text-
repeat;background-size:12px;background-
decoration:none;transition:color .2s ease-
position:calc(100% - 8px) calc(50% +
in-out;color:#b78711}a:hover{text-
3px)}#pagewrap
decoration:none;color:#000}p{padding:0;
input[type=radio],#pagewrap
margin:0 0 1.2em}small{font-
input[type=checkbox]{border-
margin-left:0; size:87%}blockquote{font-size:1.1em;line-
radius:6px;clear:none;cursor:pointer;paddi
height:1.4em;padding:.8em
ng:0;margin:0 .3em 0
width:100%; 1.4em;margin:0 5% 1.2em;border-left:solid
0;width:20px;height:20px;display:inline-
3px rgba(150,150,150,.3)}ins{text-

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
block;vertical-align:middle;text- 1{width:31.2%}.col4-1.first,.col4- cart.tf_loader svg{display:none}.icon-
align:center;line-height:1;-webkit- 2.first,.col3-1.first{margin- menu ul li{padding:0}.icon-menu li>.sub-
appearance:none}#pagewrap left:0;clear:left}#headerwrap{background- menu{text-align:left}.cart-style-
input[type=radio],input[type=radio] color:rgba(255,255,255,.9);left:0;top:0;z- dropdown .icon-menu .cart
{border-radius:100%;display:inline- index:999;position:relative;text- a .tooltip{display:none}.icon-menu
flex;justify-content:center;align- align:center;box-shadow:0 1px 15px li>a .tooltip{background-
items:center}input[type="checkbox"] rgba(0,0,0,.12)}#headerwrap.fixed- color:#000;color:#fff;display:inline-
{padding:0 header:before{content:"";position:absolute; block;font-size:.8em;line-
2px}input[type="checkbox"]:before{conte top:0;left:0;bottom:0;right:0;pointer- height:1.3em;text-
nt:"";display:inline- events:none;z-index:0;-webkit-backdrop- align:center;padding:.5em
block;width:12px;height:5px;margin- filter:blur(5px);backdrop- 1.15em;position:absolute;top:130%;margin
bottom:4px;margin-left:1px;border- filter:blur(5px)}.slide-cart-visible -
left:1px solid transparent;border- #headerwrap:before,.mobile-menu-visible top:0;left:50%;opacity:0;visibility:hidden;b
bottom:1px solid #headerwrap:before{display:none}.fixed- order-radius:30px;transform:translateX(-
transparent;transform:rotateZ(-45deg) header-enabled 50%);transition:.3s ease-out;transition-
skewY(- #headerwrap{position:sticky;position:- property:opacity,visibility;z-index:1}.icon-
10deg)}input[type="checkbox"]:checked:b webkit-sticky}.transparent-header menu
efore{border-left:1px solid;border- #headerwrap,.transparent-header.no-fixed- li>a:hover .tooltip{opacity:1;visibility:visi
bottom:1px header ble}.cart-style-slide-out .icon-menu .cart
solid}input[type="radio"]:checked:before{ #headerwrap{position:fixed}.themify_ann a .cart_empty+.tooltip{display:block}.icon
content:"";display:inline-block;vertical- ouncement.bar .announcement_container{ -menu
align:middle;border- width:auto;margin:0 li>a .tooltip:before{content:'';display:block
radius:100%;background- 28px}#header{width:calc(100% - ;border:5px solid transparent;border-
color:#222;width:12px;height:12px}select: 56px);max-width:none;margin:0 bottom-
focus,textarea:focus,input[type=text]:focus 28px}#headerwrap color:#000;position:absolute;bottom:100%;
,input[type=password]:focus,input[type=se a{color:#000}#headerwrap left:50%;margin-left:-5px}.icon-
arch]:focus,input[type=email]:focus,input[t a:hover{color:#dcaa2e}.header- menu .icon-menu-count{min-
ype=url]:focus,input[type=number]:focus,i icons .search-button{text- width:10px;position:absolute;right:-
nput[type=tel]:focus,input[type=date]:focu decoration:none;text- 6px;top:50%;padding:4px;border-
s,input[type=datetime]:focus,input[type=da align:center;outline:0;border-left:1px solid radius:10px;background-
tetime- rgba(0,0,0,.05);margin-right:-28px;margin- color:#dcaa2e;font-size:9px;line-
local]:focus,input[type=month]:focus,input left:10px}.header-icons .search- height:1;animation:zoomIn .3s
[type=time]:focus,input[type=week]:focus{ button:hover{background:rgba(150,150,15 ease;color:#fff;text-
border- 0,.15)}.search- align:center}.tf_loader+.icon-menu-
color:rgba(0,0,0,.5)}input[type=reset],input button:focus{outline:0}.search- count{display:none}@keyframes
[type=submit],button{background- button .tf_fa{display:block;font- zoomIn{0%{transform:scale(.5)}100%
color:#dcaa2e;border:0;border- size:1.3em;margin:auto;padding:1.06em .8 {transform:scale(1)}}#main-
radius:0;color:#fff;cursor:pointer;font- em}.header- nav{margin:0;padding:0;text-
weight:500;text-transform:uppercase;letter- icons{position:absolute;right:0;bottom:0;di align:left;position:absolute;width:100%;lef
spacing:.05em;padding:.8em splay:flex;flex-wrap:wrap;align- t:0;bottom:0}#main-nav
1.4em;border-radius:30px;-webkit- items:center;z-index:2}.top-icon- li{margin:0;padding:0;list-
appearance:none;transition- wrap{display:flex;align-items:center;flex- style:none;position:relative;display:inline-
property:background-color,transform,box- wrap:wrap}.icon- block}#main-nav a{display:inline-
shadow;transition- menu{margin:0;padding:0;list- block;position:relative;padding:1.2em .4em
duration:.3s}input[type=reset]:hover,input[ style:none}.icon-menu li{display:inline- ;margin:0 .25em 0 0;text-
type=submit]:hover,button:hover{backgrou block;vertical- decoration:none;text-
nd:#000;color:#fff;transform:translateY(- align:middle;margin:0;padding:10px transform:uppercase;letter-
2px);box-shadow:0 5px 12px 3px 0;position:relative;list-style:none}.icon- spacing:.02em}#main-
rgba(0,0,0,.12)}img,textarea,input,.author- menu i{font-size:19px;padding:9px nav>li>a:before{content:'';display:block;po
box,.widget,.col4-1,.col4-2,.col3-1{box- 10px;display:inline-block;vertical- sition:absolute;top:0;left:0;width:100%;ma
sizing:border- align:middle;line-height:1;box- rgin-bottom:-1px;color:transparent;border-
box}.pagewidth,.module_row>.row_inner,. shadow:none;text-shadow:none;border- bottom:3px solid
module-layout- radius:100%}#header .icon-shopping- currentColor;transition:inherit}#main-
part .module_row.fullwidth_row_container cart.tf_loader{font- nav>li:hover>a:before,#main-
>.row_inner{width:1160px;max- size:7px;padding:9px}#header .icon- nav>.current_page_item>a:before,#main-
width:100%;margin:0 shopping-cart.tf_loader:before{border- nav>.current-menu-item>a:before,#main-
auto}#content{width:72%;padding:6.5% width:2px}.icon-menu a:hover nav>.current_page_item>a:hover:before,#
0}.full_width #layout{width:100%;max- i{background- main-nav>.current-menu-
width:100%}.full_width

#content{padding:0;width:auto;max-
width:100%;float:none}.col4-1,.col4- color:rgba(150,150,150,.15)}.icon-menu item>a:hover:before{color:#dcaa2e}#main
2,.col3-1{float:left;margin-left:3.2%}.col4- li>a{display:inline-block;text- -nav .highlight-link>a{padding:.2em
1{width:22.6%}.col4- decoration:none;margin:3px 1em;border:1px solid;border-
2{width:48.4%}.col3- 5px;position:relative}.icon-shopping-cart radius:8px}.icon-menu ul a,#main-nav ul
svg{margin-top:-2px}.icon-shopping- a{border:0;border-bottom:1px solid

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
rgba(0,0,0,.05);color:#060604;display:bloc right:28px}.menu-item .child- mega-column>.sub-menu>.columns-sub-
k;font-size:.95em;line-height:1.4em;letter- arrow{margin-left:7px;border- item>a{font-size:.925em;font-
spacing:0;font-weight:400;text- radius:100%;display:inline- weight:500;line-height:1.6em;margin:0
transform:none;margin:0;padding:.6em block;padding:0;right:5px;top:50%;margin 0 .7em;padding:0;text-
0;width:170px;box-sizing:border- -top:-17px}#main-nav .toggle-on>a>.child- decoration:none;letter-spacing:.04em;text-
box}.icon-menu ul li:last-child>a,#main- arrow{background:rgba(214,214,214,.4)}# transform:uppercase;border:0}#main-
nav ul li:last-child>a{border- main-nav li>.sub- nav .has-mega-column .product-
bottom:0}#main- menu{display:none}}.icon-menu li>.sub- categories .count{font-size:.8em;border-
nav .current_page_item>a,#main- menu,#main-nav li>.sub- radius:10px;background-
nav .current-menu-item>a,#main-nav menu{color:#484848;background- color:rgba(0,0,0,.2);color:#fff;display:inlin
a:hover{color:#b78711}.menu-icon- color:#fff;box-shadow:0 6px 20px 5px e-block;min-height:10px;line-
inner:before{border-top:2px solid;border- rgba(0,0,0,.12);margin:0;list- height:normal;padding:3px
bottom:2px solid}.menu-icon- style:none;padding:10px 9px;margin:.55em
inner:after{border-top:2px solid}#slide- 20px;position:absolute;z- 0;position:absolute;top:1px;right:0}#main-
cart.sidemenu-on,body:not(.header-left- index:100;left:0;top:100%;box- nav .has-mega-column .product-categories
pane):not(.header-right-pane):not(.header- sizing:border-box;transition:opacity .2s li:hover>.count{background-
minbar-left):not(.header-minbar- ease-in-out;pointer- color:#dcaa2e;color:#fff}#main-nav .has-
right):not(.header-slide-left):not(.header- events:none;opacity:0;border- mega-column .cart_list ins,#main-nav .has-
slide-right):not(.header- radius:8px}.icon-menu li:hover>.sub- mega-column .product_list_widget
overlay):not(.mobile_menu_active) menu,#main-nav li:hover>.sub- ins{font-weight:300}#main-nav
#mobile-menu.sidemenu-on{right:0;box- menu,#main-nav li>a:focus+.sub- a>i .tf_fa{margin-right:5px}#main-nav
shadow:-6px 0 20px 5px menu,#main-nav li>.sub-menu:focus- a .tf_lazy{display:none}.revealing-header
rgba(0,0,0,.25)}body.slide-cart- within{pointer- #headerwrap{transition:transform .5s ease-
visible,body.mobile-menu- events:auto;opacity:1}#main-nav li>.sub- in-out,opacity .5s ease-in-out}.revealing-
visible{position:relative;overflow- menu .sub-menu{left:100%;top:0}.icon- header
y:hidden}body.slide-cart- menu li>.sub-menu #headerwrap.hidden{transform:translateY(
visible{overflow:hidden !important}.body- ul{left:auto;right:100%;top:0;margin-top:- -
overlay{display:none;background- 10px}#main- 100%);opacity:0}#headerwrap .tf_sticky_l
color:rgba(232,232,232,.9);width:100%;hei nav .tf_post_count{background:rgba(150,1 ogo,#headerwrap.fixed-
ght:100%;position:fixed;top:0;box- 50,150,.15);border- header .tf_sticky_logo,#headerwrap.fixed-
shadow:none;z-index:1000;-webkit- radius:100%;margin:auto 3px;font- header .tf_sticky_logo+span,#headerwrap.f
backdrop-filter:blur(10px);backdrop- size:.7em;line- ixed-
filter:blur(10px)}.body-overlay- height:1em;padding:.4em;margin- header .tf_sticky_logo+img{display:none}
on{display:block}.sidemenu-left .body- left:5px;display:none;min-width:11px;text- #headerwrap.fixed-
overlay{right:auto}.empty- align:center;vertical-align:middle}#main- header .tf_sticky_logo{display:block}.auth
shopdock{padding:1em}#main- nav .has-mega-sub- or-bio{margin:0 0 2em}.author-
nav .edge>.sub- menu .tf_post_count{display:inline- bio .author-avatar{float:left;margin:0 15px
menu{left:auto;right:0}#main-nav block}#main-nav .mega-menu-posts .post- 0 0}.author-bio .author-avatar
ul .edge>.sub- title{font-size:.9em;font-weight:400;font- img{background-
menu{left:auto;right:100%}.menu- family:inherit;text-transform:none;line- color:#fff;padding:5px;border:solid 1px
item .child- height:1.45em;margin:0;padding:0}#main- #ccc}.author-bio .author-name{margin:0
arrow{display:none;cursor:pointer;z- nav .mega-menu-posts .post a{text- 0 .5em;padding:0;font-size:1.6em}.author-
index:12;color:#7d7d7d;width:34px;height transform:none;padding:0;border:0;width:a posts-by{margin:0 0 1.5em;padding:1em 0
:34px;position:absolute;right:10px;top:5px; uto;font-size:unset}#main-nav .mega- 0;font-size:1.4em;text-
border- menu-posts .post del{opacity:.5;font- transform:uppercase;border-top:solid 4px
radius:100%;transition:transform .4s}.men size:.85em}#main- #ccc;border-
u-item .child- nav .themify_mega_menu_category_link{ color:rgba(118,118,118,.3)}.post{margin-
arrow:hover{background:rgba(150,150,15 width:auto;border:0}#main-nav .mega- bottom:3em;position:relative}.post-
0,.15);transform:rotateZ(180deg)}.child- menu-posts .post{margin:0}#main- title{font-size:1.8em;line-
arrow:before,.child- nav .has-mega-column>.sub-menu height:1.3em;letter-
arrow:after{top:50%;left:9px;content:'';pos li{display:block}#main-nav .has-mega- spacing:-.02em;margin:0
ition:absolute;transition:transform .5s ease- column>.sub-menu 0 .4em;padding:0}.post-title a{text-
in- a{background:0;width:100%;padding:.6em decoration:none;color:#000}.post-title
out;height:1px;width:10px;transform:rotate 0}#main-nav .has-mega- a:hover{color:#dcaa2e}.post-
(45deg);background:currentColor;z- column .widget{margin:0 0 .5em;font- image{margin:0 0 .7em}.post-image
index:9999;border-radius:10px}.child- size:.95em}#main-nav .has-mega- img{border-radius:8px;vertical-
arrow:after{left:16px;transform:rotate(- column .widget h1,#main-nav .has-mega- align:bottom}.post-
45deg)}.toggle-on>a .child- column .widget h2,#main-nav .has-mega- image.left{float:left;margin-
arrow:after,.toggle-on>a .child- column .widget h3,#main-nav .has-mega- right:1em}.post-
arrow:before{left:9px;width:50%}@media column .widget h4,#main-nav .has-mega- image.right{float:right;margin-
(hover:none){#main-nav .menu-item-has- column .widget h5,#main-nav .has-mega- left:1em}.post-meta{color:#959595;font-
column size:.75em;line-height:1.6em;margin:0 0
children>a,#icon-menu .menu-item-has-
children>a{padding-right:43px}#footer- .widget h6{color:inherit}#main-nav .has- 1em;padding:0}.post-meta a{text-
nav .menu-item-has-children>a{padding- mega-column .widgettitle,#main-nav .has- decoration:none}.post-meta a:hover{text-

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
decoration:underline}.post-cat-tag-wrap bottom:3px solid #f2cd8a}.wpf-search- weight:500;letter-spacing:.1em;margin-
span,.post-meta span{vertical- container .wpf_infinity a,.wpf-search- bottom:1.4em;line-height:normal}.footer-
align:middle}.post-cat-tag-wrap{font- container .wpf_infinity widgets .widget li{border:0;padding:0
size:.7em;margin:0 0 .2em;display:inline- a:hover,.wpf_infinity_container .wpf_infini 0 .6em}.footer-widgets .widget li a{text-
block}.post-category{font-weight:600;text- ty a,.wpf_infinity_container .wpf_infinity decoration:none}.footer-text{font-
transform:uppercase;letter- a:hover{background- size:85%;opacity:.7}.footer-
spacing:.03em}.post-tag{letter- color:transparent}.post-video,.embed- text .one,.footer-text .two{display:inline-
spacing:-.01em;color:#e1e1e1}.post-tag youtube{position:relative;padding- block;vertical-align:middle}.footer-
a{color:#ababab}.post-date:before,.post- bottom:56.25%;height:0;overflow:hidden; text .one{margin-right:1em}.back-top-
comment:before,.post- margin-bottom:15px}.post-video float+.footer-text{padding-
tag:before{content:'';display:inline- iframe,.embed-youtube bottom:20px}.footer-column-
block;vertical-align:middle;margin- iframe{position:absolute;top:0;left:0;width wrap{padding-top:2.5em}.footer-logo-
left:5px;margin-right:7px;background- :100%;height:100%}.widget{margin:0 0 wrap{width:26%}.footer-widgets-
color:rgba(0,0,0,.15);width:4px;height:4px; 1em}.widgettitle{margin:0 0 wrap{width:70%;margin-
border-radius:100%}.post-author{font- 1.2em;padding:0;font-weight:600;font- left:4%}.module_row.fullwidth>.row_inne
weight:600;text-transform:uppercase;letter- size:1em;text-transform:uppercase;letter- r{width:100%;max-
spacing:.09em}.post- spacing:.15em;line-height:1.8em}.widget width:100%}@supports(-webkit-touch-
author:before{content:'';display:inline- ul{margin:0;padding:0}.widget callout:none){#headerwrap{background-
block;vertical-align:middle;border- li{margin:0;padding:0 0 1em;list- attachment:scroll !important;background-
bottom:solid 1px;width:17px;margin- style:none;clear:both}.widget ul position:center !
right:6px;opacity:.4}.post-comment{letter- ul{margin:1em 0 -1em 0;padding:0;border- important}}img.alignleft,img.aligncenter,i
spacing:.03em}.post-date{letter- top:0}.widget ul ul li{margin:0;padding- mg.alignright,img.alignnone{margin-
spacing:.007em;margin:0;display:inline- left:10px}.widget #wp-calendar bottom:1em}.alignleft{float:left;margin-
block;vertical-align:middle}.more- caption{font-weight:700;padding- right:2em}.alignright{float:right;margin-
link{color:#060604;font-size:.8em;font- bottom:10px}.widget #wp-calendar left:2em}.aligncenter{text-
weight:600;display:inline-block;text- td{width:31px;padding:4px 2px;text- align:center;display:block;margin-
transform:uppercase;letter- align:center}.widget .twitter-list left:auto;margin-right:auto}.wp-
spacing:.05em;line-height:1.9em;margin:0 li{padding:0;margin:0 0 caption{text-align:center;margin-
0 .8em;padding:0}.more- 1.2em}.widget .twitter-list .twitter- bottom:1em;max-width:100%}.wp-
link:after{content:'';display:block;border- timestamp{font- caption-text{font-style:italic;margin:.5em
bottom:3px solid #f2cd8a}.shortcode.post- style:italic;display:block;padding- 0}body.attachment{width:auto;float:none;p
slider .carousel- top:.4em}.widget .follow- osition:static}.single .attachment.post{widt
prev,.shortcode.slider .carousel- user{margin:0;padding:5px h:auto;float:none}.widget
prev,.shortcode.post-slider .carousel- 0}.widget .links-list img,.widget_links li:after,.menu:after{content:"";display:table
next,.shortcode.slider .carousel- img{vertical-align:middle}.recent- ;clear:both}.cs-canvas-
next{border-radius:0;border:0;text- comments-list .avatar{margin- container{overflow:hidden}.screen-reader-
shadow:none;margin:0;box- right:12px;float:left}iframe[src*="faceboo text{height:0 !important}.mobile-menu-
shadow:none;background- k"]{background- visible #headerwrap #menu-
image:none}.loops-wrapper.no- color:#fff}#content .twitter-tweet- icon{transition:transform .3s
gutter .post-image{margin:0}.loops- rendered{max-width:100% ! linear}.mobile-menu-visible #headerwrap
wrapper.no-gutter .post,ul.products.no- important}#content .twt-border{max- #menu-
gutter li.product .post-image,.loops- width:100% !important;min-width:180px ! icon:hover{transform:rotate(90deg)}@med
wrapper.no-gutter .post-image img{border- important}#pagewrap .wpf_slider.ui- ia screen and (max-width:1200px)
radius:0}.author-box{margin:57px slider .ui-widget-header{background- {.mobile-menu-visible,.slide-cart-
0;border:0}.author-box .author- color:#dcaa2e}#pagewrap .wpf_item .wpf_ visible{overflow-
avatar{float:left;margin:0 30px 5px item_name{border:0;font- y:hidden}.pagewidth,.module_row>.row_i
0}.author-box .author-avatar img{border- weight:500;color:inherit}#pagewrap .wpf_l nner,.module-layout-
radius:100%;max-width:85px}.author- ayout_vertical .wpf_item.wpf_item_onsale part .module_row.fullwidth_row_container
box .author-name{margin:0 0 12px;text- .wpf_item_name,#pagewrap .wpf_layout_v >.row_inner{max-
transform:none;letter-spacing:.07em;font- ertical .wpf_item.wpf_item_instock .wpf_it width:94%}#pagewrap,.module-layout-part
size:1.1em;font-weight:300}.post- em_name{color:inherit;font- .module_row.fullwidth>.row_inner,.modul
pagination{text-align:right;margin:.5em 0 weight:inherit}.wpf_items_wrapper .wpf_it e_row.fullwidth>.row_inner{max-
2em}.post-pagination strong{margin- em ul li{margin- width:100%}.module_row .row_inner .mo
right:3px}.post-pagination a{margin- right:1em}#footerwrap{font- dule-layout-
left:3px;margin-right:3px}.wpf_infinity size:.95em;line-height:1.7em}#footerwrap part .row_inner{width:auto}}@media
a,#load-more a{color:#060604;font- a{color:#000}#footerwrap screen and (max-width:1024px){.footer-
weight:700;text-decoration:none;text- a:hover{color:#dcaa2e}#footer{position:re widgets .col4-1{width:48.4%}.footer-
transform:uppercase;letter- lative}#footerwrap .col4-1{font- widgets .col4-1:nth-child(2n+1){margin-
spacing:.065em;line- size:.95em}#footerwrap .below-logo- left:0;clear:left}}@media screen and (max-
height:1.9em;margin:50px widget{margin-bottom:2em}.footer- width:800px){.page-title,h1{font-
0 .8em;padding:0;width:auto;display:none} widgets .widget{margin- size:2.4em}}@media screen and (max-
.wpf_infinity a:after,#load-more bottom:2.2em}.footer-
a:after{content:'';display:block;border- widgets .widgettitle{font-size:.95em;font- width:760px)
{.pagewidth,.module_row>.row_inner,.mo
dule-layout-

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
part .module_row.fullwidth_row_container Admin.php 'description' => '',
>.row_inner{max-width:90%}body
#content{width:100%;max- <?php 'type' => 'layout',
width:100%;float:none;clear:both;padding-
top:10%}body #sidebar{width:100%;max- include 'show_title' =>
width:100%;float:none;clear:both;padding- THEME_DIR.'/admin/panel/settings.php'; true,
top:10%}#header{margin-left:5%;margin-
function 'meta' =>
right:5%}.tf-mc-form .module{padding-
themify_theme_design_meta_box() { $header_design_options,
left:5%;padding-right:5%}.tf-mc-
form .mc4wp-form-fields 'hide' => 'none
$header_design_options =
input[type=submit]{padding- header-left-pane header-minbar-left
themify_theme_header_design_options();
left:.5em;padding-right:.5em}}@media header-minbar-right header-boxed-content
screen and (max-width:680px){.page- $footer_design_options = header-right-pane',
title,h1{font-size:1.9em}h3{font- themify_theme_footer_design_options();
size:1.3em}h2.fancy-heading{font- 'default' =>
size:1.8em}h2,h3.fancy-heading{font- $states=themify_ternary_states(array( 'default',
size:1.6em}#footerwrap .col4-
2,#footerwrap .col2-1,#footerwrap .col4- 'icon_no' => THEMIFY_URI . ),
3,#footerwrap .col3-1,#footerwrap .col3- '/img/ddbtn-check.svg',
2,.col4-1,.col4-2,.col2-1,.col4-3,.col3- // Sticky Header
1,.col3-2{margin-left:0;width:100%;max- 'icon_yes' => THEMIFY_URI .
'/img/ddbtn-cross.svg' array(
width:100%}.post-title{font-
size:1.4em}.footer-widgets- 'name' =>
));
wrap{clear:both;float:none;margin:0;width 'fixed_header',
:auto}.footer-text- $opt=themify_ternary_options();
outer{right:auto;left:0;display:flex;flex- 'title' =>
direction:column;align-items:flex-start}} $background_mode __('Sticky Header', 'themify'),
=isset( $_GET['post'] )?
get_post_meta( intval($_GET['post']),'back 'description' => '',
ground_mode', true ):false;
'type' => 'radio',
if (!$background_mode) {
'meta' => $opt,
$background_mode =
'class' => 'hide-if
'fullcover';
none header-overlay header-slide-left
} header-slide-right header-boxed-content
header-left-pane header-right-pane header-
return array( minbar-left header-minbar-right',

// Header Group 'default' =>


'default',
array(
),
'name' =>
'header_design_group', // Header Elements

'title' => __('Header', array(


'themify'),
'name' =>
'description' => '', '_multi_header_elements',

'type' => 'toggle_group', 'title' =>


__('Header Elements', 'themify'),
'show_title' => true,
'description' => '',
'meta' => array(
'type' => 'multi',
// Header Design
'class' => 'hide-if
array( none',

'name' => 'meta' => array(


'header_design',
'fields' =>
'title' => array(
__('Header Design', 'themify'),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
// 'name' =>
Show Site Logo 'exclude_search_button',
'description' => '',
array(
'description' => '',
'title' => __('Wishlist Icon',
'name' => 'exclude_site_logo', 'themify'),

'title' => __('Search Button',


'themify'),
'description' => '', 'type' => 'dropdownbutton',

'type' => 'dropdownbutton',


'title' => __('Site Logo', 'states' =>$states,
'themify'),
'states' =>$states,
'class' => 'hide-if none',
'type' => 'dropdownbutton',
'class' => 'hide-if none',
'after' => '<div
'states' => $states, class="clear"></div>',

'after' => '<div


class="clear"></div>',
'class' => 'hide-if none header- 'display_callback' =>
menu-split', ), 'themify_is_woocommerce_active'

// ),
Show Cart Icon
'after' => '<div array(
class="clear"></div>', array(
),
'name' =>
array( 'name' => 'exclude_cart', 'exclude_icon_menu_links',

'name' => 'description' => '', 'description' => '',


'exclude_site_tagline',

'title' => __('Cart Icon', 'title' => __('Icon Menu Links',


'description' => '', 'themify'), 'themify'),

'title' => __('Site Tagline', 'type' => 'dropdownbutton', 'type' => 'dropdownbutton',
'themify'),

'states' => $states, 'states' =>$states,


'type' => 'dropdownbutton',

'class' => 'hide-if none', 'class' => 'hide-if none',


'states' => $states,

'after' => '<div 'after' => '<div


'class' => 'hide-if none', class="clear"></div>', class="clear"></div>',

),

'after' => '<div 'display_callback' => array(


class="clear"></div>', 'themify_is_woocommerce_active'

), ),
'name' =>
array( array( 'exclude_menu_navigation',

'name' => 'exclude_wishlist', 'description' => '',

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'separator
' => ''
'title' => __('Menu Navigation', array('name' => __('Flip from
'themify'), ) Top', 'themify'), 'value' => 'flip-from-top'),

),
'type' => 'dropdownbutton', array('name' => __('Flip from
array( Bottom', 'themify'), 'value' => 'flip-from-
bottom'),
'name' =>
'states' =>$states, 'mobile_menu_styles',

'title' => array('name' => __('Morphing',


'class' => 'hide-if none header- __('Mobile Menu Style', 'themify'), 'themify'), 'value' => 'morphing'),

menu-split', 'type' =>


'dropdown', array('name' => __('Overlay
ZoomIn', 'themify'), 'value' => 'overlay-
'after' => '<div zoomin'),
class="clear"></div>', 'meta' => array(

array('name' => __('Overlay


'enable_toggle' => true array('name' => __('Default', ZoomIn Right', 'themify'), 'value' =>
'themify'), 'value' => 'default'), 'overlay-zoomin-right'),
),

array(
array('name' => __('Boxed', array('name' => __('Rotate
'themify'), 'value' => 'boxed'), ZoomIn', 'themify'), 'value' => 'rotate-
zoomin'),
'name' =>
'exclude_top_bar_widgets',
array('name' => __('Dropdown',
'themify'), 'value' => 'dropdown'), array('name' => __('Slide
Down', 'themify'), 'value' => 'slide-down'),
'description' => '',

array('name' => __('Fade


Overlay', 'themify'), 'value' => 'fade- array('name' => __('SlideIn
'title' => __('Top Bar Widgets', Left', 'themify'), 'value' => 'slidein-left'),
'themify'), overlay'),

array('name' => __('Fadein array('name' => __('SlideIn


'type' => 'dropdownbutton', Right', 'themify'), 'value' => 'slidein-right'),
Down', 'themify'), 'value' => 'fadein-
down'),
'states' =>$states, array('name' => __('Split',
array('name' => __('Flip Down', 'themify'), 'value' => 'split'),
'themify'), 'value' => 'flip-down'),
'class' => 'hide-if none',
array('name' => __('Swing Left
array('name' => __('FlipIn Left', to Right', 'themify'), 'value' => 'swing-left-
'after' => '<div to-right'),
'themify'), 'value' => 'flipin-left'),
class="clear"></div>',

),
array('name' => __('FlipIn array('name' => __('Swing
), Right', 'themify'), 'value' => 'flipin-right'), Right to Left', 'themify'), 'value' => 'swing-
right-to-left'),
'descripti
on' => '',
array('name' => __('Flip from
Left', 'themify'), 'value' => 'flip-from-left'), array('name' => __('Swing Top
'before' to Bottom', 'themify'), 'value' => 'swing-
=> '', top-to-bottom'),
'after' => array('name' => __('Flip from
'<div class="clear"></div>', Right', 'themify'), 'value' => 'flip-from-
right'), array('name' => __('Swipe Left',
'themify'), 'value' => 'swipe-left'),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
), 'enable_toggle' =>
true,
array('name' => __('Swipe ),
Right', 'themify'), 'value' => 'swipe-right'), 'class' => 'hide-if
'display_callback' none clear',
=> 'themify_is_woocommerce_active',
array('name' => __('Zoom 'default' => 'solid',
Down', 'themify'), 'value' => 'zoomdown'), 'enable_toggle' =>
true, ),
),
'class' => 'hide-if // Background Mode
), none clear',
array(
array( 'default' => '',
'name' =>
'name' => ), 'background_mode',
'cart_style',
array( 'title' => __('Slider
'title' => __('Ajax Mode', 'themify'),
Cart Style', 'themify'), 'name' =>
'header_wrap', 'type' => 'radio',
'description' => '',
'title' => 'meta' => array(
'type' => 'radio', __('Header Background Type', 'themify'),

'show_title' => 'description' => '',


array('value' => 'fullcover',
true, 'selected' => $background_mode ===
'type' => 'radio',
'fullcover', 'name' => __('Full Cover',
'meta' => array(
'show_title' => 'themify')),
array( true,

'value' 'meta' => array( array('value' => 'best-fit',


=> '', 'selected' => $background_mode === 'best-
array(
fit', 'name' => __('Best Fit', 'themify'))
'name'
=> __('Default', 'themify'), 'value'
),
=> 'solid',
'enable_toggle' =>
'name'
'selected' => true true,
=> __('Solid Color/Image', 'themify'),
), 'toggle' =>
'enable_toggle_child slider-toggle',
array( 'selected' => true
'class' => 'hide-if
'value' ), none',
=> 'dropdown',
array( 'default' =>
'name' 'fullcover',
=> __('Dropdown cart', 'themify'), 'value'
=> 'transparent', ),
),
'name' array(
array( => __('Transparent Header', 'themify'),
'name' =>
'value' ), 'background_position',
=> 'slide-out',
array( 'title' => __('Slider
'name' Image Position', 'themify'),
=> __('Slide-out cart', 'themify'), 'value'
=> 'video', 'type' =>
), 'dropdown',
'name'
array( => __('Video Background', 'themify'), 'meta' => array(

'value' ),
=> 'link_to_cart', array('value' => '', 'name' => '',
),
'selected' => true),
'name'
=> __('Link to cart page', 'themify'),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
),
array('value' => 'left-top', 'name' 'name' => 'video_file', array(
=> __('Left Top', 'themify')),
'name' =>
'title' => __('Video File', 'background_image',
array('value' => 'left-center', 'themify'),
'name' => __('Left Center', 'themify')), 'title' => '',

'type' => 'image',


'description' => '',
array('value' => 'left-bottom', 'description' => '',
'name' => __('Left Bottom', 'themify')),
'type' => 'video', 'meta' => array(),

'before' => '',


array('value' => 'right-top',
'name' => __('Right Top', 'themify')), 'meta' => array(), 'after' => '',

), 'toggle' =>
array('value' => 'right-center', array('solid-toggle', 'video-toggle'),
'name' => __('Right Center', 'themify')), ),
'class' => 'hide-if
'descripti none',
on' => __('Video format: mp4. Note: video
array('value' => 'right-bottom', background does not play on some mobile ),
'name' => __('Right Bottom', 'themify')), devices, background image will be used as
fallback.', 'themify'), array(

array('value' => 'center-top', 'before' 'name' =>


'name' => __('Center Top', 'themify')), => '', 'background_repeat',

'after' =>
'',
'title' => '',
array('value' => 'separator
'center-center', 'name' => __('Center ' => '' 'description' =>
Center', 'themify')), __('Background Image Mode', 'themify'),
),
'type' =>
array('value' => 'center-bottom', 'toggle' => 'video- 'dropdown',
'name' => __('Center Bottom', 'themify')) toggle',
'meta' => array(
), 'class' => 'hide-if
none', array(
'toggle' =>
), 'value'
'fullcover-toggle slider-toggle',
=> 'fullcover',
'class' => 'hide-if array(
'name'
none',
'name' => => __('Fullcover', 'themify')
), 'background_color',
),
array( 'title' =>
__('Header Background', 'themify'), array(
'type' => 'multi',
'description' => '', 'value'
'name' => => 'repeat',
'_video_select', 'type' => 'color',
'name'
'title' => 'meta' => => __('Repeat all', 'themify')
__('Header Video', 'themify'), array('default' => null),
),
'meta' => array( 'toggle' =>
array('solid-toggle', 'slider-toggle', 'video- array(
'fields' => toggle'),
'value'
array(
'class' => 'hide-if => 'no-repeat',
array( none',
'name'
'format' => 'rgba', => __('No repeat', 'themify')

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
), 'meta' => 'description' => '',
array('default' => null),
array( 'type' => 'multi',
'class' => 'hide-if
'value' none', 'class' => 'hide-if
=> 'repeat-x', none',
'format' => 'rgba',
'name' 'meta' => array(
=> __('Repeat horizontally', 'themify') )
'fields' =>
), ), array(

array( 'default' => '', array(

'value' ),
=> 'repeat-y',
// Footer Group 'name' =>
'name' 'exclude_footer_site_logo',
=> __('Repeat vertically', 'themify') array(

), 'name' => 'description' => '',


'footer_design_group',
),
'title' => __('Footer',
'toggle' => 'themify'), 'title' => __('Site Logo',
array('solid-toggle', 'video-toggle'), 'themify'),
'description' => '',
'class' => 'hide-if
none', 'type' => 'dropdownbutton',

'default' => 'type' => 'toggle_group', 'states' => $states,


'fullcover',
'show_title' => true,
), 'class' => 'hide-if none',
'meta' => array(
array(
array(
'name' => 'after' => '<div
'headerwrap_text_color', 'name' => class="clear"></div>',
'footer_design',
'title' => ),
__('Header Text Color', 'themify'), 'title' =>
__('Footer Design', 'themify'), array(
'description' => '',
'description' => '',
'type' => 'color', 'name' =>
'type' => 'layout',
'exclude_footer_widgets',
'meta' =>
array('default' => null), 'show_title' =>
true,
'class' => 'hide-if 'description' => '',
none', 'meta' =>
$footer_design_options,
'format' => 'rgba', 'title' => __('Footer Widgets',
'hide' => 'none',
'themify'),
),
'default' =>
array( 'default',
'type' => 'dropdownbutton',
'name' => ),
'headerwrap_link_color',
array(
'states' => $states,
'title' =>
__('Header Link Color', 'themify'), 'name' =>
'_multi_footer_elements',
'description' => '', 'class' => 'hide-if none',
'title' =>
'type' => 'color', __('Footer Elements', 'themify'),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'after' => '<div 'descripti 'default' => '',
class="clear"></div>', on' => '',
),
), 'before'
=> '', array(
array(
'after' => 'name' =>
'<div class="clear"></div>', 'image_design_group',
'name' => 'title' => __('Image Filter',
'separator
'exclude_footer_texts', 'themify'),
' => ''

) 'description' => '',


'description' => '',
), 'type' => 'toggle_group',

array( 'show_title' => true,


'title' => __('Footer Text',
'themify'), 'name' => 'meta' => array(
'footer_widget_position',
array(
'type' => 'dropdownbutton', 'title' =>
__('Footer Widgets Position', 'themify'), 'name' =>
'imagefilter_options',
'class' => 'hide-if
'states' => $states, 'title' =>
none',
__('Image Filter', 'themify'),
'description' => '',
'class' => 'hide-if none', 'description' => '',
'type' =>
'dropdown', 'type' =>
'dropdown',
'after' => '<div
'meta' => array(
class="clear"></div>', 'meta' => array(
array(
),
'value' array('name' => '', 'value' =>
array(
=> '', 'initial'),

'name' =>
'exclude_footer_back', 'name' array('name' => __('None',
=> __('Default', 'themify') 'themify'), 'value' => 'none'),

),
'description' => '',
array('name' => __('Grayscale',
array(
'themify'), 'value' => 'grayscale'),
'title' => __('Back to Top 'value'
Arrow', 'themify'), => 'bottom',
array('name' => __('Sepia',
'name' 'themify'), 'value' => 'sepia'),
=> __('After Footer Text', 'themify')
'type' => 'dropdownbutton',
),
array('name' => __('Blur',
array( 'themify'), 'value' => 'blur'),
'states' =>$states,
'value' ),
=> 'top',
'class' => 'hide-if none', 'default' =>
'name' 'initial',
=> __('Before Footer Text', 'themify')
),
'after' => '<div
class="clear"></div>', )
array(

), ),
'name' =>
) 'imagefilter_options_hover',
),
),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'title' => }
__('Image Hover Filter', 'themify'),
array('value' => 'featured-only', if ( !
'description' => '', 'name' => __('Featured Images Only', function_exists( 'themify_theme_setup_CP
'themify'),) T_metaboxes' ) ) {
'type' =>
'dropdown', ), function
themify_theme_setup_CPT_metaboxes($m
'meta' => array( 'default' => 'all',
etabox_opt) {
)
$sticky_sidebar =
array('name' => '', 'value' => ), array(
'initial'),
'default' => '' 'name'
=>
) 'post_sticky_sidebar',
array('name' => __('None',
'themify'), 'value' => 'none'), ); 'title'
=> __('Sticky
} Sidebar', 'themify'),
array('name' => __('Grayscale',
function 'descripti
'themify'), 'value' => 'grayscale'),
themify_theme_setup_metaboxes($meta_b on' => '',
oxes=array(), $post_type='all') {
'type'
array('name' => __('Sepia', $supportedTypes=array('post', => 'dropdown',
'themify'), 'value' => 'sepia'), 'page','product');
'show_titl
$dir=THEME_DIR . '/admin/pages/'; e' => true,
array('name' => __('Blur',
if($post_type==='all'){ 'enable_t
'themify'), 'value' => 'blur'),
oggle' => true,
),
add_action('themify_settings_panel_end', 'class'
'default' => 'themify_admin_script_style'); => 'hide-if sidebar-
'initial', none',
foreach($supportedTypes as $s)
), { 'meta'
=> array(
array( require_once( $dir .
"$s.php" );
'name' =>
} array( 'value' => '', 'name' => '',
'imagefilter_applyto',
'selected' => true ),
'title' =>
__('Apply Filter To', 'themify'), return $meta_boxes;
array( 'value' => 1, 'name' =>
'description' => } __( 'Enable', 'themify' ) ),
sprintf(__('Image filters can be set site-
wide at <a href="%s" if (!in_array($post_type,
target="_blank">Themify > Settings > $supportedTypes , true)) { array( 'value' => 0, 'name' =>
Theme Settings</a>', 'themify'), __( 'Disable', 'themify' ) )
admin_url('admin.php? return $meta_boxes;
page=themify#setting-theme_settings')), )
}
'type' => 'radio', );
themify_admin_script_style();
'meta' => array(
require_once( $dir . "$post_type.php" );
array_splice( $metabox_opt, 1,
$theme_metaboxes = 0, array($sticky_sidebar) );
array('value' => 'initial', 'name' call_user_func_array( "themify_theme_get
=> __('Theme Default', 'themify')), _{$post_type}_metaboxes", array( array(),
&$meta_boxes ) );
return
array('value' => 'all', 'name' => $metabox_opt;
__('All Images', 'themify'), 'selected' =>
return array_merge($theme_metaboxes, }
true),
$meta_boxes);

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
} * @since 1.3.0 $result =
update_option( 'themify_warning_' .
function */ $_POST['warning'], true );
themify_theme_register_required_plugins(
$plugins = array()) { function }
themify_check_ecommerce_environment_
array_push($plugins , admin() { if ( $result ) {

array( $warning = echo


'installwoocommerce9'; 'true';
'name' => __( ' Themify
Product Filter', 'themify' ), if ( ! } else {
get_option( 'themify_warning_' .
'slug' => 'themify-wc- $warning ) ) { echo
product-filter', 'false';

'source' => }
'https://downloads.wordpress.org/plugin/th wp_enqueue_script( 'themify-admin-
emify-wc-product-filter.zip', warning', themify_enque(THEME_URI . die;
'/admin/js/themify.admin.warning.js'),
'required' => false, array('jquery'), Themify_Enqueue_Assets:: }
$themeVersion, true );
'version' => '1.1.9',
echo '<div
add_action( 'wp_ajax_themify_dismiss_wa
'force_activation' => false, class="update-nag">'.__('Remember to
rning', 'themify_dismiss_warning' );
install and activate WooCommerce plugin
'force_deactivation' => false, to enable the shop.', 'themify'). ' <a }
href="#" class="themify-close-warning"
), data-warning="' . $warning . '" data- function
nonce="' . wp_create_nonce( 'themify- themify_theme_skins_list( $skins ) {
array(
warning' ) . '">' . __("Got it, don't remind
'name' me again.", 'themify') . '</a></div>'; unset( $skins[0] ); // remove No
=> __( ' Themify Popup', 'themify' ), Skin option
}
'slug'
}
=> ' themify-popup',
// set Default as the first choice
add_action( 'admin_notices',
'source'
'themify_check_ecommerce_environment_ $default = $skins['default'];
=>
admin' );
'https://downloads.wordpress.org/plugin/th unset( $skins['default'] );
emify-popup.zip', }
'required' function themify_admin_script_style() {
=> false,
wp_enqueue_script('themify-admin-
'version' script', themify_enque(THEME_URI . return
=> '1.1.4', '/admin/js/admin- array_merge( array( 'default' => $default ),
script.js'),null,Themify_Enqueue_Assets:: $skins );
'force_act
$themeVersion,true);
ivation' => false, }
}
'force_de function
activation' => false, if ( ! themify_theme_bonus_addons_update( $m
function_exists( 'themify_dismiss_warning' atch, $subs ) {
)
)){
$theme = wp_get_theme();
);
function
$theme_name =
return $plugins; themify_dismiss_warning() {
( is_child_theme() ) ? $theme->parent()-
>Name : $theme->display('Name');
}
check_ajax_referer( 'themify- $theme_name =
if ( ! themify_is_woocommerce_active() ) warning', 'nonce' ); preg_replace( '/^Themify\s/', '',
{
$theme_name );
$result = false;
/**
foreach ( $subs as $value ) {
if
* Check in admin if Woocommerce is ( isset( $_POST['warning'] ) ) { if
enabled and show a notice otherwise.
( ( stripos( $value['title'], $theme_name ) !

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
== false || stripos( $value['title'], 'Standard class Themify_Portfolio { $messages[ $this->post_type ]
Club' ) !== false ) && = array(
isset( $_POST['nicename_short'] ) && private $post_type =
in_array( $_POST['nicename_short'], 'portfolio';
array( 'Slider Pro', 'Pricing Table', 'Maps 0 => '',
Pro', 'Typewriter', 'Image Pro', 'Timeline', private $tax =
'WooCommmerce', 'Contact', 'Counter', 'portfolio-category';
'Progress Bar', 'Countdown', 'Audio' ),true )
function 1 => sprintf( __('%s updated. <a
){
__construct() { href="%s">View %s</a>.', 'themify'),
$match = $post_type_object->labels->name, esc_url(
'true'; $view ), $post_type_object->labels-
add_action( 'save_post', >name ),
break; array($this, 'set_default_term'), 100, 2 );

} 2 => __( 'Custom field


updated.', 'themify' ),
}
add_filter( 'post_updated_messages', array(
return $match; $this, 'updated_messages' ) );
3 => __( 'Custom field deleted.',
} 'themify' ),
add_shortcode( $this-
if(isset( $_GET['page'] ) &&
>post_type, array( $this,
$_GET['page']==='themify'){
'init_shortcode' ) ); 4 => sprintf( __('%s updated.',
'themify'), $post_type_object->labels-
>name ),
add_filter( 'themify_show_skins_and_dem
add_shortcode( 'themify_' .
os_admin', '__return_true' );
$this->post_type . '_posts', array( $this,
'init_shortcode' ) ); 5 => isset( $_GET['revision'] ) ?
sprintf( __( '%s restored to revision from
add_filter( 'themify_theme_skins', } %s', 'themify' ), $post_type_object->labels-
'themify_theme_skins_list' ); >name, wp_post_revision_title( ( int )
function
$_GET['revision'], false ) ) : false,
themify_theme_setup_metaboxes(); updated_messages( $messages ) {

} global
$post; 6 => sprintf( __('%s published.',
else{ 'themify'), $post_type_object->labels-
>name ),
if(!$post)
add_filter('themify_metabox/fields/themify {
-meta-boxes', 7 => sprintf( __('%s saved.',
'themify_theme_setup_metaboxes', 10, 2); 'themify'), $post_type_object->labels-
>name ),
$post = get_post();
add_filter('themify_post_type_default_opti
ons', 8 => sprintf( __('%s submitted.',
'themify_theme_setup_CPT_metaboxes'); 'themify'), $post_type_object->labels-
}
>name ),
}

add_filter( 'themify_theme_required_plugi
ns', $post_type = $post-
'themify_theme_register_required_plugins' >post_type;
9 => sprintf( __( '%s scheduled
);
for: <strong>%s</strong>.', 'themify' ),
add_filter( 'themify_builder_validate_login
$post_type_object =
', 'themify_theme_bonus_addons_update',
get_post_type_object( $post_type );
10, 2 ); $post_type_object-
>labels->name, date_i18n( __( 'M j, Y @
Post-type-portfolio $view = G:i', 'themify' ), strtotime( $post-
get_permalink( $post->ID ); >post_date ) ) ),
<?php

if ( ! class_exists( 'Themify_Portfolio' ) ) {
10 => sprintf( __( '%s draft

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
updated.', 'themify' ), $post_type_object- }
>labels->name )
function 'sorting' => 'no', // yes
); init_shortcode( $atts ) {

return $args = 'paged' => '0', // internal use for


$messages; array( pagination, dev: previously was 1

function 'id' => '', 'use_original_dimensions' =>


set_default_term( $post_id, $post ) { 'no', // yes

if 'title' => '',


( 'publish' === $post->post_status ) { 'filter' => 'yes', // entry filter

'unlink_title' => '',


$terms = 'visible' => '3',
wp_get_post_terms( $post_id, $this->tax );
'image' => 'yes', // no
'scroll' => '1',
if ( empty( $terms ) ) {
'image_w' => 290,
'speed' => '1000', // integer,
slow, normal, fast
wp_set_object_terms( $post_id, 'image_h' => 290,
__( 'Uncategorized', 'themify' ), $this-
>tax ); 'autoplay' => 'off',
'display' => 'none', // excerpt,
content );
}
if ( !
} isset( $atts['image_w'] ) || '' ==
'post_meta' => '', // yes $atts['image_w'] ) {
}

function 'post_date' => '', // yes if ( ! isset( $atts['style'] ) ) {


section_link( $more_link, $more_text,
$post_type ) {

if 'more_link' => false, // true goes $atts['style'] =


( $more_link ) { to post type archive, and admits custom 'grid3';
link

if ( 'true' == $more_link ) { }
'more_text' => __('More &rarr;',
'themify'),
$more_link =
get_post_type_archive_link( $post_type ); switch ( $atts['style'] ) {
'limit' => 4,

} case 'list-post':
'category' => 'all', // integer
category ID

$args['image_w'] = 1160;
'order' => 'DESC', // ASC

return '<p class="more-link-


wrap"><a href="' . esc_url( $more_link ) . 'orderby' => 'date', // title, rand $args['image_h'] = 665;
'" class="more-link">' . $more_text .
'</a></p>';

} 'style' => 'grid4', // grid4, grid3, break;


grid2
return '';

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
case 'list-thumb- //
image': Pagination
case 'grid4':
global
$paged;
case '':
$args['image_w'] = 260; $paged =
(get_query_var('paged')) ?
get_query_var('paged') : 1;
$args['image_w'] = 260;
//
Parameters to get posts

$args['image_h'] = 150; $args =


$args['image_h'] = 150; array(

break;
break; 'post_type' => $post_type,

case 'grid2-thumb':
case 'grid3': 'posts_per_page' => $limit,

$args['image_w'] = 160; 'order' => $order,


$args['image_w'] = 360;

'orderby' => $orderby,


$args['image_h'] = 95;
$args['image_h'] = 205;
'suppress_filters' => false,
break;
break;
'paged' => $paged
case 'slider':
case 'grid2': );

if( '' !=
$id ){
$args['image_w'] = 1280;
$args['image_w'] = 561;

if(strpos($id, ',')){

$args['image_h'] = 500;
$args['image_h'] = 321;
$ids = explode(',',
str_replace(' ', '', $id));
break;
break;

foreach ($ids as
} $string_id) {
case 'list-large-
image': }

return $int_ids[]
do_shortcode( $this- = intval($string_id);
$args['image_w'] = 800; >shortcode( shortcode_atts( $args, $atts ),
$this->post_type ) );
}
}

$args['image_h'] = 460; function


$args['post__in'] =
shortcode($atts, $post_type){
$int_ids;
break;
extract($atts);

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$args['orderby'] =
'post__in';
if( '' == $post_date ){ $image_h =
themify_get('setting-
default_portfolio_index_image_post_heigh
} else { t',221,true);
$post_date =
themify_get('setting-
default_portfolio_index_post_date','yes',tru
$args['p'] = e); }
intval($id);

} if( '' == $title ){


$multiple = false;

if( '' == $title ){ $title =


} themify_get('setting-
default_portfolio_index_title','yes',true);
}
$title =
themify_get('setting-
default_portfolio_single_title','yes',true); }
$portfolio_query = new
WP_Query();

$posts = } if( '' == $unlink_title ){


$portfolio_query-
>query(apply_filters('themify_'.
$post_type.'_shortcode_args', $args)); if( '' == $unlink_title ){ $unlink_title =
themify_get('setting-
if( '' == default_portfolio_index_unlink_post_title','
$style ){ no',true);
$unlink_title =
themify_get('setting-
default_portfolio_single_unlink_post_title',
$style = themify_get('setting- 'no',true); }
default_portfolio_index_post_layout','grid4
',true);

} } // Reverse logic

if( is_singular('portfolio') ){ if( '' == $post_meta ){ if( '' == $post_date ){

if( '' == $image_w ){ $post_meta = $post_date = 'no' ===


themify_get('setting- themify_get('setting-
default_portfolio_single_meta','yes',true); default_portfolio_index_post_date','yes',tru
e)?'yes' : 'no';
$image_w =
themify_get('setting-
default_portfolio_single_image_post_widt }
h',670,true); }
} else {

} if( '' == $post_meta ){


if( '' == $image_w ){

if( '' == $image_h ){ $post_meta = 'no' ===


$image_w = themify_get('setting-
themify_get('setting- default_portfolio_index_post_meta_catego
default_portfolio_index_image_post_width ry','yes',true)? 'yes' : 'no';
$image_h = ',221,true);
themify_get('setting-
default_portfolio_single_image_post_heig
ht',0,true); }
}
}

} $out = '';
if( '' == $image_h ){

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$out =
ob_get_contents();
if( $posts } else {
){
ob_end_clean();
$themify->width =
global $themify; $image_w;

$themify_save = clone $themify->height =


$themify; // save a copy $image_h;

$class=apply_filters( 'themify_loops_wrap
per_class', array($post_type,$style),
$themify->hide_title = 'yes' }
$post_type,$themify-
=== $title? 'no': 'yes'; >post_layout,'shortcode' );

$themify-
$themify->unlink_title = ( '' == >use_original_dimensions = 'yes' ===
$out = '<div data-lazy="1"
$unlink_title || 'no' === $unlink_title )? 'no' $use_original_dimensions? 'yes': 'no';
class="loops-wrapper shortcode ' .
: 'yes'; implode(' ',$class) . ' tf_clear">';

$themify->display_content =
$themify->hide_image = 'yes' $display;
if ( 'slider' ===
=== $image? 'no': 'yes'; $themify->post_layout ) {

$themify->more_link =
$themify->hide_meta = 'yes' $more_link;
switch
=== $post_meta? 'no': 'yes'; ( $speed ) {

$themify->more_text =
$themify->hide_date = 'yes' $more_text;
=== $post_date? 'no': 'yes'; case 'fast':

$themify->post_layout =
if(!$multiple) { explode(' ',$style);
$speed = '500';

$themify-
if( '' == $image_w || >post_layout=trim($themify-
get_post_meta($args['p'], 'image_width', >post_layout[0]);
break;
true ) ){

$themify- case 'normal':


>width = get_post_meta($args['p'], if ( 'yes' === $filter &&
'image_width', true ); $themify->post_layout!=='slider') {

$themify- $speed = '1000';


}
>query_category = $category;

$themify->query_taxonomy =
if( '' == $image_h || $this->tax; break;
get_post_meta($args['p'], 'image_height',
true ) ){
ob_start();
case 'slow':
$themify-
>height = get_post_meta($args['p'],
'image_height', true );
get_template_part(
'includes/filter', $this->post_type ); $speed = '4000';

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
} item.find(
break; '.themify-widget-
} options' ).prevAll().hide();

new Themify_Portfolio();
}
if( item.hasClass( 'menu-item-
depth-0' ) ) {
$out .= Admin-nav-menu.js
'<div class="slideshow tf_carousel swiper-
container tf_overflow tf_rel" data-lazy="1" jQuery(function($){ item.find( '.edit-menu-item-title'
data-autoplay="' . $autoplay . '" data- ).closest( 'p' ).show();
speed="' . $speed . '" data-scroll="' . $scroll function add_item_callback() {
. '" data-visible="' . $visible . '"><div }
$( '.spinner',
class="swiper-wrapper tf_lazy tf_rel tf_w
'#themify-widget- }
tf_h">';
section' ).fadeOut(function(){
});
$
(this).remove(); $( 'body' ).on( 'change',
$out .= '.themify_field_tf-mega', function(){
themify_get_shortcode_template($posts, });
'includes/loop-portfolio', 'index'); if( $( this ).val() == ''
} ){

$( '#themify-widget-menu- $
$out .= submit' ).click(function(){ ( this ).closest( '.menu-item' ).find( '.tf-
'</div></div>'; dropdown-columns-field' ).show();
var selected = $
('#themify-menu-widgets :checked'), } else {
} else {
$button = $
$( this ); ( this ).closest( '.menu-item' ).find( '.tf-
dropdown-columns-field' ).hide();
$out .= if( selected.length >
themify_get_shortcode_template($posts, 0){ }
'includes/loop-portfolio', 'index');
$( '<span if( $( this ).val() ==
class="spinner" style="visibility: visible; 'columns' ) {
} display:
inline-block;"></span>' ).insertBefore( $bu $
tton ); ( this ).closest( '.menu-item' ).find( '.tf-
mega-columns-layout' ).show();
$out .= $this-
>section_link($more_link, $more_text, } else {
$post_type);
wpNavMenu.addLinkToMenu( '#' + $
selected.val(), selected.text(), null, ( this ).closest( '.menu-item' ).find( '.tf-
add_item_callback ); mega-columns-layout' ).hide();
$out .= '</div>';
} }
$themify = clone }); } );
$themify_save; // revert to original
$themify state $( '#update-nav-menu' ) $( '#update-nav-
menu' ).on('click', '.item-edit', function(){
.on('click', '.item-edit',
function(){ $
( this ).closest( '.menu-
var item = $
item' ).find( '.themify_field_tf-
(this).closest( 'li.menu-item-custom' );
mega' ).trigger( 'change' );
if( item.length < 1 )
wp_reset_postdata(); });
return;
}

return if( item.find( '.themify-widget- });


$out; options' ).length > 0 ) { // widget type
Admin-nav-menu-min.js
}

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'use strict';jQuery(function(a){function c() $masonary = $post_type == $masonary.slideDown();
{a(".spinner","#themify-widget- '' ? $('#post_masonry') : $
section").fadeOut(function() ('#product_masonry'), $media.slideDown();
{a(this).remove()})}a("#themify-widget-
menu-submit").click(function(){var $masonary = }
b=a("#themify-menu- $masonary.closest('.themify_field_row'),
});
widgets :checked"),d=a(this);0<b.length&
&(a('<span class="spinner" $content_layout = $post_type
== '' ? $('#post_content_layout') : $ $
style="visibility: visible; display: inline- ('#query_category,#product_query_categor
block;"></span>').insertBefore(d),wpNav ('#product_content_layout'),
y').change(function () {
Menu.addLinkToMenu("#"+b.val(),b.text()
$content_layout =
,null,c))});a("#update-nav- var $post_type = $
$content_layout.closest('.themify_field_ro
menu").on("click",".item-edit",function() (this).closest('#query_category').length >
w'),
{var b=a(this).closest("li.menu-item- 0 ? '' : 'product_';
custom");!(1> $category = $('#' + $post_type
+ 'query_category').val(); $('input[name="' + $post_type +
b.length)&&0<b.find(".themify-widget- 'layout"],#' + $post_type +
options").length&&(b.find(".themify- // SlideUp/animation doesn't work 'more_posts').trigger('change');
widget- when element is hidden
options").prevAll().hide(),b.hasClass("men });
u-item-depth-0")&&b.find(".edit-menu- if (!$category) {
item- $('#product_more_posts,
title").closest("p").show())});a("body").on( $masonary.hide(); #more_posts').change(function (e) {
"change",".themify_field_tf-
$media.hide(); var $val = $(this).val(),
mega",function(){""==a(this).val()?
a(this).closest(".menu-item").find(".tf- $post_type = $
$content_layout.hide();
dropdown-columns- (this).parents('#query-posts').length > 0 ?
field").show():a(this).closest(".menu- return; '' : 'product_',
item").find(".tf-dropdown-columns-
field").hide();"columns"==a(this).val()? } $pagination = $('#' +
a(this).closest(".menu-item").find(".tf- $post_type + 'hide_navigation'),
mega-columns-layout").show(): if ($val === 'list-post' || $val ===
'list-large-image' || $val === 'auto_tiles') { $category = $('#' + $post_type
a(this).closest(".menu-item").find(".tf- + 'query_category').val();
mega-columns- $masonary.slideUp();
layout").hide()});a("#update-nav- $pagination =
menu").on("click",".item-edit",function() if ($val === 'list-post') { $pagination.closest('.themify_field_row');
{a(this).closest(".menu-
$media.slideDown(); if (!$category) {
item").find(".themify_field_tf-
mega").trigger("change")})}); } $pagination.hide();
admin-script.js else { return;
(function ($) { $media.slideUp(); }
'use strict'; } if ($val === 'infinite' || !$('#' +
$post_type + 'query_category').val()) {
window.addEventListener('load', if ($val === 'auto_tiles' || $val
function(){ === 'list-large-image') { $pagination.slideUp();
$('#query-posts $content_layout.slideUp() }
input[name="layout"],#query-products
input[name="product_layout"]').change(fu } else {
nction (e) {
else { $pagination.slideDown();
var $val = $(this).val(),
$content_layout.slideDown(); }
$post_type = $
(this).parents('#query-posts').length > 0 ? } }).trigger('change');
'' : 'product_',
}
$media = $post_type == '' ? $
('#media_position').closest('.themify_field_ $
row') : $(), ('#query_category,#product_query_categor
else { y').trigger('change');
$content_layout.slideDown();

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$ }).trigger('change'); $
('body').delegate('#themify_builder_lightbo ( '#exclude_menu_navigation .dropdownbu
x_parent #layout_post a, var CartStyle = function (val) { tton a' ).on( 'click', function() {
#themify_builder_lightbox_parent
#layout_products a', 'click', function () { var $cart_style = $('#cart_style- if ( $( this
dropdown').closest('.themify_field_row'); ).data( 'val' ) == 'yes' ) {
var $masonary = $
('#themify_builder_lightbox_parent .mason if (val === 'yes') {
ry_post'), $
$cart_style.hide();
( '#mobile_menu_styles' ).closest( '.themify
$content_layout = $
} _field_row' ).hide();
('#themify_builder_lightbox_parent .conten
t_layout'), else { } else {
$val = $(this).prop('id'); $cart_style.show();
if ($val === 'grid3' || $val === } $
'grid2' || $val === 'grid4' || $val==='grid5' || ( '#mobile_menu_styles' ).closest( '.themify
$val==='grid6') { }; _field_row' ).show();

$masonary.show(); $('#exclude_cart .ddbtn }


a').click(function () {
$content_layout.show(); } );
CartStyle($(this).data('val'));
} var $searchPostType = $
}); ('input[name="setting-
else { search_post_type"]');
CartStyle($
$masonary.hide(); ('input#exclude_cart').val()); if($searchPostType.length){

if ($val === 'auto_tiles') { $('body').on('editing_module_option', $


function (e, settings) { ('#themify_search_settings .themify_panel
$content_layout.hide(); _fieldset_wrap
p:not(.themify_search_post_type)').each(fu
}
nction(){
if ($
else {
('#themify_builder_lightbox_parent .mason $(this).attr({
$content_layout.show(); ry_post').length > 0) {
'data-show-if-
} setTimeout(function () { element':'[name=setting-
search_post_type]',
} var $cl = $
('#themify_builder_lightbox_parent 'data-show-if-value':'all'
}); #layout_post').length > 0 ? '#layout_post' :
'#layout_products', });
$
('input[name="header_wrap"]').change(fun $layout = $ });
ction () { ('#themify_builder_lightbox_parent ' + $cl
+ ' a.selected'); }
var bg_field = $
}, {once:true, passive:true});
('#background_color').closest('.themify_fie
ld_row'); }(jQuery));
if ($layout.length === 0) {
if ($(this).val() === 'slider') {
$layout = $ Admin-script-min.js
$ ('#themify_builder_lightbox_parent ' + $cl
+ ' a').first(); 'use strict';(function(a)
('#background_wrap').closest('.themify_fiel
{window.addEventListener("load",function
d_row').after(bg_field);
} (){a('#query-posts
} input[name="layout"],#query-products
$layout.trigger('click'); input[name="product_layout"]').change(fu
else { nction(b){b=a(this).val();var
}, 600); c=0<a(this).parents("#query-
$ posts").length?"":"product_",d=""==c?
('#background_position').closest('.themify_ }
a("#media_position").closest(".themify_fie
field_row').after(bg_field); ld_row"):a(),e=""==c?
});
a("#post_masonry"):a("#product_masonry"
} );e=e.closest(".themify_field_row");var
f=""==c?

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
a("#post_content_layout"):a("#product_co #layout_post").length?"#layout_post":"#la })(jQuery);
ntent_layout");f=f.closest(".themify_field_ yout_products",c=a("#themify_builder_lig
row");a("#"+ Themify.admin.warning.min.js
htbox_parent "+b+"
c+"query_category").val()?"list- a.selected");0===c.length&&(c=a("#themi 'use strict';(function(a)
post"===b||"list-large- fy_builder_lightbox_parent "+ {window.addEventListener("load",function
image"===b||"auto_tiles"===b? (){a("body").on("click",".themify-close-
(e.slideUp(),"list-post"===b? b+" warning",function(){const
d.slideDown():d.slideUp(),"auto_tiles"=== a").first());c.trigger("click")},600)});a("#ex b=a(this),c={action:"themify_dismiss_war
b||"list-large-image"===b? clude_menu_navigation .dropdownbutton ning",nonce:b.data("nonce"),warning:b.dat
f.slideUp():f.slideDown()): a").on("click",function() a("warning")};a.post(ajaxurl,c,function(a)
(f.slideDown(),e.slideDown(),d.slideDown {"yes"==a(this).data("val")? {a&&b.parent().fadeOut().remove()})})},
()): a("#mobile_menu_styles").closest(".themif {once:!0,passive:!0})})(jQuery);
(e.hide(),d.hide(),f.hide())});a("#query_cat y_field_row").hide():a("#mobile_menu_sty
egory,#product_query_category").change(f les").closest(".themify_field_row").show() Page.php
unction(){var });a('input[name="setting-
b=0<a(this).closest("#query_category").len search_post_type"]').length&&a("#themify <?php
gth?"":"product_";a('input[name="'+b+'lay _search_settings .themify_panel_fieldset_
out"],#'+b+"more_posts").trigger("change" wrap if (!
)});a("#product_more_posts, p:not(.themify_search_post_type)").each(f function_exists('themify_theme_page_met
#more_posts").change(function(b){b= unction(){a(this).attr({"data-show-if- a_box')) {
element":"[name=setting-
a(this).val();var search_post_type]","data-show-if- function
c=0<a(this).parents("#query- value":"all"})})}, themify_theme_page_meta_box() {
posts").length?"":"product_",d=a("#"+c+"h
{once:!0,passive:!0})})(jQuery); return array(
ide_navigation"),e=a("#"+c+"query_catego
ry").val();d=d.closest(".themify_field_row" array(
);e?"infinite"! Themify.admin.warning.js
==b&&a("#"+c+"query_category").val()? 'name' =>
d.slideDown():d.slideUp():d.hide()}).trigge (function($){
'page_layout',
r("change");a("#query_category,#product_
'use strict';
query_category").trigger("change");a("bod 'title' => __('Sidebar
y").delegate("#themify_builder_lightbox_p Option', 'themify'),
arent #layout_post a,
#themify_builder_lightbox_parent window.addEventListener('load', function() 'description' => '',
#layout_products a","click",function(){var {
'type' => 'layout',
b=a("#themify_builder_lightbox_parent .m
$('body').on('click', '.themify-close-
asonry_post"),
warning', function(){ 'show_title' => true,
c=a("#themify_builder_lightbox_parent .co
const $self = $(this), 'meta' => array(
ntent_layout"),d=a(this).prop("id");"grid3"
===d||"grid2"===d||"grid4"===d||"grid5"= data = { array('value' =>
==d||"grid6"===d?(b.show(),c.show()): 'default', 'img' => 'themify/img/default.svg',
(b.hide(),"auto_tiles"===d? action: 'selected' => true, 'title' => __('Default',
c.hide():c.show())});a('input[name="header 'themify_dismiss_warning', 'themify')),
_wrap"]').change(function(){var
b=a("#background_color").closest(".themif nonce: $self.data('nonce'), array('value' =>
y_field_row");"slider"===a(this).val()? 'sidebar1', 'img' =>
a("#background_wrap").closest(".themify_ warning: $self.data('warning') 'images/layout-icons/sidebar1.png', 'title'
field_row").after(b):a("#background_positi => __('Sidebar Right', 'themify')),
};
on").closest(".themify_field_row").after(b)
}).trigger("change");var g=function(b){var array('value' =>
$.post(ajaxurl, data,
c= 'sidebar1 sidebar-left', 'img' =>
function(response) {
'images/layout-icons/sidebar1-left.png',
a("#cart_style- if ( response ) { 'title' => __('Sidebar Left', 'themify')),
dropdown").closest(".themify_field_row");
"yes"===b? array('value' =>
c.hide():c.show()};a("#exclude_cart .ddbtn 'sidebar-none', 'img' => 'images/layout-
a").click(function() $self.parent().fadeOut().remove(); icons/sidebar-none.png', 'title' => __('No
{g(a(this).data("val"))});g(a("input#exclud Sidebar ', 'themify'))
}
e_cart").val());a("body").on("editing_modu
le_option",function(b,c) ),
});
{0<a("#themify_builder_lightbox_parent .
'default' => 'default',
masonry_post").length&&setTimeout(func });
tion(){var 'hide' => 'sidebar-
b=0<a("#themify_builder_lightbox_parent }, {once:true, passive:true}); none post_sticky_sidebar default'

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
), ), array('value' =>
'default', 'name' => '', 'selected' => true),
array(
array('value' =>
// Stiky Sidebar 'name' => 'yes', 'name' => __('Yes', 'themify')),
'content_width',
array( array('value' =>
'title' => __('Content 'no', 'name' => __('No', 'themify'))
'name' => Width', 'themify'),
'post_sticky_sidebar', ),
'description' =>
'title' => __('Sticky 'Select "Fullwidth" if the page is to be built 'default' => 'default'
Sidebar', 'themify'), with the Builder without the sidebar (it will
make the Builder content fullwidth).', ),
'description' => '',
'type' => 'layout', array(
'type' => 'dropdown',
'show_title' => true, 'name' =>
'show_title' => true, 'custom_menu',
'meta' => array(
'class' => 'hide-if 'title' => __('Custom
sidebar-none', array( Menu', 'themify'),

'meta' => array( 'value' => 'description' => '',


'default_width',
array('value' => '', 'type' => 'dropdown',
'name' => '', 'selected' => true), 'img' =>
'themify/img/default.svg', 'meta' =>
array('value' => 1, themify_get_available_menus()
'name' => __('Enable', 'themify')), 'selected'
=> true, ),
array('value' => 0,
'name' => __('Disable', 'themify')) 'title' => );
__('Default', 'themify')
), }
),
), }
array(
array( function
'value' => themify_default_page_layout($data =
'name' => 'full_width', array()) {
'sidebar_type',
'img' => $data = themify_get_data();
'title' => '', 'themify/img/fullwidth.svg',
$prefix = 'setting-default_page_';
'description' => '', 'title' =>
__('Fullwidth', 'themify') $sidebar_location_options = array(
'type' => 'radio',
) array('value' => 'sidebar1', 'img'
'meta' => array( => 'images/layout-icons/sidebar1.png',
), 'selected' => true, 'title' => __('Sidebar
array('value' => Right', 'themify')),
'main', 'name' => __('Display default 'default' =>
sidebar', 'themify'), 'selected' => true), 'default_width' array('value' => 'sidebar1
sidebar-left', 'img' => 'images/layout-
array('value' => ), icons/sidebar1-left.png', 'title' =>
'shop', 'name' => __('Display Shop sidebar', __('Sidebar Left', 'themify')),
'themify'),) array(
array('value' => 'sidebar-none',
), 'name' => 'img' => 'images/layout-icons/sidebar-
'hide_page_title', none.png', 'title' => __('No Sidebar',
'display_callback' =>
'themify'))
'themify_is_woocommerce_active', 'title' => __('Hide
Page Title', 'themify'), );
'enable_toggle' =>
true, 'description' => '', $default_options = array(
'class' => 'hide-if 'type' => 'dropdown', array('name' => '', 'value' => ''),
sidebar-none default',
'meta' => array(
'default' => 'main',

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
array('name' => __('Yes',
'themify'), 'value' => 'yes'), <input type="checkbox" id="' .
</p>';
esc_attr($prefix) . 'sticky_sidebar" name="'
array('name' => __('No', . esc_attr($prefix) . 'sticky_sidebar"
'themify'), 'value' => 'no') value="1"
$pre = 'setting-comments_pages';
);
$output .= '<p><span class="label">' .
$output = '';
'. __('Page Comments', 'themify') .
checked(themify_get(esc_attr($prefix) . '</span><label for="' . $pre . '"><input
'sticky_sidebar'), 1, false) . ' type="checkbox" id="' . $pre . '" name="' .
$output .= '<p> $pre . '" ' . checked(themify_get($pre), 'on',
false) . ' /> ' . __('Disable comments in all
Pages', 'themify') . '</label></p>';
<span />' . __('Enable sticky sidebar', return $output;
class="label">' . __('Page Sidebar Option', 'themify') . '
'themify') . '</span>'; }

$val = isset($data[$prefix . 'layout']) ? if(!


$data[$prefix . 'layout'] : ''; </label>
function_exists('themify_shoppe_custom_p
ost_type_layouts')) {
foreach ($sidebar_location_options as
$option) { </p>'; function
themify_shoppe_custom_post_type_layout
if (( '' == $val || !$val || ! $output .= '<p> s($data = array()){
isset($val) ) && ( isset($option['selected'])
&& $option['selected'] )) { $data =
<span themify_get_data();
$val = $option['value'];
class="label">' . __('Hide Title in All
Pages', 'themify') . '</span> $prefix = 'setting-
} custom_post_';
if ($val == $option['value']) { $output = '';
<select
$class = "selected"; name="setting-hide_page_title">' . $custom_posts =
null;
} else {

themify_options_module($default_options, $post_types =
$class = "";
'setting-hide_page_title') . ' get_post_types(array('public' => true,
} 'publicly_queryable' => 'true'), 'objects');

$output .= '<a href="#" $excluded_types =


</select> apply_filters( 'themify_exclude_CPT_for_s
class="preview-icon ' . $class . '" title="' .
$option['title'] . '"><img src="' . idebar', array('post', 'page', 'attachment',
THEME_URI . '/' . $option['img'] . '" 'product', 'tbuilder_layout',
alt="' . $option['value'] . '" /></a>'; </p>'; 'tbuilder_layout_part', 'section',
'portfolio'));
} $output .= '<p>
foreach ($post_types
$output .= '<input type="hidden" as $key => $value) {
name="' . $prefix . 'layout" class="val" <span
value="' . $val . '" /></p>'; if (!
class="label">' . __('Hide Featured Image',
in_array($key, $excluded_types)) {
'themify') . '</span>
$output .= '<p class="pushlabel" data-
show-if-element="[name=' .
esc_attr($prefix) . 'layout]" $custom_posts[$key] =
<select
array( 'name' => $value->labels-
data-show-if- name="setting-hide_page_image">' .
>singular_name, 'archive' => $value-
value=\'["sidebar1", "sidebar1 sidebar- >has_archive );
left"]\'>
themify_options_module($default_options, }
'setting-hide_page_image') . '
<label }
for="' . esc_attr($prefix) . 'sticky_sidebar">
$custom_posts =
</select>
apply_filters('themify_get_public_post_typ
es', $custom_posts);

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
for="'.esc_attr($prefix.
$key).'_archive_post_sticky_sidebar">
$sidebar_location_options = if ( ( '' ==
array( $val || ! $val || ! isset( $val ) ) &&
( isset( $option['selected'] ) &&
$option['selected'] ) ) {
<input type="checkbox"
array('value' => 'sidebar1', 'img'
id="'.esc_attr($prefix.
=> 'images/layout-icons/sidebar1.png',
$key).'_archive_post_sticky_sidebar"
'title' => __('Sidebar Right', 'themify')),
name="'.esc_attr($prefix.
$val = $option['value'];
$key).'_archive_post_sticky_sidebar"
value="1"
array('value' => 'sidebar1
sidebar-left', 'img' => 'images/layout- }
icons/sidebar1-left.png', 'title' =>
__('Sidebar Left', 'themify')),
'.checked( themify_get( esc_attr
if ( $val ($prefix.
== $option['value'] ) { $key).'_archive_post_sticky_sidebar' ),1,
array('value' => 'sidebar-none', false ) .'
'img' => 'images/layout-icons/sidebar-
none.png', 'title' => __('No Sidebar ',
'themify')) $class = "selected";
); />'.__('Enable sticky sidebar',
'themify').'
} else {
if(is_array($custom_posts)){
</label>

$class = "";
foreach($custom_posts as $key
=> $cPost){ </p>';

}
$output .= '<p> }

$output .= '<a href="#"


class="preview-icon '.$class.'" title="'.
'. sprintf('<h4>%s
$option['title'].'"><img $output .= '<p>'. sprintf('<span
%s</h4>', $cPost['name'], __('Post Type',
src="'.THEME_URI.'/'.$option['img'].'" class="label">%s %s</span>',
'themify'));
alt="'.$option['value'].'" /></a>'; ucfirst($cPost['name']), __('Single Sidebar',
'themify'));

}
if ($cPost['archive']) { $val = isset( $data[$prefix.
$key.'_single'] ) ? $data[$prefix.
$key.'_single'] : '';

$output .= '<input
$output .= '<p>'. type="hidden" name="'.($prefix.
sprintf('<span class="label">%s $key).'_archive" class="val" value="'.
%s</span>', $cPost['name'], __('Archive $val.'" /></p>'; foreach
Sidebar', 'themify')); ( $sidebar_location_options as $option ) {

$output .= '<p
$val = class="pushlabel" data-show-if- if ( ( '' == $val || !
isset( $data[$prefix.$key.'_archive'] ) ? element="[name=' . ($prefix.$key) . $val || ! isset( $val ) ) &&
$data[$prefix.$key.'_archive'] : ''; '_archive]" ( isset( $option['selected'] ) &&
$option['selected'] ) ) {
data-show-if-
value=\'["sidebar1", "sidebar1 sidebar-
left"]\'>
$val =
foreach $option['value'];
( $sidebar_location_options as $option ) {
<label

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'title' => __('Query Category',
'themify'),
}
'.checked( themify_get( esc_attr 'description' => __('Select a
($prefix. category or enter multiple category IDs
if ( $val == $key).'_single_post_sticky_sidebar' ),1, (eg. 2,5,6). Enter 0 to display all category.',
$option['value'] ) { false ) .' 'themify'),

'type' => 'query_category',


$class =
/>'.__('Enable sticky sidebar', 'meta' => array()
"selected";
'themify').'
),

} else { array(
</label>
'name' =>
'query_all_post_types',
$class =
""; </p></p>';
'type' => 'dropdown',
}
'title' => __('Query All Post
} } Types', 'themify'),

return $output; 'meta' => array(


$output .= '<a array(
}
href="#" class="preview-icon '.$class.'"
title="'.$option['title'].'"><img } 'value' => '',
src="'.THEME_URI.'/'.$option['img'].'"
function 'name' => '',
themify_theme_query_post_meta_box() {
),
alt="'.$option['value'].'" /></a>'; return array(
array(
// Notice
'value' => 'yes',
}
'name' => 'Yes',
array(
$output .= '<input ),
type="hidden" name="'.($prefix. 'name' =>
$key).'_single" class="val" value="'. array(
'_query_posts_notice',
$val.'" /></p>';
'value' => 'no',
'title' => '',
'name' => 'No',
'description' => '',
$output .= '<p
class="pushlabel" data-show-if- ),
'type' => 'separator',
element="[name=' . ($prefix.$key) .
)
'_single]" 'meta' => array(
),
data-show-if- 'html' => '<div
value=\'["sidebar1", "sidebar1 sidebar- class="themify-info-link">' . sprintf(__('<a array(
left"]\'> href="%s">Query Posts</a> allows you to
query WordPress posts from any category 'name' => 'order',
on the page. To use it, select a Query
<label Category.', 'themify'), 'title' => __('Order',
for="'.esc_attr($prefix. 'https://themify.me/docs/query-posts') . 'themify'),
$key).'_single_post_sticky_sidebar"> '</div>'
'description' => '',
),
'type' => 'dropdown',
),
<input type="checkbox" 'meta' => array(
id="'.esc_attr($prefix. array(
$key).'_single_post_sticky_sidebar" array('name' =>
name="'.esc_attr($prefix. 'name' => 'query_category', __('Descending', 'themify'), 'value' =>
$key).'_single_post_sticky_sidebar" 'desc', 'selected' => true),
value="1"

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
array('name' => 'name' => 'meta_key', 'value' => 'grid4',
__('Ascending', 'themify'), 'value' => 'asc')
'title' => __('Custom Field 'img' =>
), Key', 'themify'), 'images/layout-icons/grid4.png',

'default' => 'desc' 'description' => '', 'title' => __('Grid


4', 'themify')
), 'type' => 'textbox',
),
array( 'meta' => array('size' =>
'medium'), array(
'name' => 'orderby',
'class' => 'field-meta-key' 'value' =>
'title' => __('Order By', 'grid5',
'themify'), ),
'img' =>
'description' => '', array( 'images/layout-icons/grid5.png',

'type' => 'dropdown', 'name' => 'layout', 'title' =>


__('Grid 5', 'themify')
'meta' => array( 'title' => __('Query Post
Layout', 'themify'), ),
array('name' =>
__('Date', 'themify'), 'value' => 'date', 'description' => '', array(
'selected' => true),
'type' => 'layout', 'value' =>
array('name' => 'grid6',
__('Random', 'themify'), 'value' => 'rand'), 'show_title' => true,
'img' =>
array('name' => 'meta' => array( 'images/layout-icons/grid6.png',
__('Author', 'themify'), 'value' => 'author'),
array( 'title' =>
array('name' => __('Grid 6', 'themify')
__('Post Title', 'themify'), 'value' => 'title'), 'value' => 'list-
post', ),
array('name' =>
__('Comments Number', 'themify'), 'value' 'img' => array(
=> 'comment_count'),
'value' => 'list-
array('name' => large-image',
'images/layout-icons/list-post.png',
__('Modified Date', 'themify'), 'value' =>
'modified'), 'img' =>
'selected' => true
'images/layout-icons/list-large-image.png',
array('name' => ),
__('Post Slug', 'themify'), 'value' => 'title' => __('List
'name'), array( Large Image', 'themify')

array('name' => 'value' => 'grid2', ),


__('Post ID', 'themify'), 'value' => 'ID'),
'img' => array(
array('name' => 'images/layout-icons/grid2.png',
__('Custom Field String', 'themify'), 'value' 'value' =>
=> 'meta_value'), 'title' => __('Grid 'auto_tiles',
2', 'themify')
array('name' => 'img' =>
__('Custom Field Numeric', 'themify'), ), 'images/layout-icons/auto-tiles.png',
'value' => 'meta_value_num')
array( 'title' => __('Tiles',
), 'themify')
'value' => 'grid3',
'default' => 'date', )
'img' =>
'hide' => 'date|rand|author| 'images/layout-icons/grid3.png', ),
title|comment_count|modified|name|ID
'title' => __('Grid 'default' => 'list-post',
field-meta-key'
3', 'themify')
),
),
),
array(
array(
array(

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'name' => 'title' => __('Post Masonry', 'name' => __('No
'post_content_layout', 'themify'), gutter', 'themify'),

'title' => __('Post Content 'description' => '', )


Style', 'themify'),
'type' => 'dropdown', )
'description' => '',
'meta' => array( ),
'type' => 'dropdown',
array( array(
'meta' => array(
'value' => '', 'name' => 'more_posts',
array(
'name' => '', 'title' => __('Infinite Scroll',
'value' => '', 'themify'),
'selected' => true,
'name' => '', 'description' => '',
),
'selected' => true, 'type' => 'dropdown',
array(
), 'meta' => array(
'value' => 'yes',
array( array(
'name' =>
'value' => __('Enable', 'themify'), 'value' => '',
'overlay',
), 'name' => '',
'name' =>
__('Overlay', 'themify'), array( 'selected' => true,

), 'value' => 'no', ),

array( 'name' => array(


__('Disable', 'themify'),
'value' => 'value' =>
'polaroid', ) 'infinite',

) 'name' =>
__('Enable', 'themify'),
'name' =>
__('Polaroid', 'themify'), ),
),
),
array(
array( array(
'name' => 'post_gutter',
'value' => 'boxed', 'value' =>
'title' => __('Post Gutter', 'pagination',
'name' => 'themify'),
__('Boxed', 'themify'), 'name' =>
'description' => '', __('Disable', 'themify'),
),
'type' => 'dropdown', ) )
array( ),
'meta' => array(
'value' => 'flip', array(
array(
'name' => 'name' => 'posts_per_page',
__('Flip', 'themify'), 'value' => '',
'title' => __('Posts Per Page',
) 'name' => '', 'themify'),

) 'selected' => true, 'description' => '',

), ), 'type' => 'textbox',

array( array( 'meta' => array('size' =>


'small')
'name' => 'post_masonry', 'value' => 'no-
gutter', ),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
// Display Content 'meta' => array( ),

array( array('value' => 'default' => 'default',


'default', 'name' => '', 'selected' => true),
'name' => 'display_content', ),
array('value' =>
'title' => __('Display 'yes', 'name' => __('Yes', 'themify')), themify_multi_meta_field(),
Content', 'themify'),
array('value' => 'no', array(
'description' => '', 'name' => __('No', 'themify'))
'name' => 'hide_image',
'type' => 'dropdown', ),
'title' => __('Hide Featured
'meta' => array( 'default' => 'default', Image', 'themify'),

array('name' => ), 'description' => '',


__('Full Content', 'themify'), 'value' =>
'content'), array( 'type' => 'dropdown',

array('name' => 'name' => 'unlink_title', 'meta' => array(


__('Excerpt', 'themify'), 'value' => 'excerpt',
'selected' => true), 'title' => __('Unlink Post array('value' =>
Title', 'themify'), 'default', 'name' => '', 'selected' => true),
array('name' =>
__('None', 'themify'), 'value' => 'none') 'description' => __('Unlink array('value' => 'yes',
post title (it will display the post title 'name' => __('Yes', 'themify')),
), without link)', 'themify'),
array('value' => 'no',
'default' => 'excerpt', 'type' => 'dropdown', 'name' => __('No', 'themify'))

), 'meta' => array( ),

array( array('value' => 'default' => 'default',


'default', 'name' => '', 'selected' => true),
'name' => ),
'feature_size_page', array('value' =>
'yes', 'name' => __('Yes', 'themify')), array(
'title' => __('Image Size',
'themify'),

'description' => array('value' => 'no', 'name' => 'unlink_image',


sprintf(__('Image sizes can be set at <a 'name' => __('No', 'themify'))
'title' => __('Unlink Featured
href="%s">Media Settings</a> and <a
), Image', 'themify'),
href="%s"
target="_blank">Regenerated</a>', 'description' => __('Display
'themify'), 'options-media.php', 'default' => 'default',
the Featured Image without link',
'https://wordpress.org/plugins/regenerate- 'themify'),
),
thumbnails/'),
array( 'type' => 'dropdown',
'type' => 'featimgdropdown',
'name' => 'hide_date', 'meta' => array(
'display_callback' =>
'themify_is_image_script_disabled' 'title' => __('Hide Post Date', array('value' =>
'themify'), 'default', 'name' => '', 'selected' => true),
),
'description' => '', array('value' => 'yes',
'name' => __('Yes', 'themify')),
themify_image_dimensions_field(), 'type' => 'dropdown',
array('value' => 'no',
array( 'meta' => array( 'name' => __('No', 'themify'))

'name' => 'hide_title', array('value' => ),


'default', 'name' => '', 'selected' => true),
'title' => __('Hide Post Title', 'default' => 'default',
'themify'), array('value' =>
'yes', 'name' => __('Yes', 'themify')), ),
'description' => '',
array('value' => 'no', array(
'type' => 'dropdown', 'name' => __('No', 'themify'))
'name' => 'hide_navigation',

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'title' => __('Hide Page array('name' => array('name' =>
Navigation', 'themify'), __('On Sale', 'themify'), 'value' => 'onsale'), __('Author', 'themify'), 'value' => 'author'),

'description' => '', array('name' => array('name' =>


__('Free products', 'themify'), 'value' => __('Post Title', 'themify'), 'value' => 'title'),
'type' => 'dropdown', 'free'),
array('name' =>
'meta' => array( array('name' => __('Comments Number', 'themify'), 'value'
__('Featured Products', 'themify'), 'value' => 'comment_count'),
array('value' => => 'featured'),
'default', 'name' => '', 'selected' => true), array('name' =>
) __('Modified Date', 'themify'), 'value' =>
array('value' => 'modified'),
'yes', 'name' => __('Yes', 'themify')), ),
array('name' =>
array('value' => 'no', array( __('Post Slug', 'themify'), 'value' =>
'name' => __('No', 'themify')) 'name'),
'name' => 'product_order',
), array('name' =>
'title' => __('Order', __('Post ID', 'themify'), 'value' => 'ID'),
'default' => 'default', 'themify'),
array('name' =>
), );} 'description' => '', __('Custom Field String', 'themify'), 'value'
function => 'meta_value'),
'type' => 'dropdown',
themify_theme_query_product_meta_box(
array('name' =>
){ 'meta' => array(
__('Custom Field Numeric', 'themify'),
return array( array('name' => 'value' => 'meta_value_num')
__('Descending', 'themify'), 'value' =>
// Query Category ),
'desc', 'selected' => true),

array( 'default' => 'date',


array('name' =>
__('Ascending', 'themify'), 'value' => 'asc') 'hide' => 'date|rand|author|
'name' =>
'product_query_category', title|comment_count|modified|name|ID
),
field-product-meta-key'
'title' => __('Query Category',
'themify'), ),
'default' => 'desc'
'description' => __('Select a
category or enter multiple category IDs ),
array(
(eg. 2,5,6). Enter 0 to display all category.',
'themify'), array(
'name' =>
'name' => 'product_orderby', 'product_meta_key',
'type' => 'query_category',

'title' => __('Order By', 'title' => __('Custom Field


'meta' => array('taxonomy'
'themify'), Key', 'themify'),
=> 'product_cat')

'description' => '', 'description' => '',


),

'type' => 'dropdown', 'type' => 'textbox',


array(

'meta' => array( 'meta' => array('size' =>


'name' =>
'medium'),
'product_query_type',
array('name' =>
__('Date', 'themify'), 'value' => 'date', 'class' => 'field-product-meta-
'title' => __('Type', 'themify'),
'selected' => true), key'
'description' => '',
array('name' => ),
'type' => 'dropdown', __('Price', 'themify'), 'value' => 'price'),
array(
'meta' => array( array('name' =>
'name' =>
__('Sales', 'themify'), 'value' => 'sales'),
array('name' => 'product_posts_per_page',
__('All', 'themify'), 'value' => 'all', 'selected' array('name' =>
'title' => __('Products Per
=> true), __('Random', 'themify'), 'value' => 'rand'),
Page', 'themify'),

'description' => '',

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'type' => 'textbox', ), array(

'meta' => array('size' => array( 'value' =>


'small') 'overlay',
'value' =>
), 'grid5', 'name' =>
__('Overlay', 'themify'),
array( 'img' =>
'images/layout-icons/grid5.png', ),
'name' => 'product_layout',
'title' => array(
'title' => __('Product Layout', __('Grid 5', 'themify')
'themify'), 'value' =>
), 'polaroid',
'description' => '',
array( 'name' =>
'type' => 'layout', __('Polaroid', 'themify'),
'value' =>
'show_title' => true, 'grid6', ),

'meta' => array( 'img' => array(


'images/layout-icons/grid6.png',
array( 'value' => 'boxed',
'title' =>
'value' => 'list- __('Grid 6', 'themify') 'name' =>
post', __('Boxed', 'themify'),
),
'img' => ),
'images/layout-icons/list-post.png', array(
array(
'selected' => true 'value' =>
'auto_tiles', 'value' => 'flip',
),
'img' => 'name' =>
array( 'images/layout-icons/auto-tiles.png', __('Flip', 'themify'),

'value' => 'grid2', 'title' => ) )


__('Tiles', 'themify') ),
'img' =>
) array(

), 'name' => 'product_masonry',


'images/layout-icons/grid2.png',
'default' => 'list-post', 'title' => __('Masonry
'title' => __('Grid Layout', 'themify'),
2', 'themify') ),
'description' => '',
), array(
'type' => 'dropdown',
array( 'name' =>
'product_content_layout', 'meta' => array(
'value' => 'grid3',
'title' => __('Product Content array(
'img' =>
Style', 'themify'),
'images/layout-icons/grid3.png', 'value' => '',
'description' => '',
'title' => __('Grid 'name' => '',
3', 'themify') 'type' => 'dropdown',
'selected' => true,
), 'meta' => array(
),
array( array(
array(
'value' => 'grid4', 'value' => '',
'value' => 'yes',
'img' => 'name' => '',
'images/layout-icons/grid4.png', 'name' =>
'selected' => true, __('Enable', 'themify'),
'title' => __('Grid
4', 'themify') ), ),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
array( 'name' => '', 'type' => 'dropdown',

'value' => 'no', 'selected' => true, 'meta' => array(

'name' => ), array('value' =>


__('Disable', 'themify'), 'excerpt', 'name' => __('Short Description',
array( 'themify'), 'selected' => true),
) )
), 'value' => 'no- array('value' =>
gutter', 'content', 'name' => __('Full Content',
array( 'themify')),
'name' => __('No
'name' => gutter', 'themify'), array('value' =>
'product_slider_hover', 'none', 'name' => __('None', 'themify'))
) )
'title' => __('Product Hover ), )
Gallery', 'themify'),
array( ),
'description' => '',
'name' =>
'type' => 'dropdown', 'product_more_posts',
themify_image_dimensions_field(array(),
'meta' => array( 'title' => __('Infinite Scroll', 'product_image'),
'themify'),
array( array(
'description' => '',
'value' => '', 'name' =>
'type' => 'dropdown', 'product_feature_size_page',
'name' => '',
'meta' => array( 'title' => __('Image Size',
'selected' => true, 'themify'),
array(
), 'description' =>
'value' => '', sprintf(__('Image sizes can be set at <a
array( href="%s">Media Settings</a> and <a
'name' => '', href="%s"
'value' => 'enable', target="_blank">Regenerated</a>',
'selected' => true, 'themify'), 'options-media.php',
'name' =>
'https://wordpress.org/plugins/regenerate-
__('Enable', 'themify'), ),

), array(
thumbnails/'),
array( 'value' =>
'infinite', 'type' => 'featimgdropdown',
'value' =>
'disable', 'name' => 'display_callback' =>
__('Enable', 'themify'), 'themify_is_image_script_disabled'
'name' =>
__('Disable', 'themify'), ), ),
) ) array( array(
),
'value' => 'name' =>
array( 'pagination', 'product_show_sorting_bar',
'name' => 'product_gutter', 'name' => 'title' => __('Show Sorting
__('Disable', 'themify'), Bar', 'themify'),
'title' => __('Gutter Spacing',
'themify'), ) ) 'description' => '',
),
'description' => '', 'type' => 'dropdown',
array(
'type' => 'dropdown', 'meta' => array(
'name' =>
'meta' => array( 'product_archive_show_short', array('value' => '',
'name' => '', 'selected' => true),
array( 'title' => __('Product
Description', 'themify'), array('value' => 'no',
'value' => '',
'name' => __('No', 'themify')),
'description' => '',

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
array('value' => 'description' => '', array('value' => 'no',
'yes', 'name' => __('Yes', 'themify')), 'name' => __('No', 'themify'))
'type' => 'dropdown',
) ),
'meta' => array(
), 'default' => 'default',
array('value' =>
array( 'default', 'name' => '', 'selected' => true), ) );}

'name' => array('value' => if (!


'product_hide_navigation', 'yes', 'name' => __('Yes', 'themify')), function_exists('themify_theme_get_page_
metaboxes')) {
'title' => __('Hide Page array('value' => 'no',
Navigation', 'themify'), 'name' => __('No', 'themify')) function
themify_theme_get_page_metaboxes(array
'description' => '', ), $args, &$meta_boxes) {

'type' => 'dropdown', 'default' => 'default', return array(

'meta' => array( ), array(


array('value' => 'no', array( 'name' => __('Page
'name' => __('No', 'themify'), 'selected' => Options', 'themify'),
true), 'name' =>
'product_quick_look', 'id' => 'page-
array('value' => options',
'yes', 'name' => __('Yes', 'themify')), 'title' => __('Hide Quick
Look', 'themify'), 'options' =>
) themify_theme_page_meta_box(),
'description' => '',
), 'pages' => 'page'
'type' => 'dropdown',
array( ),
'meta' => array(
'name' => array(
'product_hide_title', array('value' =>
'default', 'name' => '', 'selected' => true), 'name' => __('Page
'title' => __('Hide Product Appearance', 'themify'),
Title', 'themify'), array('value' =>
'yes', 'name' => __('Yes', 'themify')),

array('value' => 'no',


'description' => '', 'name' => __('No', 'themify')) 'id' => 'page-theme-design',

'type' => 'dropdown', ), 'options' =>


themify_theme_design_meta_box(),
'meta' => array( 'default' => 'default',
'pages' => 'page'
array('value' => ),
'default', 'name' => '', 'selected' => true), ),
array(
array('value' => array(
'yes', 'name' => __('Yes', 'themify')), 'name' =>
'product_social_share', 'name' => __('Query
array('value' => 'no', Posts', 'themify'),
'name' => __('No', 'themify')) 'title' => __('Hide Product
Share', 'themify'), 'id' => 'query-posts',
),
'description' => '', 'options' =>
'default' => 'default', themify_theme_query_post_meta_box(),
'type' => 'dropdown',
), 'pages' => 'page'
'meta' => array(
array( ),
array('value' =>
'name' => 'default', 'name' => '', 'selected' => true), array(
'product_hide_price',
array('value' => 'name' => __('Query
'title' => __('Hide Product 'yes', 'name' => __('Yes', 'themify')), Products', 'themify'),
Price', 'themify'),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'id' => 'query- 'name' => 'title' =>
products', 'post_sticky_sidebar', __('Fullwidth', 'themify')

'options' => 'title' => __('Sticky )


themify_theme_query_product_meta_box( Sidebar', 'themify'),
), ),
'description' => '',
'pages' => 'page' 'default' =>
'type' => 'dropdown', 'default_width',
) ); }}
'show_title' => true, ),
Post.php
'class' => 'hide-if // Featured Image Size
<?php sidebar-none',
array(
if (! 'meta' => array(
'name' =>
function_exists('themify_theme_post_meta
array('value' => '', 'feature_size',
_box')) {
'name' => '', 'selected' => true),
'title' => __('Image
function
array('value' => 1, Size', 'themify'),
themify_theme_post_meta_box() {
'name' => __('Enable', 'themify')),
'description' =>
return array(
array('value' => 0, sprintf(__('Image sizes can be set at <a
array( 'name' => __('Disable', 'themify')) href="%s">Media Settings</a> and <a
href="%s"
'name' => 'layout', ), target="_blank">Regenerated</a>',
'themify'), 'options-media.php',
'title' => __('Sidebar ), 'admin.php?page=regenerate-thumbnails'),
Option', 'themify'),
array( 'type' =>
'description' => '', 'featimgdropdown',
'name' =>
'type' => 'layout', 'content_width', 'display_callback' =>
'themify_is_image_script_disabled'
'show_title' => true, 'title' => __('Content
Width', 'themify'), ),
'meta' => array(
'description' => '',
array('value' =>
'default', 'img' => 'themify/img/default.svg',
'selected' => true, 'title' => __('Default',
'type' => 'layout',
'themify')), themify_image_dimensions_field(),
'show_title' => true,
array('value' => // Hide Post Title
'sidebar1', 'img' => 'meta' => array(
'images/layout-icons/sidebar1.png', 'title' array(
=> __('Sidebar Right', 'themify')), array(
'name' =>
array('value' => 'value' => 'hide_post_title',
'sidebar1 sidebar-left', 'img' => 'default_width',
'images/layout-icons/sidebar1-left.png', 'title' => __('Hide
'title' => __('Sidebar Left', 'themify')), 'img' => Post Title', 'themify'),
'themify/img/default.svg',
array('value' => 'description' => '',
'sidebar-none', 'img' => 'images/layout- 'selected'
icons/sidebar-none.png', 'title' => __('No => true, 'type' => 'dropdown',
Sidebar ', 'themify'))
'title' => 'meta' => array(
), __('Default', 'themify')
array('value' =>
'default' => 'default', ), 'default', 'name' => '', 'selected' => true),

'hide' => 'sidebar- array( array('value' =>


none post_sticky_sidebar', 'yes', 'name' => __('Yes', 'themify')),
'value' =>
), 'full_width', array('value' =>
'no', 'name' => __('No', 'themify'))
array( 'img' =>
'themify/img/fullwidth.svg', ),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'default' => 'default', 'title' => __('Hide 'type' => 'textbox',
Featured Image', 'themify'),
), 'meta' => array()
'description' => '',
array( ),
'type' => 'dropdown',
'name' => array(
'unlink_post_title', 'meta' => array(
'name' =>
'title' => __('Unlink array('value' => 'external_link',
Post Title', 'themify'), 'default', 'name' => '', 'selected' => true),
'title' => __('External
'description' => array('value' => Link', 'themify'),
__('Unlink post title (it will display the 'yes', 'name' => __('Yes', 'themify')),
post title without link)', 'themify'), 'description' =>
array('value' => __('Link Featured Image and Post Title to
'type' => 'dropdown', 'no', 'name' => __('No', 'themify')) external URL', 'themify'),

'meta' => array( ), 'type' => 'textbox',

array('value' => 'default' => 'default', 'meta' => array()


'default', 'name' => '', 'selected' => true),
), ),
array('value' =>
'yes', 'name' => __('Yes', 'themify')), array(

'name' => themify_lightbox_link_field(),


array('value' =>
'no', 'name' => __('No', 'themify')) 'unlink_post_image',
array(
), 'title' => __('Unlink
'name' =>
Featured Image', 'themify'),
'custom_menu',
'default' => 'default',
'description' =>
'title' => __('Custom
), __('Display the Featured Image without
Menu', 'themify'),
link', 'themify'),
themify_multi_meta_field(),
'description' => '',
'type' => 'dropdown',
array(
'meta' => array(
'name' =>
'type' => 'dropdown',
'hide_post_date', array('value' =>
'default', 'name' => '', 'selected' => true), 'meta' =>
'title' => __('Hide
themify_get_available_menus()
Post Date', 'themify'), array('value' =>
'yes', 'name' => __('Yes', 'themify')), )); }}
'description' => '',
array('value' => function
'type' => 'dropdown', 'no', 'name' => __('No', 'themify')) themify_default_post_layout($data =
'meta' => array( array()) {
),

array('value' => $data = themify_get_data();


'default' => 'default',
'default', 'name' => '', 'selected' => true),
$prefix = 'setting-default_page_';
),
array('value' =>
$default_options = array(
'yes', 'name' => __('Yes', 'themify')), array(
array('name' => '', 'value' => ''),
array('value' => 'name' =>
'no', 'name' => __('No', 'themify')) 'video_url', array('name' => __('Yes',
'themify'), 'value' => 'yes'),
), 'title' => __('Video
URL', 'themify'), array('name' => __('No',
'default' => 'default',
'themify'), 'value' => 'no')
'description' =>
), __('Replace Featured Image with a video );
embed URL such as YouTube or Vimeo
array( video url (<a $sidebar_location_options = array(
href="https://themify.me/docs/video-
'name' =>
embeds">details</a>).', 'themify'), array('value' => 'sidebar1', 'img'
'hide_post_image',
=> 'images/layout-icons/sidebar1.png',

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'selected' => true, 'title' => __('Sidebar data-show-if- class="label">' . __('Unlink Post Title',
Right', 'themify')), value=\'["sidebar1", "sidebar1 sidebar- 'themify') . '</span>
left"]\'>
array('value' => 'sidebar1
sidebar-left', 'img' => 'images/layout-
<select name="' .
icons/sidebar1-left.png', 'title' =>
<label $prefix . 'unlink_post_title">' .
__('Sidebar Left', 'themify')),
for="' . esc_attr($prefix) .
array('value' => 'sidebar-none', 'post_sticky_sidebar">
'img' => 'images/layout-icons/sidebar- themify_options_module($default_options,
none.png', 'title' => __('No Sidebar', $prefix . 'unlink_post_title') . '
'themify'))
<input type="checkbox" id="' .
); esc_attr($prefix) . 'post_sticky_sidebar" </select>
name="' . esc_attr($prefix) .
$output = ''; 'post_sticky_sidebar" value="1"
$output .= '<p> </p>';

$output .=
'. themify_post_meta_options($prefix .
<span
checked(themify_get(esc_attr($prefix) . 'post_meta', $data);
class="label">' . __('Post Sidebar Option',
'post_sticky_sidebar'), 1, false) . '
'themify') . '</span>'; $output .= '<p>
$val = themify_get($prefix .
'post_layout');
/>' . __('Enable sticky sidebar', <span
foreach ($sidebar_location_options as 'themify') . ' class="label">' . __('Hide Post Date',
$option) { 'themify') . '</span>

if (($val == '' || !$val || !


</label>
isset($val)) && $option['selected']) { <select
onchange="jQuery(this).val()===\'yes\'?
$val = $option['value'];
</p>'; jQuery(\'#' . $prefix .
} 'display_post_date_wrap\').fadeOut():jQuer
$output .= '<p> y(\'#' . $prefix .
'display_post_date_wrap\').fadeIn();"
name="' . $prefix . 'post_date">' .
if ($val == $option['value']) {

$class = 'selected';
themify_options_module($default_options,
} else { $prefix . 'post_date') . '
<span
$class = ''; class="label">' . __('Hide Post Title',
'themify') . '</span>
</select>
}

$output .= '<a href="#" <select name="' .


class="preview-icon ' . $class . '" title="' . $prefix . 'post_title">' .
$option['title'] . '"><img src="' .
THEME_URI . '/' . $option['img'] . '" <br/><br/>
alt="' . $option['value'] . '" /></a>';
themify_options_module($default_options,
} $prefix . 'post_title') . '

$output .= ' <input <span id="' . $prefix .


type="hidden" name="' . $prefix . </select> 'display_post_date_wrap"
'post_layout" class="val" value="' . $val . '" class="pushlabel">
/>
</p>';

</p>'; $output .= '<p>


<label for="' . $prefix .
$output .= '<p class="pushlabel" data-
'display_date_inline"><input
show-if-element="[name=' .
<span type="checkbox" value="1" id="' .
esc_attr($prefix) . 'post_layout]"
$prefix . 'display_date_inline" name="' .

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$prefix . 'display_date_inline" ' . '</span><label for="' . $pre . '"><input
checked(themify_get($prefix . type="checkbox" id="' . $pre . '" name="' .
<select name="' .
'display_date_inline'), 1, false) . '/>' . $pre . '" ' . $comments_posts_checked . ' />
$prefix . 'unlink_post_image">' .
__('Display post date as inline text instead ' . __('Disable comments in all Posts',
of circle style', 'themify') . ' 'themify') . '</label></p>';

themify_options_module($default_options, $pre = 'setting-post_author_box';


$prefix . 'unlink_post_image') . '
$author_box_checked =
themify_check($pre) ?
</span> 'checked="checked"' : '';
</select>

</p>';
</p>'; $output .= '<p><span class="label">' .
$output .= '<p> __('Show Author Box', 'themify') .
$output .= '</span><label for="' . $pre . '"><input
themify_feature_image_sizes_select('imag type="checkbox" id="' . $pre . '" name="' .
e_post_single_feature_size'); $pre . '" ' . $author_box_checked . ' /> ' .
<span class="label">' .
__('Featured Image Position', 'themify') . __('Show author box in all Posts', 'themify')
$output .= '<p>
'</span> . '</label></p>';
<span
$pre = 'setting-post_nav_';
class="label">' . __('Image Size', 'themify')
<select name="' . . '</span> $output .= '<p>
esc_attr($prefix) .
'single_media_position">' .
<input type="text" <span
class="width2" name="setting- class="label">' . __('Post Navigation',
themify_options_module(themify_media_p image_post_single_width" value="' . 'themify') . '</span>
osition(), $prefix . 'single_media_position') themify_get('setting-
.' image_post_single_width') . '" /> ' .
__('width', 'themify') . '
<label for="' . $pre .
<small>(px)</small>
'disable">
</select>

</p>'; <input type="text"


<input
class="width2 show_if_enabled_img_php"
$output .= '<p> type="checkbox" id="' . $pre . 'disable"
name="setting-image_post_single_height"
name="' . $pre . 'disable" ' .
value="' . themify_get('setting-
checked(themify_get($pre . 'disable'), 'on',
image_post_single_height') . '" /> <span
false) . '/> ' . __('Remove Post Navigation',
<span class="show_if_enabled_img_php">' .
'themify') . '
class="label">' . __('Hide Featured Image', __('height', 'themify') . '
'themify') . '</span> <small>(px)</small></span>

</label>
<select name="' . <br /><span
$prefix . 'post_image">' . class="pushlabel
show_if_enabled_img_php"><small>' . <span
__('Enter height = 0 to disable vertical class="pushlabel vertical-grouped">
themify_options_module($default_options, cropping with img.php enabled', 'themify')
$prefix . 'post_image') . '
<label
for="' . $pre . 'same_cat">
. '</small></span>
</select>

</p>'; <input type="checkbox" id="' .


</p>';
$pre . 'same_cat" name="' . $pre .
$pre = 'setting-comments_posts';
$output .= '<p> 'same_cat" ' . checked(themify_get($pre .
$comments_posts_checked = 'same_cat'), 'on', false) . '/> ' . __('Show
themify_check($pre) ? only posts in the same category',
'checked="checked"' : ''; 'themify') . '
<span
class="label">' . __('Unlink Featured
$output .= '<p><span class="label">' .
Image', 'themify') . '</span>
__('Post Comments', 'themify') . </label>

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'title' => __('Sidebar ),
Option', 'themify'),
</span> ),
'description' => '',
array(
</p>'; 'type' => 'layout',
'name' =>
return $output; 'show_title' => true, 'content_width',

} 'meta' => array( 'title' => __('Content


Width', 'themify'),
if (! array('value' =>
function_exists('themify_theme_get_post_ 'default', 'img' => 'themify/img/default.svg', 'description' => '',
metaboxes')) { 'selected' => true, 'title' => __('Default',
'themify')), 'type' => 'layout',

array('value' => 'show_title' => true,


function 'sidebar1', 'img' =>
themify_theme_get_post_metaboxes(array 'images/layout-icons/sidebar1.png', 'title' 'meta' => array(
$args, &$meta_boxes) { => __('Sidebar Right', 'themify')),
array(
return array( array('value' =>
'value' =>
'sidebar1 sidebar-left', 'img' =>
array( 'default_width',
'images/layout-icons/sidebar1-left.png',
'title' => __('Sidebar Left', 'themify')), 'img' =>
'name' => __('Post
Options', 'themify'), 'themify/img/default.svg',
array('value' =>
'sidebar-none', 'img' => 'images/layout- 'selected'
'id' => 'post-options',
icons/sidebar-none.png', 'title' => __('No => true,
'options' => Sidebar ', 'themify'))
themify_theme_post_meta_box(), 'title' =>
), __('Default', 'themify')
'pages' => 'post'
'default' => 'default', ),
),
'hide' => 'sidebar- array(
array( none post_sticky_sidebar',
'value' =>
'name' => __('Page ), 'full_width',
Appearance', 'themify'),
array( 'img' =>
'id' => 'post-theme- 'themify/img/fullwidth.svg',
'name' =>
design',
'post_sticky_sidebar', 'title' =>
'options' => __('Fullwidth', 'themify')
'title' => __('Sticky
themify_theme_design_meta_box(),
Sidebar', 'themify'), )
'pages' => 'post' ) ),
'description' => '',
), ); }} array(
'type' => 'dropdown',
Product.php 'name' =>
'show_title' => true,
'image_layout',
<?php 'class' => 'hide-if
if (!
function_exists('themify_theme_product_ 'title' => __('Product
meta_box')) { sidebar-none', Image Layout', 'themify'),

function 'meta' => array( 'description' => '',


themify_theme_product_meta_box() {
array('value' => '', 'type' => 'layout',
return array( 'name' => '', 'selected' => true),
'show_title' => true,
array( array('value' => 1,
'meta' => array(
'name' => __('Enable', 'themify')),
'name' => 'layout',
array('value' => '',
array('value' => 0,
'img' => 'themify/img/default.svg', 'title' =>
'name' => __('Disable', 'themify'))
__('Default', 'themify'), 'selected' => true),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
array('value' => array('value' => 'grid4', 'img' => $class = "selected";
'img-left', 'img' => 'images/layout-icons/grid4.png', 'title' =>
'images/layout-icons/image-left.png', 'title' __('Grid 4', 'themify'), 'selected' => true), } else {
=> __('Product Image Left', 'themify')),
array('value' => 'grid5', 'img' => $class = "";
array('value' => 'images/layout-icons/grid5.png','title' =>
'img-center', 'img' => 'images/layout- __('Grid 5', 'themify')), }
icons/image-center.png', 'title' =>
array('value' => 'grid6','img' => $output .= '<a href="#"
__('Product Image Center', 'themify')),
'images/layout-icons/grid6.png','title' => class="preview-icon ' . $class . '" title="' .
array('value' => __('Grid 6', 'themify')), $option['title'] . '"><img src="' .
'img-right', 'img' => THEME_URI . '/' . $option['img'] . '"
'images/layout-icons/image-right.png', array('value' => 'list-large- alt="' . $option['value'] . '" /></a>';
'title' => __('Product Image Right', image', 'img' => 'images/layout-icons/list-
large-image.png', 'title' => __('List Large }
'themify'))
Image', 'themify')),
$output .= '<input type="hidden"
)
array('value' => 'auto_tiles', name="setting-shop_layout" class="val"
), 'img' => 'images/layout-icons/auto- value="' . $val . '" /></p>';
tiles.png', 'title' => __('Tiles', 'themify'))

);
themify_image_dimensions_field(array('titl
e' => __('Product Image Dimension', $default_options = array(
'themify'))) $output .= '<p class="pushlabel" data-
array('name' => '', 'value' => ''), show-if-element="[name=setting-
); }} shop_layout]"
array('name' => __('Yes',
function themify_shop_layout($data = 'themify'), 'value' => 'yes'), data-show-if-
array()) { value=\'["sidebar1", "sidebar1 sidebar-
array('name' => __('No', left"]\'>
$data = themify_get_data(); 'themify'), 'value' => 'no')
$sidebar_options = array( ); <label
array('value' => 'sidebar1', 'img' for="setting-shop_sticky_sidebar">
$content_options = array(
=> 'images/layout-icons/sidebar1.png',
'title' => __('Sidebar Right', 'themify')), array('name' => __('Short
Description', 'themify'), 'value' =>
array('value' => 'sidebar1 'excerpt'), <input type="checkbox"
sidebar-left', 'img' => 'images/layout- id="setting-shop_sticky_sidebar"
icons/sidebar1-left.png', 'title' => array('name' => __('Full name="setting-shop_sticky_sidebar"
__('Sidebar Left', 'themify')), Content', 'themify'), 'value' => 'content'), value="1"
array('value' => 'sidebar-none', array('name' => __('None',
'img' => 'images/layout-icons/sidebar- 'themify'), 'value' => ''),
none.png', 'title' => __('No Sidebar',
'themify'), 'selected' => true) ); ' . checked(themify_get('setting-
shop_sticky_sidebar'), 1, false) . '
); $val = isset($data['setting-shop_layout'])
? $data['setting-shop_layout'] : '';

$output = '';

$output .= '<p><span class="label">' . />' . __('Enable sticky sidebar',


__('Shop Page Sidebar', 'themify') . 'themify') . '
'</span>';
$default_entry_layout_options = array(
foreach ($sidebar_options as $option) {
array('value' => 'list-post', 'img' </label>
=> 'images/layout-icons/list-post.png', 'title' if (( '' == $val || !$val || !
=> __('List Post', 'themify')), isset($val) ) && ( isset($option['selected'])
&& $option['selected'] )) { </p>';
array('value' => 'grid2', 'img' =>
'images/layout-icons/grid2.png', 'title' => $val = $option['value']; $output .=
__('Grid 2', 'themify')), themify_shop_archive_layout();
}
array('value' => 'grid3', 'img' => $output .= '<p>
'images/layout-icons/grid3.png', 'title' => if ($val == $option['value']) {
__('Grid 3', 'themify')),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$output .= '<p data-show-if-
element="[name=setting-products_layout]"
<span </select>
data-show-if-value=' .
class="label">' . __('Product Layout',
'["grid2","grid3","grid4","grid5","grid6","li
'themify') . '</span>';
st-post"]' . '>
</p>';
$val = isset($data['setting-
products_layout']) ? $data['setting- $output .= '<p><span class="label">' .
products_layout'] : ''; <span __('Product Image Hover', 'themify') .
class="label">' . __('Product Content '</span>
foreach ($default_entry_layout_options Style', 'themify') . '</span>
as $option) {

if (( '' == $val || !$val || ! <select


isset($val) ) && ( isset($option['selected']) <select name="setting-products_slider">' .
&& $option['selected'] )) { name="setting-product_content_layout">' .

$val = $option['value']; themify_options_module(array(


themify_options_module(array(
} array('name' =>
array('name' => __('Product Gallery Slider', 'themify'),
if ($val == $option['value']) { __('Default', 'themify'), 'value' => ''), 'value' => 'enable'),
$class = 'selected'; array('name' => array('name' =>
__('Overlay', 'themify'), 'value' => __('First Product Gallery Image', 'themify'),
} else {
'overlay'), 'value' => 'first_image'),
$class = '';
array('name' => array('name' =>
} __('Polaroid', 'themify'), 'value' => __('None', 'themify'), 'value' => 'disable')
'polaroid'),
$output .= '<a href="#" ), 'setting-
class="preview-icon ' . $class . '" title="' . array('name' => products_slider') . '
$option['title'] . '"><img src="' . __('Boxed', 'themify'), 'value' => 'boxed'),
THEME_URI . '/' . $option['img'] . '"
array('name' =>
alt="' . $option['value'] . '" /></a>'; </select>
__('Flip', 'themify'), 'value' => 'flip')
}
), 'setting-
$output .= ' <input product_content_layout') . ' </p>';
type="hidden" name="setting-
$output .= '<p><span class="label">' .
products_layout" class="val" value="' .
</select> __('Products Per Page', 'themify') . '</span>
$val . '" />

</p>'; <input type="text"


</p>';
name="setting-shop_products_per_page"
$output .= '<p data-show-if- $output .= '<p><span class="label">' . value="' . themify_get('setting-
element="[name=setting-products_layout]" __('Product Gutter', 'themify') . '</span> shop_products_per_page') . '"
data-show-if-value=' . class="width2" /></p>';
'["grid2","grid3","grid4","grid5","grid6"]' .
$output .= '<p
'><span class="label">' . __('Masonry <select
class="feature_box_posts">
Layout', 'themify') . '</span> name="setting-product_post_gutter">' .

<span
themify_options_module(array(
class="label">' . __('Hide Product Title',
<label for="setting- array('name' => 'themify') . '</span>
shop_masonry_disabled"><input __('Default', 'themify'), 'value' => 'gutter'),
type="checkbox" id="setting-
shop_masonry_disabled" name="setting- array('name' => <select
shop_masonry_disabled" ' . __('No gutter', 'themify'), 'value' => 'no- name="setting-
checked(themify_get('setting- gutter') product_archive_hide_title">
shop_masonry_disabled'), 'on', false) . ' />
' . __('Disable masonry layout', 'themify') . ), 'setting-
'</label></p>'; product_post_gutter') . '
'.
themify_options_module($default_options,
'setting-product_archive_hide_title') . '

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
disable_product_lightbox" ' .
checked(themify_get('setting-
</select> <label for="setting-
disable_product_lightbox'), 'on', false) . ' />
hide_shop_products"><input
' . __('Disable Product Lightbox', 'themify')
type="checkbox" id="setting-
. '</label></p>';
</p>'; hide_shop_products" name="setting-
$output .= '<p><span class="label">' . hide_shop_products"
$output .= '<p __('Shop Breadcrumbs', 'themify') . '.checked( themify_get( 'setting-
class="feature_box_posts"> '</span> hide_shop_products','',true ), 'on',
false ).' /> ' . __('Hide products on shop
page', 'themify') . '</label>
<span <label for="setting-
class="label">' . __('Hide Product Price', hide_shop_breadcrumbs"><input
'themify') . '</span> type="checkbox" id="setting- <br /><span
hide_shop_breadcrumbs" name="setting- class="pushlabel"><small>' . __('Warning:
hide_shop_breadcrumbs" ' . no products will show on Shop page',
<select checked(themify_get('setting- 'themify') . '</small></span>
name="setting- hide_shop_breadcrumbs'), 'on', false) . ' /> '
product_archive_hide_price"> . __('Hide shop breadcrumb navigation',
'themify') . '</label></p>'; </p>';

$output .= '<p><span class="label">' . $output .= '<p><span class="label">' .


'.
__('Product Count', 'themify') . '</span> __('Quick Look', 'themify') . '</span>
themify_options_module($default_options,
'setting-product_archive_hide_price') . '

<label for="setting- <label for="setting-


hide_shop_count"><input hide_shop_more_info"><input
</select>
type="checkbox" id="setting- type="checkbox" id="setting-
hide_shop_count" name="setting- hide_shop_more_info" name="setting-
hide_shop_count" ' . hide_shop_more_info" ' .
</p>'; checked(themify_get('setting-
checked(themify_get('setting-
hide_shop_count'), 'on', false) . ' /> ' . hide_shop_more_info'), 'on', false) . ' /> ' .
$output .= '<p
__('Hide product count', 'themify') . __('Hide product quick look button',
class="feature_box_posts">
'</label></p>'; 'themify') . '</label></p>';

$output .= '<p><span class="label">' .


<span __('Product Sorting', 'themify') . '</span>
class="label">' . __('Hide Add to Cart $output .= '<p><span class="label">' .
Button', 'themify') . '</span> __('Rating Stars', 'themify') . '</span>
<label for="setting-
hide_shop_sorting"><input
<select type="checkbox" id="setting- <label for="setting-
name="setting- hide_shop_sorting" name="setting- hide_product_rating_stars"><input
product_archive_hide_cart_button"> hide_shop_sorting" ' . type="checkbox" id="setting-
checked(themify_get('setting- hide_product_rating_stars" name="setting-
hide_shop_sorting'), 'on', false) . ' /> ' . hide_product_rating_stars" ' .
'. __('Hide product sorting select', 'themify') . checked(themify_get('setting-
themify_options_module($default_options, '</label></p>'; hide_product_rating_stars'), 'on', false) .
'setting-product_archive_hide_cart_button') ' /> ' . __('Hide product rating stars',
.' $output .= '<p><span class="label">' . 'themify') . '</label></p>';
__('Shop Page Title', 'themify') . '</span>
$output .= '<p class="pushlabel" data-
show-if-element="[name=setting-
</select> hide_product_rating_stars]" data-show-if-
<label for="setting-
value="false">
hide_shop_title"><input type="checkbox"
id="setting-hide_shop_title"
</p>';
name="setting-hide_shop_title" ' .
checked(themify_get('setting- <label for="setting-
$output .= '<p><span class="label">' . products_reviews_empty">
__('Product Lightbox', 'themify') . '</span> hide_shop_title'), 'on', false) . ' /> ' .
__('Hide shop page title', 'themify') .
'</label></p>';
<input
<label for="setting- $output .= '<p><span type="checkbox" id="setting-
disable_product_lightbox"><input class="label">' . __('Shop Page Products', products_reviews_empty" name="setting-
type="checkbox" id="setting- 'themify') . '</span>
disable_product_lightbox" name="setting-

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
products_reviews_empty" value="1" ' . default_product_index_image_post_width') $val = $option['value'];
checked(themify_get("setting- . '" /> ' . __('width', 'themify') . '
<small>(px)</small> }
products_reviews_empty"), 1, false) . '
/>' . __('Always show rating $class = $val ==
stars (even when it has no rating)', $option['value'] ? "selected" : "";
'themify') . '
$html .= '<a href="#"
<input type="text" class="preview-icon ' . $class . '" title="' .
class="width2" name="setting- $option['title'] . '"><img src="' .
</label> default_product_index_image_post_height THEME_URI . '/' . $option['img'] . '"
" value="' . themify_get('setting- alt="' . $option['value'] . '" /></a>';
default_product_index_image_post_height'
</p>'; ) . '" /> <span>' . __('height', 'themify') . ' }
<small>(px)</small></span>
$output .= '<p><span class="label">' . $html .= '<input type="hidden"
__('Product Share', 'themify') . '</span> name="setting-shop_archive_layout"
<br /><span class="val" value="' . $val . '" /></p>';
class="pushlabel"><small>' . __('Enter
$html .= '<p class="pushlabel" data-
<label for="setting- height = 0 to disable vertical cropping with
show-if-element="[name=setting-
hide_shop_share"><input img.php enabled', 'themify') .
shop_archive_layout]"
type="checkbox" id="setting- '</small></span>
hide_shop_share" name="setting- data-show-if-
hide_shop_share" ' . value=\'["sidebar1", "sidebar1 sidebar-
checked(themify_get('setting- </p>'; left"]\'>
hide_shop_share'), 'on', false) . ' /> ' .
__('Hide product share button', 'themify') . return $output;
'</label></p>';
} <label
$output .= '<p for="setting-
class="feature_box_posts"> function shop_archive_sticky_sidebar">
themify_shop_archive_layout($data =
array()) {
<span $data = themify_get_data();
class="label">' . __('Product Description', <input type="checkbox"
'themify') . '</span> id="setting-shop_archive_sticky_sidebar"
$val = isset($data['setting-
name="setting-
shop_archive_layout']) ? $data['setting-
shop_archive_sticky_sidebar" value="1"
shop_archive_layout'] : '';
<select
name="setting- $options = array(
product_archive_show_short">' .
array('value' => 'sidebar1', 'img' ' . checked(themify_get('setting-
=> 'images/layout-icons/sidebar1.png', shop_archive_sticky_sidebar'), 1, false) . '
'title' => __('Sidebar Right', 'themify')),
themify_options_module($content_options
, 'setting-product_archive_show_short') . ' array('value' => 'sidebar1
sidebar-left', 'img' => 'images/layout-
icons/sidebar1-left.png', 'title' => />' . __('Enable sticky sidebar
__('Sidebar Left', 'themify')), on product archive', 'themify') . '
</select>

array('value' => 'sidebar-none',


'img' => 'images/layout-icons/sidebar- </label>
</p>';
none.png', 'selected' => true, 'title' =>
$output .= '<p __('No Sidebar', 'themify'))
class="show_if_enabled_img_php"> </p>';
);
return $html;
$html = '<p><span class="label">' .
<span __('Product Archive Sidebar', 'themify') . }
class="label">' . __('Image Size', 'themify') '</span>';
. '</span> function themify_single_product($data =
foreach ($options as $option) { array()) {
if (( '' == $val || !$val || ! $data = themify_get_data();
<input type="text"
isset($val) ) && ( isset($option['selected'])
class="width2" name="setting-
&& $option['selected'] )) { $options = array(
default_product_index_image_post_width"
value="' . themify_get('setting-

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
array('value' => 'sidebar1', 'img' $class = ''; if (( '' == $val || !$val || !
=> 'images/layout-icons/sidebar1.png', isset($val) ) && ( isset($option['selected'])
'title' => __('Sidebar Right', 'themify')), } && $option['selected'] )) {

array('value' => 'sidebar1 $val = $option['value'];


sidebar-left', 'img' => 'images/layout-
icons/sidebar1-left.png', 'title' => }
__('Sidebar Left', 'themify')),
$output .= '<a href="#"
array('value' => 'sidebar-none', class="preview-icon ' . $class . '" title="' .
'img' => 'images/layout-icons/sidebar- $option['title'] . '"><img src="' . if ($val == $option['value']) {
none.png', 'title' => __('No Sidebar', THEME_URI . '/' . $option['img'] . '"
alt="' . $option['value'] . '" /></a>'; $class = 'selected';
'themify'), 'selected' => true)
} } else {
);
$output .= '<input type="hidden" $class = '';
$defaul_image_layout = array(
name="setting-single_product_layout"
class="val" value="' . $val . '" /></p>'; }
array('value' => 'img-left', 'img'
=> 'images/layout-icons/image-left.png', $output .= '<a href="#"
'title' => __('Product Image Left', $output .= '<p class="pushlabel" data-
show-if-element="[name=setting- class="preview-icon ' . $class . '" title="' .
'themify')), $option['title'] . '"><img src="' .
single_product_layout]"
THEME_URI . '/' . $option['img'] . '"
array('value' => 'img-center',
data-show-if- alt="' . $option['value'] . '" /></a>';
'img' => 'images/layout-icons/image-
center.png', 'title' => __('Product Image value=\'["sidebar1", "sidebar1 sidebar-
left"]\'> }
Center', 'themify')),
$output .= '<input type="hidden"
array('value' => 'img-right', name="setting-product_image_layout"
'img' => 'images/layout-icons/image- <label class="val" value="' . $val . '" /></p>';
right.png', 'title' => __('Product Image for="setting-
Right', 'themify')) single_product_sticky_sidebar"> $output .= '<p
class="show_if_enabled_img_php">
);

$default_options = array(
<input type="checkbox" <span
array('name' => '', 'value' => ''), id="setting-single_product_sticky_sidebar" class="label">' . __('Image Size',
name="setting- 'themify') . '</span>
array('name' => __('Yes', single_product_sticky_sidebar" value="1"
'themify'), 'value' => 'yes'),
<input type="text"
array('name' => __('No',
class="width2" name="setting-
'themify'), 'value' => 'no')
' . checked(themify_get('setting- default_product_single_image_post_width
); single_product_sticky_sidebar'), 1, false) . ' " value="' . themify_get('setting-
default_product_single_image_post_width'
$val = isset($data['setting- ) . '" /> ' . __('width', 'themify') . '
single_product_layout']) ? $data['setting- <small>(px)</small>
single_product_layout'] : ''; />' . __('Enable sticky sidebar',
'themify') . '
$output = '<p><span class="label">' . <input type="text"
__('Product Sidebar Option', 'themify') . class="width2" name="setting-
'</span>'; default_product_single_image_post_height
</label>
" value="' . themify_get('setting-
foreach ($options as $option) {
default_product_single_image_post_height
if (( '' == $val || !$val || ! ') . '" /> <span>' . __('height', 'themify') . '
</p>';
isset($val) ) && ( isset($option['selected']) <small>(px)</small></span>
&& $option['selected'] )) { $val = isset($data['setting-
product_image_layout']) ? $data['setting-
$val = $option['value']; product_image_layout'] : ''; <br /><span
class="pushlabel"><small>' . __('Enter
} $output .= '<p><span class="label">' . height = 0 to disable vertical cropping with
__('Product Image Layout', 'themify') . img.php enabled', 'themify') .
if ($val == $option['value']) { '</span>'; '</small></span>
$class = 'selected'; foreach ($defaul_image_layout as
$option) {
} else {

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
__('Disable product reviews', 'themify') .
'</label></p>';
</p>'; <label for="setting-
single_hide_shop_share"><input $output .= '<p class="pushlabel" data-
$gallery_type = themify_get('setting- type="checkbox" id="setting- show-if-element="[name=setting-
product_gallery_type'); single_hide_shop_share" name="setting- product_reviews]" data-show-if-
single_hide_shop_share" ' . value="false">
if (!$gallery_type) checked(themify_get('setting-
single_hide_shop_share'), 'on', false) . ' />
$gallery_type = 'default';
' . __('Hide product share button', 'themify')
. '</label></p>'; <label for="setting-
product_reviews_empty">
$output .= '<p><span class="label">' .
__('Hide Shop Breadcrumbs', 'themify') .
$output .= '<p> '</span>

<input
<span <label for="setting-
type="checkbox" id="setting-
class="label">' . __('Product Gallery', hide_shop_single_breadcrumbs"><input
product_reviews_empty" name="setting-
'themify') . '</span> type="checkbox" id="setting-
product_reviews_empty" value="1" ' .
hide_shop_single_breadcrumbs"
checked(themify_get("setting-
name="setting-
product_reviews_empty"), 1, false) . '
<label><input hide_shop_single_breadcrumbs" ' .
/>' . __('Always show rating
type="radio" name="setting- checked(themify_get('setting-
stars (even when it has no rating)',
product_gallery_type" value="zoom" ' . hide_shop_single_breadcrumbs'), 'on',
'themify') . '
checked($gallery_type, 'zoom', false) . '/> false) . ' /> ' . __('Hide shop breadcrumbs',
' . __('Zoom Image', 'themify') . '</label> 'themify') . '</label></p>';

$output .= '<p><span class="label">' . </label>


__('Product SKU', 'themify') . '</span>
<label><input
type="radio" name="setting- </p>';
product_gallery_type" value="default" ' .
<label for="setting-
checked($gallery_type, 'default', false) . $output .= '<p><span class="label">' .
hide_shop_single_sku"><input
' />' . __('Default WooCommerce', __('Related Products', 'themify') . '</span>
type="checkbox" id="setting-
'themify') . '</label>
hide_shop_single_sku" name="setting-
hide_shop_single_sku" ' .
checked(themify_get('setting- <label for="setting-
<label><input hide_shop_single_sku'), 'on', false) . ' /> ' . related_products"><input type="checkbox"
type="radio" name="setting- __('Hide product SKU', 'themify') . id="setting-related_products"
product_gallery_type" value="disable- '</label></p>'; name="setting-related_products" ' .
zoom" ' . checked($gallery_type, 'disable- checked(themify_get('setting-
zoom', false) . '/> ' . __('Disable Zoom', $output .= '<p><span class="label">' . related_products'), 'on', false) . ' /> ' .
'themify') . '</label> __('Product Tags', 'themify') . '</span> __('Do not display related products',
'themify') . '</label></p>';

</p>'; <label for="setting- $output .= '<p data-show-if-


hide_shop_single_tags"><input element="[name=setting-
type="checkbox" id="setting- related_products]" data-show-if-value=' .
hide_shop_single_tags" name="setting- '["false"]' . '><span class="label">' .
$output .= '<p><span class="label">' . __('Related Products Limit', 'themify') .
hide_shop_single_tags" ' .
__('Quantity Buttons', 'themify') . '</span> '</span>
checked(themify_get('setting-
hide_shop_single_tags'), 'on', false) . ' /> ' .
__('Hide product tags', 'themify') .
<label for="setting- '</label></p>'; <input type="text"
quantity_button"><input type="checkbox" name="setting-related_products_limit"
id="setting-quantity_button" $output .= '<p><span class="label">' . value="' . themify_get('setting-
name="setting-quantity_button" ' . __('Product Reviews', 'themify') . '</span> related_products_limit', '3', true) . '"
checked(themify_get('setting- class="width2" /></p>';
quantity_button'), 'on', false) . ' /> ' .
__('Show quantity increase/decrease <label for="setting- $output .= '<p
buttons', 'themify') . '</label></p>'; product_reviews"><input type="checkbox" class="show_if_enabled_img_php" data-
id="setting-product_reviews" show-if-element="[name=setting-
$output .= '<p><span class="label">' . related_products]" data-show-if-value=' .
name="setting-product_reviews" ' .
__('Product Share', 'themify') . '</span> '["false"]' . '>
checked(themify_get('setting-
product_reviews'), 'on', false) . ' /> ' .

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$output .= __('In Short Description',
'themify') . '</label>';
<span <label><input type="radio"
class="label">' . __('Related Products $output .= '</p>'; value="dropdown" name="' . $key . '" ' .
Image Size', 'themify') . '</span> checked($value, 'dropdown', false) . ' /> ' .
$output .= '<p><span class="label">' . __('Dropdown cart', 'themify') . '</label>';
__('Sticky Buy Button', 'themify') .
'</span> $output .= '<label><input type="radio"
<input type="text"
value="slide-out" name="' . $key . '" ' .
class="width2" name="setting-
checked($value, 'slide-out', false) . ' /> ' .
product_related_image_width" value="' .
__('Slide-out cart', 'themify') . '</label>';
themify_get('setting- <label for="setting-
product_related_image_width') . '" /> ' . st_add_cart"><input type="checkbox" $output .= '<label><input type="radio"
__('width', 'themify') . ' id="setting-st_add_cart" name="setting- value="link_to_cart" name="' . $key . '" ' .
<small>(px)</small> st_add_cart" checked($value, 'link_to_cart', false) . ' />
'.checked( themify_get( 'setting- ' . __('Link to cart page', 'themify') .
st_add_cart','',true ), 'on', false ).' /> ' . '</label></p>';
__('Disable sticky buy button', 'themify') .
'</label></p>'; $key = 'setting-cart_show_seconds';

<input type="text" return $output; $output .= '<p><span class="label">' .


class="width2" name="setting- __('Show cart', 'themify') . '</span>
product_related_image_height" value="' .
themify_get('setting-
product_related_image_height') . '" /> }
<select name="' .
<span>' . __('height', 'themify') . ' $key . '">' .
function themify_shop_sidebar($data =
<small>(px)</small></span>
array()) {

$data = themify_get_data(); themify_options_module(array(


<br /><span
class="pushlabel"><small>' . __('Enter $key = 'setting-disable_shop_sidebar';
height = 0 to disable vertical cropping with
img.php enabled', 'themify') . $output = '<p><span class="label">' . array('name' =>
'</small></span> __('Shop Sidebar', __('Off','themify'), 'value' => 'off'),
'themify') .themify_help(__('Shop sidebar
is used in all WooCommerce pages such as array('name' => 1,
shop, products, product categories, cart, 'value' => 1000),
</p>';
checkout page, etc. If disabled, the main
array('name' => 2,
$output .= '<p><span class="label">' . sidebar will be used.', 'themify')) . '</span>
'value' => 2000),
__('Builder Content Display', 'themify') .
<label
'</span>'; array('name' => 3,
for="' . $key . '"><input type="checkbox"
'value' => 3000),
$output .= '<label id="' . $key . '" name="' . $key . '" ' .
for="setting_product_description_long">'; checked(themify_get($key), 'on', false) . array('name' => 4,
' /> ' . __('Disable shop sidebar', 'themify') . 'value' => 4000),
$output .= '<input ' . '</label></p>';
checked(themify_get('setting- array('name' => 5,
product_description_type', 'long'), 'long', return $output; 'value' => 5000)
false) . ' type="radio"
} ), $key) . '
id="setting_product_description_long"
name="setting-product_description_type" function themify_ajax_cart_style($data =
value="long" /> '; array()) {
</select> ' .
$output .= __('In Long Description', $data = themify_get_data(); esc_html__('seconds', 'themify') . '<br>
'themify') . '</label>';
$key = 'setting-cart_style';
$output .= '<label
for="setting_product_description_short">'; <small
$value = themify_get($key);
class="pushlabel">' . esc_html__('When an
$output .= '<input ' . if (!$value) { item is added, show cart for n second(s)',
checked(themify_get('setting- 'themify') . '</small>
product_description_type'), 'short', false) . ' $value = 'dropdown';
type="radio"
id="setting_product_description_short" } </p>';
name="setting-product_description_type"
$output = '<p><span class="label">' . $output .= '<p>
value="short" /> ';
__('Cart Style', 'themify') . '</span>

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
esc_attr('background:#' . $sparkling_color . 'pages' => 'product'
';') . '">
<label for="setting- ) );
single_ajax_cart"
class="pushlabel"><input Settings.php
type="checkbox" id="setting-
single_ajax_cart" name="setting- <span></span>
<?php
single_ajax_cart" ' .
checked(themify_get('setting- function
single_ajax_cart'), 'on', false) . ' /> ' . </span> themify_theme_design_controls( $data =
__('Disable AJAX cart on single product array() ) {
page', 'themify') . '</label></p>';
$html = '<div class="themify-
<input
return $output; info-link">'. __( 'Here you can set the
type="text" class="colorSelectInput
theme appearance site-wide. The
} width4" value="' .
appearance settings here can be override on
esc_attr($sparkling_color) . '" name="' .
individual post/page &gt; edit &gt;
if (! esc_attr($pre_color) . '" />
Themify Custom Panel &gt; Page
function_exists('themify_spark_animation')
Appearance).', 'themify' ) .'</div>';
){
</div> $pre = 'setting-color_design';
function themify_spark_animation($data
= array()) { $design_options =
</div>'; themify_theme_header_design_options();

return $output; $pre = 'setting-header_design';


$pre_color = 'setting-
spark_color'; $html .= '<div class="group-
}
hide" data-hide="none header-left-pane
$pre = 'setting-
spark_animation';
}
$sparkling_color = header-minbar-left header-minbar-right
themify_get($pre_color); if (!
function_exists('themify_theme_get_produ header-boxed-content header-right-
$output = '<p><span pane">';
ct_metaboxes')) {
class="label">' . __('Spark Animation',
'themify') .themify_help(__('Spark $html .= '<p
animation is the animation effect occurs class="tf_clearfix">
when user clicks on the add to cart or function
wishlist button.', 'themify')) . themify_theme_get_product_metaboxes(ar
'</span><label for="' . $pre . '"><input ray $args, &$meta_boxes) { <span
type="checkbox" id="' . $pre . '" name="' . class="label">' . __( 'Header Design',
$pre . '" ' . checked(themify_get($pre), 'on', return array( 'themify' ) . '</span>';
false) . ' /> ' . __('Disable add to cart and
wishlist spark animation', 'themify'); array( $val =
themify_get( $pre,'header-logo-
$output .= '<br/></label></p>'; 'name' =>
center',true);
__('Product Options', 'themify'),
$output .= '<div $html .= '<span
class="themify_field_row" data-show-if- 'id' => 'product-
class="preview-icon-wrapper">';
element="[name=' . $pre . ']" data-show-if- options',
value="false">
'options' =>
themify_theme_product_meta_box(), unset( $design_options[0] );

<span 'pages' => 'product' foreach


class="label">' . __('Spark Icons Color', ( $design_options as $option ) {
'themify') . '</span> ),
$class =
array( $val == $option['value']? ' selected' : '';
<div 'name' => __('Page $html .=
class="themify_field-color"> Appearance', 'themify'), '<a href="#" class="preview-icon' . $class .
'" title="' . esc_attr( $option['title'] ) .
'id' => 'product- '"><img src="' . THEME_URI . '/' .
<span theme-design', $option['img'] . '" alt="' .
class="colorSelect" style="' . esc_attr( $option['value'] ) . '" /></a>';
'options' =>
themify_theme_design_meta_box(),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
} header-slide-right header-top-bar header- );
boxed-layout header-boxed-content
$html .= ' <input header-right-pane header-stripe header-
type="hidden" name="' . $pre. '" logo-center header-overlay
class="val" value="' . esc_attr( $val ) . '" pushlabel"><label for="%1$s"><input if( themify_is_woocommerce_active() ) {
/>'; type="checkbox" id="%1$s"
name="%1$s" %2$s value="yes"/> $html .=
$html .= '</span>'; %3$s</label> sprintf('<p class="hide-if none
pushlabel"><label for="%1$s"><input
type="checkbox" id="%1$s"
'</p>'; <br><small>%4$s</small> name="%1$s" %2$s />
%3$s</label></p>',
$html .= sprintf('<p </p>',
class="hide-if none header-leftpane
header-slide-left header-slide-right header- $key,
minbar boxed-content header-rightpane 'setting-exclude_cart',
pushlabel"><label for="%1$s"><input
type="checkbox" id="%1$s"
checked( themify_get( $key ),
name="%1$s" %2$s /> checked( themify_get( 'setting-
'yes', false ),
%3$s</label></p>', exclude_cart','',true ), 'on', false ),
__( 'Full
'setting-
Height Header.', 'themify' ),
revealing_header', __('Exclude Cart Icon.',
__( 'Full 'themify')
height will display the container in 100%
checked( themify_get( 'setting- viewport height', 'themify' ) );
revealing_header','',true ), 'on', false ),
);
$html .=
$html .= sprintf('<p sprintf('<p class="hide-if none
__('Enable Revealing Header.', class="hide-if none pushlabel"><label pushlabel"><label for="%1$s"><input
'themify') for="%1$s"><input type="checkbox" type="checkbox" id="%1$s"
id="%1$s" name="%1$s" %2$s /> name="%1$s" %2$s />
);
%3$s</label></p>', %3$s</label></p>',
$html .= sprintf('<p
class="hide-if none header-slide-left
header-slide-right header-boxed-content 'setting- 'setting-exclude_wishlist',
header-left-pane header-right-pane header- exclude_site_logo',
minbar-left header-minbar-right pushlabel"
data-show-if-element="[name=setting- checked( themify_get( 'setting-
revealing_header]" data-show-if- exclude_wishlist','',true ), 'on', false ),
value="false"><label for="%1$s"><input checked( themify_get( 'setting-
type="checkbox" id="%1$s" exclude_site_logo' ), 'on', false ),
name="%1$s" %2$s />
__('Exclude Wishlist Icon.',
%3$s</label></p>',
__('Exclude Site Logo.', 'themify')
'setting- 'themify')
);
fixed_header_disabled',
);
}
$html .= sprintf('<p
checked( themify_get( 'setting- $html .= sprintf('<p
class="hide-if none pushlabel"><label
fixed_header_disabled','',true ), 'on', false ), class="hide-if none pushlabel"><label
for="%1$s"><input type="checkbox"
for="%1$s"><input type="checkbox"
id="%1$s" name="%1$s" %2$s />
id="%1$s" name="%1$s" %2$s />
%3$s</label></p>',
__('Disable Sticky Header.', %3$s</label></p>',
'themify') 'setting-
'setting-
exclude_site_tagline',
); exclude_search_button',

$key = 'setting-
full_height_header'; checked( themify_get( 'setting-
checked( themify_get( 'setting-
exclude_site_tagline','',true ), 'on', false ),
exclude_search_button','',true ), 'on',
$html .= sprintf('<p false ),
class="hide-if none header-logo-left
header-left-pane header-minbar-left __('Exclude Site Tagline.',
header-minbar-right header-slide-left 'themify')

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
__('Exclude Search Icon.',
'themify')
array( 'name' => array( 'name' => __( 'Rotate
); __( 'Dropdown', 'themify' ), 'value' => ZoomIn', 'themify' ), 'value' => 'rotate-
'dropdown' ), zoomin' ),
$html .= sprintf('<p
class="hide-if none pushlabel"><label
for="%1$s"><input type="checkbox" array( 'name' => __( 'Fade array( 'name' => __( 'Slide
id="%1$s" name="%1$s" %2$s /> Overlay', 'themify' ), 'value' => 'fade- Down', 'themify' ), 'value' => 'slide-down' ),
%3$s</label></p>', overlay' ),

'setting-
array( 'name' => __( 'SlideIn
exclude_menu_navigation',
array( 'name' => __( 'Fadein Left', 'themify' ), 'value' => 'slidein-left' ),
Down', 'themify' ), 'value' => 'fadein-down'
),
checked( themify_get( 'setting-
array( 'name' => __( 'SlideIn
exclude_menu_navigation','',true ), 'on',
Right', 'themify' ), 'value' => 'slidein-
false ),
array( 'name' => __( 'Flip right' ),
Down', 'themify' ), 'value' => 'flip-down' ),

__('Exclude Menu Navigation.',


array( 'name' => __( 'Split',
'themify')
array( 'name' => __( 'FlipIn 'themify' ), 'value' => 'split' ),
); Left', 'themify' ), 'value' => 'flipin-left' ),

$html .= sprintf('<p array( 'name' => __( 'Swing


class="hide-if none pushlabel"><label array( 'name' => __( 'FlipIn Left to Right', 'themify' ), 'value' => 'swing-
for="%1$s"><input type="checkbox" Right', 'themify' ), 'value' => 'flipin-right' ), left-to-right' ),
id="%1$s" name="%1$s" %2$s />
%3$s</label></p>',
array( 'name' => __( 'Flip from array( 'name' => __( 'Swing
'setting-
Left', 'themify' ), 'value' => 'flip-from- Right to Left', 'themify' ), 'value' => 'swing-
exclude_top_bar_widgets',
left' ), right-to-left' ),

checked( themify_get( 'setting-


array( 'name' => __( 'Flip from array( 'name' => __( 'Swing Top
exclude_top_bar_widgets','',true ), 'on',
Right', 'themify' ), 'value' => 'flip-from- to Bottom', 'themify' ), 'value' => 'swing-
false ),
right' ), top-to-bottom' ),

__('Exclude Top Bar Widgets.',


array( 'name' => __( 'Flip from array( 'name' => __( 'Swipe
'themify')
Top', 'themify' ), 'value' => 'flip-from-top' ), Left', 'themify' ), 'value' => 'swipe-left' ),
);

$html .= '<p array( 'name' => __( 'Flip from array( 'name' => __( 'Swipe
class="hide-if none" data-show-if- Bottom', 'themify' ), 'value' => 'flip-from- Right', 'themify' ), 'value' => 'swipe-right' ),
element="[name=setting- bottom' ),
exclude_menu_navigation]" data-show-if-
value="false"><span class="label">' . array( 'name' => __( 'Zoom
__( 'Mobile Menu Style', 'themify' ) . Down', 'themify' ), 'value' => 'zoomdown' ),
'</span>'; array( 'name' =>
__( 'Morphing', 'themify' ), 'value' => ), 'setting-mobile-
$html.='<select 'morphing' ), menu-styles' ) . '
name="setting-mobile-menu-styles">' .
themify_options_module( array( </select></p>';
array( 'name' => __( 'Overlay $html .= sprintf('<p
ZoomIn', 'themify' ), 'value' => 'overlay- class="hide-if none pushlabel" data-show-
array( 'name' => __( 'Default', zoomin' ),
'themify' ), 'value' => 'default' ), if-element="[name=setting-

exclude_menu_navigation]" data-show-if-
array( 'name' => __( 'Overlay value="false"><label for="%1$s"><input
array( 'name' => __( 'Boxed', ZoomIn Right', 'themify' ), 'value' => type="checkbox" id="%1$s"
'themify' ), 'value' => 'boxed' ), 'overlay-zoomin-right' ), name="%1$s" %2$s />
%3$s</label></p>',

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
'setting- $option['selected'] = true;
mobile_menu_expand',
} __('Exclude Footer Widgets.',
'themify')
if (!$val
checked( themify_get( 'setting- && $option['selected'] ) { );
mobile_menu_expand','',true ), 'on', false ),
$html .= sprintf('<p
__('Expand all child class="hide-if none pushlabel"><label
menus', 'themify') $val = $option['value']; for="%1$s"><input type="checkbox"
id="%1$s" name="%1$s" %2$s />
); } %3$s</label></p>',

$html .= sprintf('<p $class = $key .


class="hide-if none pushlabel" data-show- $val == $option['value'] ? ' selected' : ''; 'footer_menu_navigation',
if-element="[name=setting-
exclude_menu_navigation]" data-show-if-
value="false"><label for="%1$s"><input
$html .= checked( themify_get( $key .
type="checkbox" id="%1$s"
'<a href="#" class="preview-icon' . $class . 'footer_menu_navigation','',true ), 'on', false
name="%1$s" %2$s />
'" title="' . esc_attr( $option['title'] ) . ),
%3$s</label></p>',
'"><img src="' . THEME_URI . '/' .
'setting- $option['img'] . '" alt="' .
mobile_menu_toggle', esc_attr( $option['value'] ) . '" /></a>'; __('Exclude Menu Navigation.',
'themify')
}
);
checked( themify_get( 'setting- $html .= ' <input
mobile_menu_toggle','',true ), 'on', false ), type="hidden" name="' . $key. '" $html .= sprintf('<p
class="val" value="' . esc_attr( $val ) . '" /> class="hide-if none pushlabel"><label
__('Toggle child
for="%1$s"><input type="checkbox"
menus like accordion', 'themify')
id="%1$s" name="%1$s" %2$s />
); </p>'; %3$s</label></p>',

$html .= '</div><!-- /.group- $key = 'setting- $key .


hide -->'; exclude_'; 'footer_texts',

$design_options = $html .= sprintf('<p


themify_theme_footer_design_options(); class="hide-if none pushlabel"><label
checked( themify_get( $key .
for="%1$s"><input type="checkbox"
'footer_texts','',true ), 'on', false ),
$key = 'setting-footer_design'; id="%1$s" name="%1$s" %2$s />
%3$s</label></p>',
$html .= '<div class="group-
hide" data-hide="none">'; $key . __('Exclude Footer Text',
'footer_site_logo', 'themify')
$html .= '<p>
);
checked( themify_get( $key . $html .= sprintf('<p
<span 'footer_site_logo','',true ), 'on', false ), class="hide-if none pushlabel"><label
class="label">' . __( 'Footer Design', for="%1$s"><input type="checkbox"
'themify' ) . '</span>'; id="%1$s" name="%1$s" %2$s />
__('Exclude Site Logo.', %3$s</label></p>',
$val =
'themify')
themify_get( $key,'',true ); $key .
); 'footer_back',
foreach
( $design_options as $option ) { $html .= sprintf('<p
class="hide-if none pushlabel"><label
checked( themify_get( $key .
for="%1$s"><input type="checkbox"
'footer_back','',true ), 'on', false ),
if($option['value']==='default'){ id="%1$s" name="%1$s" %2$s />
%3$s</label></p>',
continue;
$key . __('Exclude Back to Top
} 'footer_widgets', button', 'themify')

);
elseif($option['value']==='footer-block'){ checked( themify_get( $key . $html .= sprintf('<p class="hide-if
'footer_widgets','',true ), 'on', false ), none pushlabel" data-show-if-

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
element="[name=setting- 'value' => }
exclude_footer_back]" data-show-if- 'footerwidget-2col',
value="false"><label for="%1$s"><input $html .= '<input type="hidden"
type="checkbox" id="%1$s" 'img' => name="setting-footer_widgets" class="val"
name="%1$s" %2$s /> 'themify/img/sidebars/2col.png', value="' . esc_attr( $val ) . '" />';
%3$s</label></p>',
'title' => $html .= '</p>';
'setting-use_float_back', __('Widgets 2 Columns', 'themify')),
$key = 'setting-
checked( themify_get( 'setting- array( footer_widget_position';
use_float_back' ,'',true), 'on', false ),
'value' => $html .= '<p data-show-if-
__('Use Floating Back to Top 'footerwidget-1col', element="[name=setting-footer_widgets]"
Button', 'themify') data-show-if-value=' . '["footerwidget-
'img' => 1col","footerwidget-2col","footerwidget-
); 'themify/img/sidebars/1col.png', 3col","footerwidget-4col"]' . '><span
class="label">' . __( 'Footer Widgets
$html .= sprintf('<p 'title' => Position', 'themify' ) . '</span>';
class="hide-if none pushlabel"><label __('Widgets 1 Column', 'themify')),
for="%1$s"><input type="checkbox" $html.='<select name="' . $key .
id="%1$s" name="%1$s" %2$s /> array( '">' . themify_options_module( array(
%3$s</label></p>',
'value' =>
'setting- 'none_widget',
array( 'name' => __( 'After
revealing_footer',
'img' => Footer Text', 'themify' ), 'value' => '' ),
'themify/img/sidebars/none.png',

checked( themify_get( 'setting- 'title' =>


array( 'name' => __( 'Before
revealing_footer' ), 'on', false ), __('No Widgets', 'themify'))
Footer Text', 'themify' ), 'value' => 'top' ),
);
), $key ) . '
__( 'Enable Revealing Footer', $val = themify_get( 'setting-
'themify' ) </select></p>';
footer_widgets',false,true );
); $key = 'setting-rounded_corners_';
$html.='<div data-show-if-
element="[name=setting-footer_design]" $html .= sprintf('<p><span
$html .= '</div><!-- /.group-
data-show-if-value=' . '["footer- class="label">%1$s</span><label
hide -->';
block","footer-left-column","footer-right- for="%2$s"><input type="checkbox"
$options = array( column","footer-horizontal-left","footer- id="%2$s" name="%2$s" %3$s />
horizontal-right"]' . '>'; %4$s</label></p>',
array(
$html .= '<p><span __('Rounded Corners', 'themify'),
'value' => class="label">' . __( 'Footer Widgets',
'footerwidget-4col', 'themify' ) . '</span>'; $key . 'images',

'img' => checked( themify_get( $key .


'themify/img/sidebars/4col.png', 'images',null,true ), 'on', false ),
foreach($options as $option){
'title' => __('Reset rounded corners on featured
__('Widgets 4 Columns', 'themify')), if(!$val && images', 'themify')
isset($option['selected']) &&
array( $option['selected']){ );

'value' => $val = $html .= sprintf('<p


'footerwidget-3col', $option['value']; class="pushlabel"><label
for="%1$s"><input type="checkbox"
'img' => } id="%1$s" name="%1$s" %2$s />
'themify/img/sidebars/3col.png', %3$s</label></p>',
$class = $val ==
'title' => $option['value']?' selected':''; $key . 'inputs',
__('Widgets 3 Columns', 'themify'),
$html .= '<a checked( themify_get( $key .
'selected' href="#" class="' . 'preview-icon' . $class . 'inputs',null,true ), 'on', false ),
=> true), '" title="' . esc_attr( $option['title'] ) .
'"><img src="' . __('Reset rounded corners on form
array( inputs/buttons', 'themify')
THEME_URI.'/'.$option['img'] . '" alt="' .
esc_attr( $option['value'] ) . '" /></a>';

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
); array( 'name' => </div>';
__( 'None', 'themify' ), 'value' => '' ),
$html.='</div>';

return $html; return $out;


array( 'name' =>
} __( 'Grayscale', 'themify' ), 'value' =>
'grayscale' ),
function themify_image_filter( $data = }
array() ) {
array( 'name' =>
$data = themify_get_data();
__( 'Sepia', 'themify' ), 'value' => 'sepia' ),
$key = 'setting-
imagefilter_options'; function themify_default_layout( $data =
array( 'name' => array() ){
$out = '<p> __( 'Blur', 'themify' ), 'value' => 'blur' ),
$data = themify_get_data();

$prefix = 'setting-default_';
<span class="label">' . ), $key . '_hover' ) . '
__( 'Image Filter', 'themify' ) . '</span> if ( ! isset( $data[$prefix .
'more_text'] ) || '' == $data[$prefix .
</select> 'more_text'] ) {
<select name="' . $key . '">' .
themify_options_module( array( </p>'; $more_text =
__( 'More', 'themify' );
$key1 = 'setting-
imagefilter_applyto'; } else {
array( 'name' =>
__( 'None', 'themify' ), 'value' => '' ), $preset = $more_text =
themify_get( $key1,'featuredonly',true ); $data[$prefix . 'more_text'];

array( 'name' => $out .= '<div> }


__( 'Grayscale', 'themify' ), 'value' =>
$default_options = array(
'grayscale' ),
<span class="label">' . array('name' => '',
__( 'Apply to', 'themify' ) . '</span>' . 'value' => ''),
array( 'name' =>
__( 'Sepia', 'themify' ), 'value' => 'sepia' ), sprintf('<label array('name' =>
for="%1$s"><input type="radio" __('Yes', 'themify'), 'value' => 'yes'),
id="%1$s" name="%1$s" %2$s
value="featuredonly" /> %3$s</label>', array('name' =>
array( 'name' =>
__('No', 'themify'), 'value' => 'no')
__( 'Blur', 'themify' ), 'value' => 'blur' ),

$key1, checked( $preset, );


'featuredonly', false ), __( 'Featured Images
), $key ) . ' $binary_options = array(
Only', 'themify' ) ) .

</select> array('name'=>__('Yes',
'<br/>
'themify'),'value'=>'yes'),
</p>';

$out .= '<p> <span class="pushlabel">' .


array('name'=>__('No',
sprintf('<label 'themify'),'value'=>'no')
for="%1$s"><input type="radio"
<span class="label">' . );
id="%1$s" name="%1$s" %2$s
__( 'Image Hover Filter', 'themify' ) .
value="allimages" /> %3$s</label>', $default_display_options =
'</span>
array(

$key1, array('name' =>


<select name="' . $key .
checked( themify_get( $key1 ), 'allimages', __('Full Content', 'themify'),'value' =>
'_hover">' .
false ), __( 'All Images', 'themify' ) ) . ' 'content'),
themify_options_module( array(
array('name' =>
__('Excerpt', 'themify'),'value' => 'excerpt'),
</span>

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
array('name' => array( 'name' => __( 'Default',
__('None', 'themify'),'value' => 'none') 'themify' ), 'value' => '' ),

); '.checked( themify_get( esc_attr


($prefix).'sticky_sidebar' ), 1, false ) .'

array( 'name' => __( 'Overlay',


$media_position = array( 'themify' ), 'value' => 'overlay' ),
/>'.__('Enable sticky sidebar',
'themify').'
array('name'=>__('Above Post
Title', 'themify'), 'value'=>'above'), array( 'name' => __( 'Polaroid',
'themify' ), 'value' => 'polaroid' ),
</label>

array('name'=>__('Below Post
Title', 'themify'), 'value'=>'below'), </p>';
array( 'name' => __( 'Boxed',
); $output .= '<p> 'themify' ), 'value' => 'boxed' ),

$output = '' . __( '', 'themify' ) .


'';
<span
$output .= '<p> class="label">' . __('Post Layout', array( 'name' => __( 'Flip',
'themify') . '</span>'; 'themify' ), 'value' => 'flip' )

$val =
<span
themify_get_default_selection($prefix.'pos ),
class="label">' . __('Archive Sidebar
t_layout', 'setting-post_content_layout' ) . '
Option', 'themify') . '</span>';
$data ,themify_default_post_layout_option
$val = s() );
themify_get_default_selection($prefix.'lay </select>
$output .=
out',
themify_render_option_items( themify_def
$data ,themify_sidebar_location_options()
ault_post_layout_options(), $val );
); </p>';
$output .= ' <input
$output .= $output .= '<p data-show-if-
type="hidden" name="' . esc_attr( $prefix )
themify_render_option_items( themify_sid element="[name=setting-
. 'post_layout" class="val" value="' .
ebar_location_options(), $val ); default_post_layout]" data-show-if-
esc_attr( $val ) . '" />
value=' .
$output .= ' <input
'["grid2","grid3","grid4","grid5","grid6"]' .
type="hidden" name="' . esc_attr( $prefix )
</p>'; '>
. 'layout" class="val" value="' .
esc_attr( $val ) . '" />
$output .= '<p data-show-if-
element="[name=setting- <span
default_post_layout]" data-show-if-value=' class="label">' . __('Post Masonry',
</p>';
. 'themify') . '</span>
$output .= '<p '["grid2","grid3","grid4","grid5","grid6","li
class="pushlabel" data-show-if- st-post"]' . '>
element="[name=' . esc_attr( $prefix ) . <select
'layout]" name="setting-post_masonry">' .
<span
data-show-if- class="label">' . __( 'Post Content Style',
value=\'["", "sidebar1", "sidebar1 sidebar- 'themify' ) . '</span>
left"]\'>
themify_options_module($binary_options,
<select 'setting-post_masonry') . '
<label name="setting-post_content_layout">'.
for="'.esc_attr($prefix).'sticky_sidebar">
</select>

<input type="checkbox" themify_options_module( array( </p>';


id="'.esc_attr($prefix).'sticky_sidebar"
name="'.esc_attr($prefix).'sticky_sidebar" $output .= '<p>
value="1"

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
<span $output .= '<p>
class="pushlabel vertical-grouped">
<span
class="label">' . __( 'Post Gutter',
'themify' ) . '</span> <span
<label> class="label">' . __('Hide Post Title',
'themify') . '</span>
<select
name="setting-post_gutter">'.
<input class="width2" <select name="' .
type="text" value="' . esc_attr( $prefix ) . 'post_title">' .
( isset( $data[ $prefix .
'excerpt_length' ] ) ?
esc_attr( $data[ $prefix .
themify_options_module( array(
'excerpt_length' ] ) : '' ) . '" name="' .
esc_attr( $prefix ) . 'excerpt_length"> ' themify_options_module($default_options,
$prefix.'post_title') . '
array( 'name' => __( 'Default',
'themify' ), 'value' => 'gutter' ),
. __( 'Excerpt length (enter </select>
number of words)', 'themify' ) . '

array( 'name' => __( 'No gutter', </p>';


</label>
'themify' ), 'value' => 'no-gutter' )
$output .= '<p>

</span>
),
'setting-post_gutter' ) . '
<span class="label">' .
</p>'; __('Unlink Post Title', 'themify') . '</span>

</select> $output .= '<p>


<select name="' .
esc_attr( $prefix ) . 'unlink_post_title">' .
</p>'; <span
class="label">' . __('More Text',
$output .= '<p>
'themify') . '</span>

themify_options_module($default_options,
<span $prefix.'unlink_post_title') . '
<input type="text"
class="label">' . __('Display Content',
name="' . esc_attr( $prefix ) . 'more_text"
'themify') . '</span>
value="' . esc_attr( $more_text ) . '">
</select>

<select name="' .
esc_attr( $prefix ) . 'layout_display">'.
</p>';

<span $output .=
class="pushlabel vertical-grouped"><label themify_post_meta_options($prefix.'post_
for="setting-excerpt_more"><input meta', $data);
themify_options_module($default_display
type="checkbox" value="1" id="setting-
_options, $prefix.'layout_display').' $output .= '<p>
excerpt_more" name="setting-
excerpt_more"
'.checked( themify_get( 'setting-
</select> excerpt_more' ), 1, false ).'/> ' . __('Display <span
more link button in excerpt mode as well.', class="label">' . __('Hide Post Date',
'themify') . '</label></span> 'themify') . '</span>
</p>';

$output .= '<p <select name="' .


</p>';
style="display:none"> esc_attr( $prefix ) . 'post_date">' .
$output .=
themify_post_sorting_options('setting-
index_order', $data);

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
<select name="' . <br /><span
themify_options_module($default_options, esc_attr( $prefix ) . 'post_image">' . class="pushlabel"><small>' . __('Enter
$prefix.'post_date') . ' height = 0 to disable vertical cropping with
img.php enabled', 'themify') .
'</small></span>
</select>
</p>';
themify_options_module($default_options,
$prefix.'post_image') . ' return $output;
</p>';
}
$output .= '<p> </select>
if (!
function_exists('themify_pagination_infinit
<span e')) {
</p>';
class="label">' . __('Auto Featured Image',
function
'themify') . '</span> $output .= '<p>
themify_pagination_infinite($data =
array()) {

<label for="setting- <span $output = '<p><span


auto_featured_image"><input class="label">' . __('Unlink Featured class="label">' . __( 'Pagination Option',
type="checkbox" value="1" id="setting- Image', 'themify') . '</span> 'themify' ) . '</span>';
auto_featured_image" name="setting-
auto_featured_image" ' . $output .= '<input ' .
checked( themify_get( 'setting- <select name="' . checked( themify_get( 'setting-
auto_featured_image' ), 1, false ) . '/> ' . __( esc_attr( $prefix ) . 'unlink_post_image">' . more_posts','infinite',true ), 'infinite', false )
'If no featured image is specified, display . ' type="radio" id="setting-
first image in content.', 'themify' ) . more_posts_infinite" name="setting-
'</label> more_posts" value="infinite" /> ';

$output .=
themify_options_module($default_options, __('Infinite Scroll (posts are loaded on the
</p>'; $prefix.'unlink_post_image') . ' same page)', 'themify');
$output .= '<p>
$output .= '<div
</select> class="pushlabel indented-field" data-
show-if-element="[name=setting-
<span more_posts]:checked" data-show-if-
class="label">' . __( 'Featured Image value="infinite">';
Position', 'themify' ) . '</span> </p>';

<select name="' . $output .= '<label


$output .=
esc_attr( $prefix ) . 'media_position">' . for="setting-autoinfinite"><input
themify_feature_image_sizes_select('imag
type="checkbox" id="setting-autoinfinite"
e_post_feature_size');
name="setting-autoinfinite"
$output .= '<p '.checked( themify_get( 'setting-
class="show_if_enabled_img_php"> autoinfinite' ), 'on', false ).'/> ' . __('Disable
automatic infinite scroll',
themify_options_module( $media_position 'themify').'</label>';
<span class="label">' .
, $prefix.'media_position' ) . '
__('Image Size', 'themify') . '</span>
$output .= '<br/>';
<input type="text"
</select> class="width2" name="setting- $output .= '<label
image_post_width" value="' . themify_get( for="setting-infinite-url"><input
'setting-image_post_width' ) . '" /> ' . type="checkbox" id="setting-infinite-url"
__('width', 'themify') . ' name="setting-infinite-url"
</p>';
<small>(px)</small> '.checked( themify_get( 'setting-infinite-url'
$output .= '<p> ), 'on', false ).'/> ' . __('Disable page
<input type="text" number updates on address URL on
class="width2" name="setting- scrolling', 'themify').'</label>';
image_post_height" value="' .
<span $output .= '</div>';
themify_get( 'setting-image_post_height' ) .
class="label">' . __('Hide Featured Image',
'" /> <span>' . __('height', 'themify') . '
'themify') . '</span> $output .= '<br/>';
<small>(px)</small></span>

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$output .= '<span and Next Posts Links', 'themify' ) .
class="pushlabel"><input ' . '</label>';
$input = $key.$k.'_link';
checked( themify_get( 'setting-more_posts'
), 'pagination', false ) . ' type="radio" $output .= '</p>';
id="setting-more_posts_pagination"
name="setting-more_posts" $output .= '</div>'; $output.='<label><input
value="pagination" /> '; class="width8" type="text" name="'.
$input.'"
$output .= return $output; value="'.esc_url(themify_get($input)).'">'.
__('Standard Pagination', 'themify') . __('Banner Link','themify').'</label><br/>';
}}
'</span>';
if (!
$output .= '</p>'; $input = $key.$k.'_image';
function_exists('themify_footer_social_ban
$key = 'setting- ners')) {
entries_nav';
function $output.='<input
$output .= '<div themify_footer_social_banners($data = class="width8" type="text" id="'.$input.'"
class="pushlabel indented-field" data- array()) { name="'.$input.'"
show-if-element="[name=setting- value="'.esc_url(themify_get($input)).'">'.
$socials =
more_posts]:checked" data-show-if- __('Banner
themify_get_footer_banners();
value="pagination">'; Image','themify').themify_get_uploader($in
$output = ''; put, array('tomedia' => true)) .'<br/>';
$output .= '<p>';
if(!empty($socials))
//
{ $output.='</div>';
Numbered pagination
$key = }
'settings-footer_banner_';
$output .= '<label for="' . }
esc_attr( $key . '_numbered' ) . '">';
return $output;
foreach($socials as $k=>$v){ }}
$output .= '<input ' .
checked( isset( $data[$key] )? if (!
$data[$key] : 'numbered', 'numbered', $input = $key.$k; function_exists('themify_search_result_lay
false) . ' type="radio" id="' . out')) {
esc_attr( $key . '_numbered' ) . '" name="' .
esc_attr( $key ) . '" value="numbered" /> '; function
$output.= '<p><span
themify_search_result_layout( $data =
class="label">' . $v .
array() ){
'</span><label><input type="checkbox"
$output .= __( 'Numbered Page value="'.$k.'" id="'.$input.'" name="'. $data = themify_get_data();
Navigation (page 1, 2, 3, etc.)', 'themify' ) . $input.'" '.checked( themify_get( $input ),
'</label>'; $k, false ).' />'.sprintf(__('Show %s $prefix = 'setting-search-result_';
banner','themify'),$v).'</label></p>';
$setting = 'setting-search-';

$output = '<p>
$output.='<div
$output .= '<br/>';
class="pushlabel" data-show-if-

<span
$output .= '<label for="' . class="label">' . __('Search Sidebar
esc_attr( $key . '_prevnext' ) . '">'; element="[name='.$input.']" data-show-if- Option', 'themify') . '</span>';
value=' . '["true"]' . '>';
$val =
$output .= '<input ' . themify_get_default_selection($prefix.'lay
checked( isset( $data[$key] )? $input = $key.$k.'_username';
out',
$data[$key] : '', 'prevnext', false ) . ' $data ,themify_sidebar_location_options()
type="radio" id="' . esc_attr( $key . );
'_prevnext' ) . '" name="' . esc_attr( $key ) . $output.='<label><input
'" value="prevnext" /> '; type="text" name="'.$input.'" $output .=
value="'.esc_attr(themify_get($input)).'">'. themify_render_option_items( themify_sid
__('Username','themify').'</label><br/>'; ebar_location_options(), $val );
$output .= __( 'Previous Posts

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$output .= ' <input . 'post_layout" class="val" value="' . class="label">' . __('Hide Post Title',
type="hidden" name="' . esc_attr( $prefix ) esc_attr( $val ) . '" /> 'themify') . '</span>
. 'layout" class="val" value="' .
esc_attr( $val ) . '" />
</p>'; <select name="' .
esc_attr( $prefix ) . 'post_title">' .
</p>'; $output .= '<p data-show-if-
element="[name='.esc_attr( $prefix ).'post_
$output .= '<p layout]" data-show-if-value=' .
themify_options_module(themify_default_
class="pushlabel" data-show-if- '["grid2","grid3","grid4","grid5","grid6","li
options(), $prefix.'post_title') . '
element="[name=' . esc_attr( $prefix ) . st-post"]' . '>
'layout]"

data-show-if- </select>
<span
value=\'["", "sidebar1", "sidebar1 sidebar-
class="label">' . __( 'Post Content Style',
left"]\'>
'themify' ) . '</span>
</p>';

<label $output .= '<p>


<select
for="'.esc_attr($prefix).'sticky_sidebar">
name="'.esc_attr( $prefix ).'content_layout
">'.
<span
class="label">' . __('Unlink Post Title',
<input type="checkbox" 'themify') . '</span>
themify_options_module( themify_post_co
id="'.esc_attr($prefix).'sticky_sidebar"
ntetnt_layout(),
name="'.esc_attr($prefix).'sticky_sidebar"
esc_attr($prefix).'content_layout' ) . '
value="1" <select name="' .
esc_attr( $prefix ) . 'unlink_post_title">' .

</select>
'.checked( themify_get( esc_attr themify_options_module(themify_default_
($prefix).'sticky_sidebar' ), 1, false ) .' options(), $prefix.'unlink_post_title') . '
</p>';

$output .= '<p>
</select>
/>'.__('Enable sticky sidebar',
'themify').'
<span
class="label">' . __('Display Content', </p>';
'themify') . '</span>
</label> $output .=
themify_post_meta_options($prefix.'post_
meta', $data);
<select name="' .
</p>'; esc_attr( $prefix ) . 'layout_display">'. $output .= '<p>
$output .= '<p>

<span
themify_options_module(themify_default_ class="label">' . __('Hide Post Date',
<span
display_options(), 'themify') . '</span>
class="label">' . __('Post Layout',
$prefix.'layout_display',true,'excerpt' ).'
'themify') . '</span>';

$val = <select name="' .


themify_get_default_selection(esc_attr( $p </select> esc_attr( $prefix ) . 'post_date">' .
refix ).'post_layout',
$data ,themify_default_post_layout_option
s() ); </p>'; themify_options_module(themify_default_
options(), $prefix.'post_date') . '
$output .=

themify_render_option_items( themify_def $output .= '<p>


ault_post_layout_options(), $val ); </select>

$output .= ' <input


<span
type="hidden" name="' . esc_attr( $prefix ) </p>';

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
$output .= '<p>
</p>'; </p>';

$output .= '<p> return $output;


<span
class="label">' . __('Auto Featured Image', }}
'themify') . '</span>
<span function themify_post_contetnt_layout()
class="label">' . __('Unlink Featured {
<label Image', 'themify') . '</span>
for="'.esc_attr($setting).'auto_featured_ima
ge"><input type="checkbox" value="1"
id="'.esc_attr($setting).'auto_featured_ima <select name="' . return array(
ge" esc_attr( $prefix ) . 'unlink_post_image">' .
name="'.esc_attr($setting).'auto_featured_i array('name' =>
mage" ' . __('Default', 'themify'), 'value' => ''),
checked( themify_get( esc_attr($setting).'a
themify_options_module(themify_default_ array('name' =>
uto_featured_image' ), 1, false ) . '/> ' .
options(), $prefix.'unlink_post_image') . ' __('Overlay', 'themify'), 'value' =>
__( 'If no featured image is specified,
display first image in content.', 'themify' ) . 'overlay'),
'</label>
</select> array('name' =>
__('Polaroid', 'themify'), 'value' =>
'polaroid'),
</p>';
</p>'; array('name' =>
$output .= '<p> __('Boxed', 'themify'), 'value' => 'boxed'),
$output .=
themify_feature_image_sizes_select('imag array('name' =>
e_post_feature_size'); __('Flip', 'themify'), 'value' => 'flip')
<span
class="label">' . __( 'Featured Image $output .= '<p> );
Position', 'themify' ) . '</span>
}
<span
<select name="' . class="label">' . __('Image Size', 'themify') function themify_post_gutter(){
esc_attr( $prefix ) . 'media_position">' . . '</span>
return array(

array('name' => __('Default',


themify_options_module( themify_media_ <input type="text" 'themify'), 'value' => 'gutter'),
position(), $prefix.'media_position' ) . ' class="width2"
name="'.esc_attr($setting).'image_post_wi array('name' => __('No gutter',
dth" value="' . 'themify'), 'value' => 'no-gutter')
</select> themify_get( esc_attr($setting).'image_post
_width' ) . '" /> ' . __('width', 'themify') . ' );
<small>(px)</small>
}
</p>';
function themify_content_layout(){
$output .= '<p> <input type="text"
class="width2 show_if_enabled_img_php" return array(
name="'.esc_attr($setting).'image_post_hei
<span ght" value="' . array('name' => __('Default',
class="label">' . __('Hide Featured Image', themify_get( esc_attr($setting).'image_post 'themify'), 'value' => ''),
'themify') . '</span> _height' ) . '" /> <span
array('name' => __('Overlay',
class="show_if_enabled_img_php">' .
'themify'), 'value' => 'overlay'),
__('height', 'themify') . '
<select name="' . <small>(px)</small></span> array('name' => __('Polaroid',
esc_attr( $prefix ) . 'post_image">' . 'themify'), 'value' => 'polaroid'),

<br /><span array('name' => __('Boxed', 'themify'),


class="pushlabel 'value' => 'boxed'),
themify_options_module(themify_default_
options(), $prefix.'post_image') . ' show_if_enabled_img_php"><small>' .
__('Enter height = 0 to disable vertical array('name' => __('Flip', 'themify'),
cropping with img.php enabled', 'value' => 'flip')
'themify') . '</small></span>
</select> );

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
} array('value' => function
'grid6','img' => themify_render_option_items(array
function themify_media_position(){ 'images/layout-icons/grid6.png','title' => $item_list, $val ){
__('Grid 6', 'themify')),
return array( $output = '';
array('value' => 'list-large-image','img'
array('name' => __('Above Post Title', => 'images/layout-icons/list-large- foreach ($item_list as $option) {
'themify'), 'value' => 'above'), image.png', 'title' => __('List Large Image',
'themify')), if (($val == '' || !$val || !isset($val))
array('name' => __('Below Post Title', && $option['selected']) {

$val = $option['value'];
array('value' => 'auto_tiles', 'img' =>
'themify'), 'value' => 'below'), }
'images/layout-icons/auto-tiles.png', 'title'
); => __('Tiles', 'themify'))
if ($val == $option['value']) {

} );
$class = 'selected';

function }
} else {
themify_sidebar_location_options(){
function themify_default_display_options()
$class = '';
return array( {
}
array('value' => 'sidebar1', 'img' => return array(
'images/layout-icons/sidebar1.png', $output .= '<a href="#"
array('name' => __('Full Content',
'selected' => true, 'title' => __('Sidebar class="preview-icon ' . esc_attr($class) . '"
'themify'),'value' => 'content'),
Right', 'themify')), title="' . esc_attr($option['title']) . '"><img
array('name' => __('Excerpt', src="' . esc_url(THEME_URI . '/' .
array('value' => 'sidebar1 sidebar-left', $option['img']) . '" alt="' .
'themify'),'value' => 'excerpt'),
'img' => 'images/layout-icons/sidebar1- esc_attr($option['value']) . '" /></a>';
left.png', 'title' => __('Sidebar Left', array('name' => __('None',
'themify')), 'themify'),'value' => 'none') }

array('value' => 'sidebar-none', 'img' ); return $output;


=> 'images/layout-icons/sidebar-none.png',
'title' => __('No Sidebar', 'themify')) } }

); function themify_binary_options(){ function


themify_get_default_selection($item_name
} return array( , array $data , array $item_list)

function array('name' => __('Yes', 'themify'), {


themify_default_post_layout_options(){ 'value' => 'yes'),
$val =isset($data[$item_name]) ?
return array( array('name' => __('No', 'themify'), $data[$item_name] : '';
'value' => 'no')
array('value' => 'list-post', 'img' => foreach ($item_list as $option) {
'images/layout-icons/list-post.png', 'title' => );
__( 'List Post', 'themify' ), "selected" => if ($val == $option['value']) {
true), }
return $val;
array('value' => 'grid2', 'img' => function themify_default_options(){
'images/layout-icons/grid2.png', 'title' => }
__( 'Grid 2', 'themify' )), return array(
};
array('value' => 'grid3', 'img' => array('name' => '', 'value' => ''),
return $item_list[0]['value'];
'images/layout-icons/grid3.png', 'title' =>
__( 'Grid 3', 'themify' )), array('name' => __('Yes', 'themify'),
'value' => 'yes'), }
array('value' => 'grid4', 'img' => function
'images/layout-icons/grid4.png', 'title' => array('name' => __('No', 'themify'),
'value' => 'no') themify_extend_mega_menu_options($out
__( 'Grid 4', 'themify' )), ){
array('value' => );
$key = 'setting-mega_menu';
'grid5', 'img' =>
}
'images/layout-icons/grid5.png','title' => $out .= '<p>
__('Grid 5', 'themify')),

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY
<span class="label">' . __( 'Post return $out;
Count', 'themify' ) . '</span>
}

<input type="hidden" name="'.


$key.'_post_count" value="off"> add_filter('themify_search_settings_output'
,'themify_add_serach_post_type_option');

}
<input type="checkbox"
value="on" id="'.$key.'_post_count"
name="'.$key.'_post_count" '.
checked( themify_get($key.'_post_count',f
alse,true),

'on', false ) .'/> ' . __('Include post count on


category links', 'themify') . '</label>

</p>';

return $out;

add_filter('themify_mega_menu_settings','t
hemify_extend_mega_menu_options');

if( themify_is_woocommerce_active()){

function
themify_add_serach_post_type_option($ou
t){

$out = '<p
class="themify_search_post_type"><span
class="label">' . __('Search Post Type',
'themify') . '</span>

<label
for="search_post_type_all">

<input
'.checked( themify_get( 'setting-
search_post_type','all' ), 'all', false ).'
type="radio" id="search_post_type_all"
name="setting-search_post_type"
value="all" />

'. __( 'All', 'themify' ) .


'</label>

<label
for="search_post_type_product">

<input
'.checked( themify_get( 'setting-
search_post_type' ), 'product', false ).'
type="radio"
id="search_post_type_product"
name="setting-search_post_type"
value="product" />

'. __( 'Product', 'themify' ) .


'</label>

</p>'.$out;

Your Future Starts Here


SOUTHWESTERN INSTITUTE OF BUSINESS AND TECHNOLOGY

Your Future Starts Here

You might also like