Esempio n. 1
0
File: config.php Progetto: 6226/wp
function kleo_bbpress_change_layout($layout)
{
    if (is_bbpress()) {
        $bbpress_template = sq_option('bbpress_sidebar', 'default');
        if ($bbpress_template != 'default') {
            $layout = $bbpress_template;
        }
    }
    return $layout;
}
Esempio n. 2
0
 /**
  * Setup Portfolio post type
  * @since  1.5
  * @return void
  */
 public function setup_portfolio_post_type()
 {
     $has_archive = sq_option('portfolio_custom_archive', '0') == '1' ? FALSE : TRUE;
     /* Default WordPress post archive page */
     if ($has_archive) {
         $slug = sq_option('portfolio_slug', 'portfolio');
         $slug = apply_filters('kleo_portfolio_slug', $slug);
     } else {
         $page_id = sq_option('portfolio_page');
         $page = get_post($page_id);
         $slug = $page->post_name;
     }
     $args = array('labels' => $this->get_labels('portfolio', $this->labels['portfolio']['singular'], $this->labels['portfolio']['plural'], $this->labels['portfolio']['menu']), 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_menu' => TRUE, 'menu_icon' => 'dashicons-format-image', 'query_var' => true, 'rewrite' => array('slug' => esc_attr($slug), 'feeds' => true, 'with_front' => false), 'has_archive' => $has_archive, 'hierarchical' => false, 'menu_position' => 20, 'supports' => array('title', 'editor', 'thumbnail', 'excerpt', 'comments'));
     register_post_type('portfolio', $args);
     register_taxonomy_for_object_type('post_tag', 'portfolio');
     $args = array("label" => _x('Portfolio Categories', 'category label', "kleo_framework"), "singular_label" => _x('Portfolio Category', 'category singular label', "kleo_framework"), 'public' => true, 'hierarchical' => true, 'show_ui' => true, 'show_in_nav_menus' => false, 'args' => array('orderby' => 'term_order'), 'rewrite' => array('slug' => apply_filters('kleo_portfolio_cat_slug', 'portfolio-category'), 'with_front' => false, 'hierarchical' => true), 'query_var' => true);
     register_taxonomy('portfolio-category', 'portfolio', $args);
 }
Esempio n. 3
0
function kleo_bp_change_layout($layout)
{
    global $bp;
    if (!bp_is_blog_page()) {
        $layout = sq_option('bp_layout', 'right');
        //profile page
        if (sq_option('bp_layout_profile', 'default') != 'default' && bp_is_user()) {
            $layout = sq_option('bp_layout_profile', 'right');
        } elseif (sq_option('bp_layout_members_dir', 'default') != 'default' && bp_is_current_component($bp->members->slug) && bp_is_directory()) {
            $layout = sq_option('bp_layout_members_dir', 'right');
        } elseif (sq_option('bp_layout_groups', 'default') != 'default' && bp_is_current_component($bp->groups->slug)) {
            $layout = sq_option('bp_layout_groups', 'right');
        } elseif (sq_option('bp_layout_activity', 'default') != 'default' && bp_is_current_component($bp->activity->slug)) {
            $layout = sq_option('bp_layout_activity', 'right');
        } elseif (sq_option('bp_layout_register', 'default') != 'default' && bp_is_register_page()) {
            $layout = sq_option('bp_layout_register', 'right');
        }
    }
    return $layout;
}
Esempio n. 4
0
function kleo_woo_dynamic_css()
{
    $h1 = sq_option('font_h1');
    $extra_style = '';
    $extra_style .= '.percentage-badge { color: ' . sq_option('woo_percent_color', '#fff') . ' !important; background: ' . sq_option('woo_percent_bg', '#000') . ' !important; }';
    $extra_style .= 'body.single-product span.page-title { font-family: ' . $h1['font-family'] . ' !important; font-weight: ' . $h1['font-weight'] . ' !important; display:block; font-size: 26px; line-height: 34px; margin: 0; }';
    return $extra_style;
}
Esempio n. 5
0
File: search.php Progetto: 6226/wp
//Specific class for post listing */
$blog_type = sq_option('blog_type', 'masonry');
$template_classes = $blog_type . '-listing';
if ($blog_type == 'standard' && sq_option('blog_meta_status', 1) == 1) {
    $template_classes .= ' with-meta';
}
add_filter('kleo_main_template_classes', create_function('$cls', '$cls .=" posts-listing ' . $template_classes . '"; return $cls;'));
/***************************************************
:: Title section
***************************************************/
if (sq_option('title_location', 'breadcrumb') == 'main') {
    $title_arr['show_title'] = false;
} else {
    $title_arr['title'] = kleo_title();
}
if (sq_option('breadcrumb_status', 1) == 0) {
    $title_arr['show_breadcrumb'] = false;
}
echo kleo_title_section($title_arr);
?>


<?php 
get_template_part('page-parts/general-before-wrap');
?>


	<?php 
if (have_posts()) {
    if ($blog_type == 'masonry') {
        ?>
Esempio n. 6
0
 function kleo_ajax_login()
 {
     /* If not our action, bail out */
     if (!isset($_POST['action']) || isset($_POST['action']) && $_POST['action'] != 'kleoajaxlogin') {
         return false;
     }
     /* If user is already logged in print a specific message */
     if (is_user_logged_in()) {
         $link = "javascript:window.location.reload();return false;";
         echo json_encode(array('loggedin' => false, 'message' => '<i class="icon icon-info-circled"></i> ' . sprintf(__('You are already logged in. Please <a href="#" onclick="%s">refresh</a> page', 'kleo_framework'), $link)));
         die;
     }
     // Check the nonce, if it fails the function will break
     check_ajax_referer('kleo-ajax-login-nonce', 'security');
     // Nonce is checked, continue
     $secure_cookie = '';
     // If the user wants ssl but the session is not ssl, force a secure cookie.
     if (!empty($_POST['log']) && !force_ssl_admin()) {
         $user_name = sanitize_user($_POST['log']);
         if ($user = get_user_by('login', $user_name)) {
             if (get_user_option('use_ssl', $user->ID)) {
                 $secure_cookie = true;
                 force_ssl_admin(true);
             }
         }
     }
     if (isset($_REQUEST['redirect_to'])) {
         $redirect_to = $_REQUEST['redirect_to'];
         // Redirect to https if user wants ssl
         if ($secure_cookie && false !== strpos($redirect_to, 'wp-admin')) {
             $redirect_to = preg_replace('|^http://|', 'https://', $redirect_to);
         }
     } else {
         $redirect_to = '';
     }
     $user_signon = wp_signon('', $secure_cookie);
     if (is_wp_error($user_signon)) {
         $error_msg = $user_signon->get_error_message();
         echo json_encode(array('loggedin' => false, 'message' => '<span class="wrong-response"><i class="icon icon-attention"></i> ' . $error_msg . '</span>'));
         //echo json_encode(array( 'loggedin' => false, 'message' => '<span class="wrong-response"><i class="icon icon-attention"></i> ' . __( 'Wrong username or password. Please try again.', 'kleo_framework' ) . '</span>' ));
     } else {
         if (sq_option('login_redirect', 'default') == 'reload') {
             $redirecturl = NULL;
         } else {
             $requested_redirect_to = isset($_REQUEST['redirect_to']) ? $_REQUEST['redirect_to'] : '';
             /**
              * Filter the login redirect URL.
              *
              * @since 3.0.0
              *
              * @param string           $redirect_to           The redirect destination URL.
              * @param string           $requested_redirect_to The requested redirect destination URL passed as a parameter.
              * @param WP_User|WP_Error $user                  WP_User object if login was successful, WP_Error object otherwise.
              */
             $redirecturl = apply_filters('login_redirect', $redirect_to, $requested_redirect_to, $user_signon);
         }
         echo json_encode(array('loggedin' => true, 'redirecturl' => $redirecturl, 'message' => '<span class="good-response"><i class="icon icon-ok-circled"></i> ' . __('Login successful, redirecting...', 'kleo_framework') . '</span>'));
     }
     die;
 }
Esempio n. 7
0
File: levels.php Progetto: 6226/wp
"><?php 
    echo $pmpro_msg;
    ?>
</div>
<?php 
}
?>
<div class="row membership pricing-table">
    
	<?php 
$restrict_options = kleo_memberships();
$pmpro_levels = array_filter($pmpro_levels);
$levelsno = count($pmpro_levels);
$levelsno = $levelsno == 0 ? 1 : $levelsno;
$level_cols = 12 / $levelsno;
$newoptions = sq_option('membership');
$popular = $newoptions['kleo_membership_popular'];
$kleo_pmpro_levels_order = isset($newoptions['kleo_pmpro_levels_order']) ? $newoptions['kleo_pmpro_levels_order'] : NULL;
switch ($level_cols) {
    case "1":
        $level_cols = "1";
        break;
    case "2":
        $level_cols = "2";
        break;
    case "3":
        $level_cols = "3";
        break;
    case "4":
        $level_cols = "4";
        break;
Esempio n. 8
0
<div id="buddypress">

    <?php 
if (bp_has_groups()) {
    while (bp_groups()) {
        bp_the_group();
        ?>

	<?php 
        do_action('bp_before_group_home_content');
        ?>
	
    <div class="row">

        <?php 
        if (sq_option('bp_full_group', 0) == 0) {
            ?>
            <div class="col-sm-12">
              <div id="item-header" role="complementary">
                <?php 
            bp_get_template_part('groups/single/group-header');
            ?>
              </div><!-- #item-header -->
            </div>
        <?php 
        }
        ?>
    
        <div class="col-sm-12">
          <div id="item-nav">
            <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">
Esempio n. 9
0
    <?php 
    get_template_part('content', get_post_format());
    ?>

		<?php 
    get_template_part('page-parts/posts-social-share');
    ?>

		<?php 
    if ($related == 1) {
        get_template_part('page-parts/posts-related');
    }
    ?>

		<?php 
    if (sq_option('post_navigation', 1) == 1) {
        // Previous/next post navigation.
        kleo_post_nav();
    }
    ?>

    <!-- Begin Comments -->
    <?php 
    comments_template('', true);
    ?>
    <!-- End Comments -->

<?php 
}
?>
Esempio n. 10
0
<?php

/**
 * Header section of our theme
 *
 * Displays all of the <div id="header"> section
 *
 * @package WordPress
 * @subpackage Kleo
 * @since Kleo 1.0
 */
//set logo path
$logo_path = sq_option_url('logo');
$logo_path = apply_filters('kleo_logo', $logo_path);
$social_icons = apply_filters('kleo_show_social_icons', sq_option('show_social_icons', 1));
$top_bar = sq_option('show_top_bar', 1);
$top_bar = apply_filters('kleo_show_top_bar', $top_bar);
global $current_user;
?>

<div id="header" class="header-color">
	
	<div class="navbar" role="navigation">

		<?php 
if ($top_bar == 1) {
    //top bar enabled
    ?>
		
		<!--Attributes-->
		<!--class = social-header inverse-->
Esempio n. 11
0
}
//hide title?
$title_arr['show_title'] = true;
if (is_singular() && get_cfield('title_checkbox') == 1) {
    $title_arr['show_title'] = false;
}
//If we are displaying the title in the main area, not the breadcrumb area
if (sq_option('title_location', 'breadcrumb') == 'main') {
    $title_arr['show_title'] = false;
}
//hide breadcrumb?
$title_arr['show_breadcrumb'] = true;
if (sq_option('breadcrumb_status', 1) == 0) {
    $title_arr['show_breadcrumb'] = false;
}
if (is_singular()) {
    if (get_cfield('hide_breadcrumb') == 1) {
        $title_arr['show_breadcrumb'] = false;
    } else {
        if (get_cfield('hide_breadcrumb') === '0') {
            $title_arr['show_breadcrumb'] = true;
        }
    }
}
//extra info
if (is_singular() && get_cfield('hide_info') == 1 || sq_option('title_info', '') == '') {
    $title_arr['extra'] = '';
}
if (isset($title_arr['show_breadcrumb']) && $title_arr['show_breadcrumb'] || !isset($title_arr['extra']) || $title_arr['show_title']) {
    echo kleo_title_section($title_arr);
}
Esempio n. 12
0
<div id="featured-content" class="featured-content">
	
	<?php 
/**
 * Fires before the featured content.
 *
 * @since Kleo 1.0
 */
do_action('kleo_featured_posts_before');
echo $before_featured;
$featured_posts = kleo_get_featured_posts();
foreach ((array) $featured_posts as $order => $post) {
    setup_postdata($post);
    // Include the featured content template.
    if ('grid' == sq_option('featured_content_layout', 'carousel')) {
        get_template_part('page-parts/post-content-masonry');
    } else {
        get_template_part('page-parts/post-content-carousel');
    }
}
echo $after_featured;
/**
 * Fires after the Kleo featured content.
 *
 * @since Kleo 1.0
 */
do_action('kleo_featured_posts_after');
wp_reset_postdata();
?>
</div><!-- #featured-content .featured-content -->
Esempio n. 13
0
File: dynamic.php Progetto: 6226/wp
.alternate-color .masonry-listing .post-content {
	background-color: #fff;
 }






<?php 
    }
}
/* Body Background */
if (sq_option('site_style') == 'boxed') {
    echo $kleo_theme->get_bg_css('body_bg', 'body');
}
/* Sections background */
foreach ($style_sets as $set) {
    if ($set == 'header') {
        $element = '.' . $set . '-color, .' . $set . '-color .kleo-main-header';
    } else {
        $element = '.' . $set . '-color';
    }
    echo $kleo_theme->get_bg_css('st__' . $set . '__bg_image', $element);
}
if (sq_option('menu_size', '') != '') {
    echo '.kleo-main-header .navbar-nav > li > a { font-size: ' . sq_option('menu_size', '') . 'px; }';
}
//here you can apply other styles
$extra_output = apply_filters('kleo_add_dynamic_style', '');
echo $extra_output;
Esempio n. 14
0
 * @version     1.6.4
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
global $product, $woocommerce, $woocommerce_loop;
$crosssells = WC()->cart->get_cross_sells();
if (sizeof($crosssells) == 0) {
    return;
}
$meta_query = WC()->query->get_meta_query();
$args = array('post_type' => 'product', 'ignore_sticky_posts' => 1, 'no_found_rows' => 1, 'posts_per_page' => apply_filters('woocommerce_cross_sells_total', $posts_per_page), 'orderby' => $orderby, 'post__in' => $crosssells, 'meta_query' => $meta_query);
$products = new WP_Query($args);
$woocommerce_loop['columns'] = apply_filters('woocommerce_cross_sells_columns', $columns);
$items = sq_option('woo_cross_columns', 3);
if ($products->have_posts()) {
    ?>

	<div class="cross-sells kleo-shop-<?php 
    echo $items;
    ?>
">

		<div class="hr-title hr-full"><abbr><?php 
    _e('You may be interested in&hellip;', 'woocommerce');
    ?>
</abbr></div>

		<?php 
    woocommerce_product_loop_start();
Esempio n. 15
0
File: config.php Progetto: 6226/wp
/**
 * Get saved membership settings
 * @return array
 * @since 2.0
 */
function kleo_memberships($theme = '')
{
    $restrict_options = sq_option('membership');
    return $restrict_options;
}
Esempio n. 16
0
/**
 * Check to see if post media is enabled for a single post page
 * @return int
 */
function kleo_postmedia_enabled()
{
    if (!is_single()) {
        return 1;
    }
    $media_status = sq_option('blog_media_status', 1);
    $post_status = get_cfield('post_media_status');
    if ($post_status != '') {
        $media_status = get_cfield('post_media_status');
    }
    return $media_status;
}
Esempio n. 17
0
">

				<?php 
/**
 * woocommerce_before_shop_loop_item_title hook
 *
 * @hooked woocommerce_show_product_loop_sale_flash - 10
 * @hooked woocommerce_template_loop_product_thumbnail - 10
 */
do_action('woocommerce_before_shop_loop_item_title');
?>

			</a>

			<?php 
if (sq_option('woo_catalog', '0') != '1') {
    ?>
			<figcaption>
				<div class="shop-actions clearfix">
				<?php 
    do_action('woocommerce_after_shop_loop_item');
    ?>
				</div>
			</figcaption>
			<?php 
}
?>
		</figure>

		<div class="product-details">
			<?php 
Esempio n. 18
0
 * @package WordPress
 * @subpackage Kleo
 * @since Kleo 1.0
 */
get_header();
?>

<?php 
//create full width template
kleo_switch_layout('no');
add_filter('kleo_main_template_classes', create_function('$cols', '$cols .= " text-center"; return $cols;'));
?>

<?php 
$title_arr['title'] = kleo_title();
if (sq_option('title_location', 'breadcrumb') == 'main') {
    $title_arr['show_title'] = false;
}
echo kleo_title_section($title_arr);
?>

<?php 
get_template_part('page-parts/general-before-wrap');
?>

<div class="row">
	<div class="col-sm-12">
			<img src="<?php 
echo get_template_directory_uri();
?>
/assets/img/404_image.png"><br>
Esempio n. 19
0
$title_arr['title'] = kleo_title();
//hide title?
$title_arr['show_title'] = true;
if (get_cfield('title_checkbox') == 1) {
    $title_arr['show_title'] = false;
}
//If we are displaying the title in the main area, not the breadcrumb area
if (sq_option('title_location', 'breadcrumb') == 'main') {
    $title_arr['show_title'] = false;
}
//hide breadcrumb?
$title_arr['show_breadcrumb'] = true;
if (sq_option('breadcrumb_status', 1) == 0) {
    $title_arr['show_breadcrumb'] = false;
}
if (get_cfield('hide_breadcrumb') == 1) {
    $title_arr['show_breadcrumb'] = false;
} else {
    if (get_cfield('hide_breadcrumb') === '0') {
        $title_arr['show_breadcrumb'] = true;
    }
}
//extra info
if (get_cfield('hide_info') == 1 || sq_option('title_info', '') == '') {
    $show_info = FALSE;
} else {
    $show_info = TRUE;
}
if (isset($title_arr['show_breadcrumb']) && $title_arr['show_breadcrumb'] || $show_info === TRUE || $title_arr['show_title']) {
    echo kleo_title_section($title_arr);
}
Esempio n. 20
0
File: index.php Progetto: 6226/wp
:: Title section
***************************************************/
//title
$title_arr['show_title'] = true;
if (sq_option('title_location', 'breadcrumb') == 'main') {
    $title_arr['show_title'] = false;
} else {
    $page_title = __('Blog', 'kleo_framework');
}
//breadcrumb
$title_arr['show_breadcrumb'] = true;
if (sq_option('breadcrumb_status', 1) == 0) {
    $title_arr['show_breadcrumb'] = false;
}
//extra info
if (sq_option('title_info', '') == '') {
    $show_info = FALSE;
} else {
    $show_info = TRUE;
}
//If we have designated a page for latest posts like Blog page
if (get_option('page_for_posts')) {
    $blogpage_id = get_option('page_for_posts');
    $page_title = get_the_title($blogpage_id);
    if (get_cfield('title_checkbox', $blogpage_id) == 1) {
        $title_arr['show_title'] = false;
    }
    if (get_cfield('hide_info', $blogpage_id) == 1) {
        $show_info = FALSE;
    }
    if (get_cfield('hide_breadcrumb', $blogpage_id) == 1) {
Esempio n. 21
0
        <?php 
        /*
         * Include the post format-specific template for the content. If you want to
         * use this in a child theme, then include a file called called content-___.php
         * (where ___ is the post format) and that will be used instead.
         */
        get_template_part('content', 'page');
        ?>

        <?php 
        get_template_part('page-parts/posts-social-share');
        ?>

        <?php 
        if (sq_option('page_comments', 0) == 1) {
            ?>

            <!-- Begin Comments -->
            <?php 
            comments_template('', true);
            ?>
            <!-- End Comments -->

        <?php 
        }
        ?>


	<?php 
    }
Esempio n. 22
0
/**
 * BuddyPress - Members Loop
 *
 * Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter()
 *
 * @package BuddyPress
 * @subpackage bp-legacy
 */
?>

<?php 
do_action('bp_before_members_loop');
?>

<?php 
if (bp_has_members(bp_ajax_querystring('members') . '&per_page=' . sq_option('bp_members_perpage', 24))) {
    ?>

	<div id="pag-top" class="pagination">

		<div class="pag-count" id="member-dir-count-top">

			<?php 
    bp_members_pagination_count();
    ?>

		</div>

		<div class="pagination-links" id="member-dir-pag-top">

			<?php 
Esempio n. 23
0
File: members.php Progetto: 6226/wp
<?php

if (bp_group_has_members('exclude_admins_mods=0&per_page=' . sq_option('bp_members_perpage', 12))) {
    ?>

	<?php 
    do_action('bp_before_group_members_content');
    ?>

	<div class="item-list-tabs" id="subnav" role="navigation">
		<ul>

			<?php 
    do_action('bp_members_directory_member_sub_types');
    ?>

		</ul>
	</div>

	<div id="pag-top" class="pagination no-ajax">

		<div class="pag-count" id="member-count-top">

			<?php 
    bp_members_pagination_count();
    ?>

		</div>

		<div class="pagination-links" id="member-pag-top">
Esempio n. 24
0
<div id="buddypress">

	<?php 
do_action('bp_before_member_home_content');
?>
  
  <div class="row">


      <?php 
if (sq_option('bp_full_profile', 0) == 0) {
    ?>
      <div class="col-sm-12">
          <div id="item-header" role="complementary">

              <?php 
    bp_get_template_part('members/single/member-header');
    ?>

          </div>
          <!-- #item-header -->
      </div>
      <?php 
}
?>


      <div class="col-sm-12">
          <div id="item-nav">
              <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">
                  <ul class="responsive-tabs">
    ?>
									
								<?php 
}
?>
									
							</a>
						</strong>
					</div>

                    <?php 
if ($header_style == 'left_logo') {
    ?>
                    <div class="header-banner">
                        <?php 
    echo do_shortcode(sq_option('header_banner', ''));
    ?>
                    </div>
                    <?php 
}
?>

					<!-- Collect the nav links, forms, and other content for toggling -->
					<?php 
// Main menu
echo $primary_menu;
?>
				</div><!--end container-->
			</div>
			
	</div>
Esempio n. 26
0
<?php

/** 
 * Displays social share icons
 * @package WordPress
 * @subpackage Kleo
 * @since Kleo 1.0
 */
$social_share = sq_option('blog_social_share', 1);
if (get_cfield('blog_social_share') != '') {
    $social_share = get_cfield('blog_social_share');
}
$like_status = sq_option('likes_status', 1);
if ($social_share != 1 && $like_status != 1) {
    return;
}
?>
<section class="container-wrap">
	<div class="container">
		<div class="share-links">
      
      <div class="hr-title hr-long"><abbr><?php 
_e("Share this article:", "kleo_framework");
?>
</abbr></div>
      
			<?php 
if ($like_status == 1) {
    ?>
			
      <span class="kleo-love">
Esempio n. 27
0
<?php 
get_template_part('page-parts/general-before-wrap');
?>

<?php 
if (have_posts()) {
    // Start the Loop.
    while (have_posts()) {
        the_post();
        ?>
	<div class="row">
		<div class="col-sm-12">
			
			<?php 
        if (sq_option('bp_title_location', 'breadcrumb') == 'main' or sq_option('bp_title_location', 'breadcrumb') == 'default' && sq_option('title_location', 'breadcrumb') == 'main') {
            ?>
			<h1 class="page-title text-center" style="font-size:20px;"><?php 
            echo $title;
            ?>
</h1>
			<?php 
        }
        ?>
			
			<div class="article-content">
					<?php 
        the_content();
        ?>
			</div><!--end article-content-->
		</div><!--end twelve-->
Esempio n. 28
0
/**
 * Get the Featured image URL of a post
 * @global object $post
 * @param string $size
 * @return string
 */
function kleo_get_post_thumbnail_url()
{
    $image_url = '';
    if ($thumb = get_post_thumbnail_id()) {
        $image_url = wp_get_attachment_url($thumb);
    } elseif (sq_option('blog_get_image', 1) == 1) {
        global $post;
        ob_start();
        ob_end_clean();
        $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);
        $image_url = isset($matches[1][0]) ? $matches[1][0] : null;
    }
    //Defines a default image
    if (empty($image_url)) {
        $image_url = sq_option_url('blog_default_image', '');
    }
    return $image_url;
}
Esempio n. 29
0
function kleo_custom_redirect()
{
    $redirect_to = sq_option('login_redirect_custom', '');
    return $redirect_to;
}
Esempio n. 30
0
do_action('kleo_after_footer');
?>

	</div><!-- #page -->

    <?php 
/**
 * After page hook
 * @hooked kleo_show_side_menu 10
 */
do_action('kleo_after_page');
?>

	<!-- Analytics -->
	<?php 
echo sq_option('analytics', '');
?>

	<?php 
wp_footer();
?>
	<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='https://embed.tawk.to/5654175881505c8622d7b816/default';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);