first commit
This commit is contained in:
57
wp-content/themes/thinkai/templates/banner/banner.php
Normal file
57
wp-content/themes/thinkai/templates/banner/banner.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/**
|
||||
* Banner Template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Theme Kalia
|
||||
* @author Theme Kalia
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
if ( $data->get( 'enable_banner' ) AND $data->get( 'banner_type' ) == 'e' AND ! empty( $data->get( 'banner_elementor' ) ) ) {
|
||||
echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $data->get( 'banner_elementor' ) );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
?>
|
||||
<?php if ( $data->get( 'enable_banner' ) ) : ?>
|
||||
|
||||
<!--Start breadcrumb Style1-->
|
||||
<section class="breadcrumb-style1 <?php if( $data->get( 'banner' ) ) echo 'm-t130'?>">
|
||||
<?php if( $data->get( 'banner' ) ){?>
|
||||
<div id="particles-js"></div>
|
||||
<div class="breadcrumb-style1-bg" style="background-image: url(<?php echo esc_url( $data->get( 'banner' ) ); ?>);"></div>
|
||||
<?php } ?>
|
||||
|
||||
<!--Start Scrolling Text Style6-->
|
||||
<?php
|
||||
$features_list = $data->get('features_list');
|
||||
if(!empty($features_list)){
|
||||
$features_list = explode("\n", ($features_list));
|
||||
?>
|
||||
<div class="scrolling-text-style6">
|
||||
<div class="inner">
|
||||
<ul class="clearfix marquee_mode">
|
||||
<?php foreach($features_list as $features): ?>
|
||||
<li data-hover="<?php echo wp_kses($features, true); ?>">
|
||||
<?php echo wp_kses($features, true); ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!--End Scrolling Text Style6-->
|
||||
<div class="container">
|
||||
<div class="inner-content">
|
||||
<div class="title text-center">
|
||||
<h2><?php if( $data->get( 'title' ) ) echo wp_kses( $data->get( 'title' ), true ); else( the_title() ); ?></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--End breadcrumb Style1-->
|
||||
|
||||
<?php endif; ?>
|
||||
@@ -0,0 +1,9 @@
|
||||
<div class="author-box">
|
||||
<figure>
|
||||
<?php echo get_avatar( get_the_author_meta( 'ID' ), 160 ); ?>
|
||||
</figure>
|
||||
<div class="author-post">
|
||||
<h3><?php esc_html_e( 'By', 'thinkai' ); ?><?php echo esc_html( get_the_author_meta( 'display_name' ) ); ?></h3>
|
||||
<p><?php echo esc_html( get_the_author_meta( 'description' ) ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
35
wp-content/themes/thinkai/templates/blog-single/image.php
Normal file
35
wp-content/themes/thinkai/templates/blog-single/image.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Single Image File.
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Theme Kalia
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
<?php
|
||||
if ( class_exists( 'Thinkai_Resizer' ) ) {
|
||||
$img_obj = new Thinkai_Resizer();
|
||||
|
||||
}
|
||||
$width = $data->get( 'sidebar' ) ? '769' : '1170';
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
?>
|
||||
|
||||
|
||||
<div class="single-avatar singlee">
|
||||
<?php if ( class_exists( 'Thinkai_Resizer' ) ) : ?>
|
||||
|
||||
<?php echo wp_kses( $img_obj->resize( wp_get_attachment_url( get_post_thumbnail_id( get_the_ID() ), 'full' ), $width, 460, true ), $allowed_html ); ?>
|
||||
<?php else : ?>
|
||||
<?php the_post_thumbnail( 'full' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( $options->get( 'small_image' ) && has_post_thumbnail() ) : ?>
|
||||
|
||||
<span><?php echo get_avatar( get_the_author_meta( 'ID' ), 41 ); ?></span>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
54
wp-content/themes/thinkai/templates/blog-single/meta.php
Normal file
54
wp-content/themes/thinkai/templates/blog-single/meta.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
* Single Post meta File.
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Theme Kalia
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<?php if ( $options->get( 'single_date' ) ) : ?>
|
||||
|
||||
<span class="post-date"><a href="<?php echo get_day_link( get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' ) ); ?>"><i class="fa fa-clock-o"></i> <?php echo get_the_date( 'F j,' ) . ' ' . get_the_date( ' Y' ); ?></a></span>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<ul class="likes">
|
||||
|
||||
<?php if ( $options->get( 'single_likes' ) ) : ?>
|
||||
|
||||
<li>
|
||||
|
||||
<?php thinkai_template_load( 'templates/like.php', compact( 'data' ) ); ?>
|
||||
|
||||
</li>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( $options->get( 'single_comments' ) ) : ?>
|
||||
|
||||
<li><a href="#comments"><i class="fa fa-comments-o"></i><?php comments_number( '0', '1', '%' ); ?></a></li>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</ul>
|
||||
|
||||
<?php if ( $options->get( 'show_single_sharing' ) && $social ) : ?>
|
||||
|
||||
<ul class="social-media">
|
||||
|
||||
<?php foreach ( $social as $k => $v ) {
|
||||
|
||||
if ( $v == '' ) {
|
||||
continue;
|
||||
} ?>
|
||||
|
||||
<?php do_action('thinkai_social_share_output', $k ); ?>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</ul>
|
||||
|
||||
<?php endif; ?>
|
||||
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
/**
|
||||
* Single Post Content Template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage THINKAI
|
||||
* @author Theme Kalia
|
||||
* @version 1.0
|
||||
*/
|
||||
?>
|
||||
<?php global $wp_query;
|
||||
|
||||
$page_id = ( $wp_query->is_posts_page ) ? $wp_query->queried_object->ID : get_the_ID();
|
||||
|
||||
$gallery = get_post_meta( $page_id, 'thinkai_gallery_images', true );
|
||||
|
||||
$video = get_post_meta( $page_id, 'thinkai_video_url', true );
|
||||
|
||||
|
||||
$audio_type = get_post_meta( $page_id, 'thinkai_audio_type', true );
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="blog-detail-page">
|
||||
<?php if ( has_post_thumbnail() ) : ?>
|
||||
<figure>
|
||||
<?php thinkai_template_load( 'templates/blog-single/image.php', compact( 'options', 'data' ) ); ?>
|
||||
</figure>
|
||||
<?php endif; ?>
|
||||
<div class="blog-detail-meta">
|
||||
<div class="comments-area">
|
||||
<?php if ( $options->get( 'single_post_date', true ) ) : ?>
|
||||
<span>
|
||||
<a href="<?php echo get_day_link( get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' ) ); ?>">
|
||||
<i class="fas fa-calendar"></i>
|
||||
<?php echo get_the_date( 'F j,' ) . ' ' . get_the_date( ' Y' ); ?>
|
||||
</a>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<?php if ( $options->get( 'single_post_comments', true ) ) : ?>
|
||||
<span>
|
||||
<i class="fas fa-comment"></i>
|
||||
<a href="<?php echo esc_url( get_permalink( get_the_ID() ) ); ?>#comments">
|
||||
<?php comments_number() ?>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ( $options->get( 'single_post_author', true ) ) : ?>
|
||||
|
||||
<span><i class="fas fa-user"></i><a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>"><?php esc_html_e( 'By ', 'thinkai' );
|
||||
the_author_meta( 'display_name' ); ?></a></span>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ( $options->get( 'single_post_cat', true ) ) : ?>
|
||||
<span>
|
||||
<i class="fa fa-tag"></i>
|
||||
<?php the_category(); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<h2><?php the_title(); ?></h2>
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
<?php if ( $options->get( 'single_post_tag' ) || $options->get( 'single_social_share' ) && $options->get( 'single_post_share' ) ) : ?>
|
||||
<div class="detail-btm-meta">
|
||||
|
||||
<?php if ( $options->get( 'single_post_tag' ) ) : ?>
|
||||
<?php $title = '<span>' . esc_html__( 'Tags:', 'thinkai' ) . '</span>'; ?>
|
||||
<?php the_tags( '<div class="tags">' . $title . ' ', ' ', '</div>' ); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ( $options->get( 'single_social_share' ) && $options->get( 'single_post_share' ) ) : ?>
|
||||
<ul class="social-circle">
|
||||
<?php foreach ( $options->get( 'single_social_share' ) as $k => $v ) {
|
||||
if ( $v == '' ) {
|
||||
continue;
|
||||
} ?>
|
||||
<?php do_action('thinkai_social_share_output', $k ); ?>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ( $options->get( 'single_post_author_box' ) ) : ?>
|
||||
|
||||
<?php thinkai_template_load( 'templates/blog-single/author_box.php', compact( 'options', 'data' ) ); ?>
|
||||
<?php endif; ?>
|
||||
<?php comments_template(); ?>
|
||||
<?php wp_link_pages( array( 'before' => '<div class="paginate-links">', 'after' => '</div>' ) ); ?>
|
||||
</div>
|
||||
48
wp-content/themes/thinkai/templates/blog-single/tags.php
Normal file
48
wp-content/themes/thinkai/templates/blog-single/tags.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/**
|
||||
* Single Post tags File.
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Theme Kalia
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
<?php $tags = wp_get_post_tags( get_the_ID() );
|
||||
$get_tags = get_the_tag_list( get_the_ID() );
|
||||
?>
|
||||
<?php if ( has_category() || $get_tags ) : ?>
|
||||
<div class="tags-area">
|
||||
<?php if ( $get_tags ) : ?>
|
||||
|
||||
|
||||
<span><i class="fa fa-tags"></i><?php esc_html_e( 'tags:', 'thinkai' ); ?></span>
|
||||
|
||||
<ul>
|
||||
|
||||
<?php foreach ( $tags as $tag ) : ?>
|
||||
|
||||
<li>
|
||||
<a href="<?php echo esc_url( get_tag_link( thinkai_set( $tag, 'term_id' ) ) ); ?>"><?php echo esc_html( thinkai_set( $tag, 'name' ) ); ?></a>
|
||||
</li>
|
||||
|
||||
<?php endforeach; ?>
|
||||
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<?php if ( has_category() ) : ?>
|
||||
<div class="cat-area">
|
||||
|
||||
<span><i class="fa fa-list-alt"></i><?php esc_html_e( 'categories:', 'thinkai' ); ?></span>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><?php wp_kses( the_category( ' , ' ), true ); ?></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
73
wp-content/themes/thinkai/templates/blog/blog.php
Normal file
73
wp-content/themes/thinkai/templates/blog/blog.php
Normal file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Blog Content Template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage THINKAI
|
||||
* @author Theme Xriver
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_tags = wp_kses_allowed_html('post');
|
||||
global $post;
|
||||
|
||||
?>
|
||||
|
||||
<div <?php post_class(); ?>>
|
||||
|
||||
<!--Start Blog Style1 Single Style3 -->
|
||||
<div class="blog-style1__single blog-style1__single--style3">
|
||||
<?php if(has_post_thumbnail()){ ?>
|
||||
<div class="blog-style1__single-img">
|
||||
<?php the_post_thumbnail('full'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="blog-style1__single-content">
|
||||
<div class="blog-style1__single-content-top">
|
||||
<div class="text-box">
|
||||
<?php if( $options->get( 'blog_post_author' ) != true ){ ?>
|
||||
<h4><?php the_author(); ?></h4>
|
||||
<?php } ?>
|
||||
|
||||
<?php if( $options->get( 'blog_post_date' ) || $options->get( 'blog_post_comments' ) != true ){ ?>
|
||||
<ul>
|
||||
<?php if( $options->get( 'blog_post_date' ) != true ){ ?>
|
||||
<li>
|
||||
<p><?php echo get_the_date(); ?></p>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if( $options->get( 'blog_post_comments' ) != true ){ ?>
|
||||
<li class="has_dots">
|
||||
<span>...</span>
|
||||
<p><?php comments_number( wp_kses(__('0 Comments' , 'thinkai'), true), wp_kses(__('01 Comment' , 'thinkai'), true), wp_kses(__('0% Comments' , 'thinkai'), true)); ?></p>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="btn-box">
|
||||
<a href="<?php echo esc_url( get_the_permalink( get_the_id() ) );?>"><span class="icon-right-arrow1"></span></a>
|
||||
</div>
|
||||
</div>
|
||||
<h2>
|
||||
<a href="<?php echo esc_url( get_the_permalink( get_the_id() ) );?>">
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</h2>
|
||||
<div class="text">
|
||||
<?php the_excerpt(); ?>
|
||||
</div>
|
||||
<?php if(has_category() || $options->get( 'blog_post_category' ) != true ){ ?>
|
||||
<div class="category-box">
|
||||
<?php the_category(' '); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Blog Style1 Single Style3 -->
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php $allowed_html = wp_kses_allowed_html( 'post' ); ?>
|
||||
|
||||
<div class="blog-detail-page project-deta">
|
||||
<figure>
|
||||
<?php if ( class_exists( 'WPthinkai_Resizer' ) ) : ?>
|
||||
<?php echo wp_kses( $img_obj->WPthinkai_resize( wp_get_attachment_url( get_post_thumbnail_id( get_the_ID() ), 'full' ), 1100, 600, true ), $allowed_html ); ?>
|
||||
<?php else : ?>
|
||||
<?php the_post_thumbnail( 'full' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</figure>
|
||||
<div class="blog-detail-meta">
|
||||
|
||||
<h2><?php the_title(); ?></h2>
|
||||
<?php if ( $options->get( 'projects_single_categories' ) ) : ?>
|
||||
<div class="pro-cat">
|
||||
<span class="pro-title"><?php esc_html_e('Posted In:', 'thinkai' ); ?></span>
|
||||
<span>
|
||||
<?php $lists = get_the_terms( get_the_ID(), 'project_cat' ); ?>
|
||||
<?php foreach( $lists as $list ) {
|
||||
echo wp_kses(thinkai_set( $list,'name' ), true).', ';
|
||||
}
|
||||
?>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
$entries = get_post_meta( get_the_ID(), 'project_timng', true );
|
||||
if ( $entries && $options->get( 'projectsingle_timing' ) ) { ?>
|
||||
|
||||
<div class="opening-hours">
|
||||
<?php echo ( esc_attr($options->get( 'projectsingle_timing_title' )) ) ? '<span>' .esc_attr($options->get( 'projectsingle_timing_title' )).'</span>' : ''; ?>
|
||||
<ul>
|
||||
<?php foreach ( (array) $entries as $key => $entry ) { ?>
|
||||
<li>
|
||||
|
||||
<?php echo ( thinkai_set( $entry, 'opening_day') ) ? '<span>'.thinkai_set( $entry, 'opening_day') .':</span>' : ''; ?>
|
||||
|
||||
<?php echo ( thinkai_set( $entry, 'opening_time') ) ? '<p>'.thinkai_set( $entry, 'opening_time') .'</p>' : ''; ?>
|
||||
</li>
|
||||
|
||||
<?php } ?>
|
||||
<?php if ( $closed = get_post_meta( get_the_ID(), 'project_closed_day', true ) ) : ?>
|
||||
<li>
|
||||
<span><?php echo wp_kses( $closed, $allowed_html ); ?> :</span>
|
||||
<i><?php esc_html_e( 'closed', 'thinkai' ); ?></i>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php if ( $options->get( 'projectsingle_post_share' ) && $options->get( 'projectsingle_social_share' ) ) : ?>
|
||||
<div class="sharing">
|
||||
<span><?php esc_html_e( 'Social Sharing:', 'thinkai' ); ?></span>
|
||||
<ul class="share-social">
|
||||
<?php if ( ! empty( $options->get( 'projectsingle_social_share' ) ) ) : ?>
|
||||
|
||||
<?php
|
||||
foreach ( $options->get( 'projectsingle_social_share' ) as $k => $v) {
|
||||
if ($v == '')
|
||||
continue;
|
||||
?>
|
||||
<?php do_action('thinkai_social_share_output', $k); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
105
wp-content/themes/thinkai/templates/footer/default-footer.php
Normal file
105
wp-content/themes/thinkai/templates/footer/default-footer.php
Normal file
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
/**
|
||||
* Footer Template File
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Template Path
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
|
||||
$footer_shape_img_v1 = $options->get( 'footer_shape_img_v1' );
|
||||
$footer_shape_img_v1 = thinkai_set( $footer_shape_img_v1, 'url', THINKAI_URI . '/assets/images/shapes/our-company-info__bg.png' );
|
||||
|
||||
$footer_newsletter_icon = $options->get( 'footer_newsletter_icon_image' );
|
||||
$footer_newsletter_icon = thinkai_set( $footer_newsletter_icon, 'url', THINKAI_URI . '/assets/images/footer/footer-v1-icon1.png' );
|
||||
|
||||
?>
|
||||
|
||||
<!--Start footer Style1 -->
|
||||
<footer class="footer-style1 <?php if(! $options->get('show_top_footer_v1')) echo 'pt-0'; ?>">
|
||||
<?php if($options->get('show_top_footer_v1')){ ?>
|
||||
<!--Start Footer Top-->
|
||||
<div class="footer-top">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xl-6 col-lg-6">
|
||||
<div class="our-company-info">
|
||||
<?php if($footer_shape_img_v1){ ?><div class="our-company-info__bg" style="background-image: url(<?php echo esc_url($footer_shape_img_v1); ?>);"></div><?php } ?>
|
||||
<div class="our-company-info__inner text-center">
|
||||
<div class="footer-logo-style1">
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<span class="icon-thm-logo1"></span>
|
||||
</a>
|
||||
<h2>
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php echo wp_kses($options->get('footer_logo_title_v1'), true); ?></a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="text">
|
||||
<p>
|
||||
<?php echo wp_kses($options->get('footer_user_text_v1'), true); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="btn-box">
|
||||
<a href="<?php echo esc_url($options->get('footer_external_link_v1')); ?>"><span class="icon-right-arrow1"></span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xl-6 col-lg-6">
|
||||
<div class="footer-widget-newsletter-box">
|
||||
<div class="icon-box float-bob-x">
|
||||
<img class="zoom-fade" src="<?php echo esc_url($footer_newsletter_icon); ?>" alt="<?php bloginfo( 'name' ); ?>">
|
||||
</div>
|
||||
<h3><?php echo wp_kses($options->get('footer_newsletter_title_v1'), true); ?></h3>
|
||||
<p><?php echo wp_kses($options->get('footer_newsletter_text_v1'), true); ?></p>
|
||||
<?php echo do_shortcode($options->get('footer_newsletter_form_url_v1')); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer Top-->
|
||||
<?php } ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'footer-sidebar' ) ) { ?>
|
||||
<!--Start Footer Main-->
|
||||
<div class="footer-main">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<?php dynamic_sidebar( 'footer-sidebar' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer Main-->
|
||||
<?php } ?>
|
||||
|
||||
<!--Start Footer Bottom-->
|
||||
<?php if( $options->get('footer_copyright_text_v1') || $options->get('show_footer_privacy_menu_v1') ){ ?>
|
||||
<div class="footer-bottom">
|
||||
<div class="container">
|
||||
<div class="bottom-inner">
|
||||
<?php if($options->get('footer_copyright_text_v1')){ ?>
|
||||
<div class="copyright-text">
|
||||
<p><?php echo wp_kses($options->get('footer_copyright_text_v1'), true); ?></p>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_footer_privacy_menu_v1')){ ?>
|
||||
<div class="footer-menu">
|
||||
<ul>
|
||||
<?php echo wp_kses($options->get('footer_privacy_menu_v1'), true); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!--End Footer Bottom-->
|
||||
</footer>
|
||||
<!--End footer Style1-->
|
||||
32
wp-content/themes/thinkai/templates/footer/footer.php
Normal file
32
wp-content/themes/thinkai/templates/footer/footer.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* Footer Template File
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Webiane
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
$options = thinkai_WSH()->option();
|
||||
$back = $options->get( 'footer_background' );
|
||||
$back = thinkai_set( $back, 'url', THINKAI_URI . 'assets/images/parallax.png' );
|
||||
$s_type = '';
|
||||
$e_tpl = '';
|
||||
|
||||
if( is_singular() ) {
|
||||
$s_type = get_post_meta( $page_id, 'footer_source_type', true );
|
||||
$e_tpl = get_post_meta( $page_id, 'footer_elementor_template', true );
|
||||
}
|
||||
if( $s_type !== 'e' ) {
|
||||
$s_type = $options->get('footer_source_type');
|
||||
$e_tpl = $options->get('footer_elementor_template');
|
||||
}
|
||||
|
||||
if ( class_exists( '\Elementor\Plugin' ) AND $s_type == 'e' AND $e_tpl ) {
|
||||
echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $e_tpl );
|
||||
} else {
|
||||
|
||||
do_action( 'thinkai_main_footer' );
|
||||
}
|
||||
|
||||
|
||||
51
wp-content/themes/thinkai/templates/footer/footer_v2.php
Normal file
51
wp-content/themes/thinkai/templates/footer/footer_v2.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/**
|
||||
* Footer Template File
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Template Path
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
?>
|
||||
|
||||
<!--Start footer Style2 -->
|
||||
<footer class="footer-style2">
|
||||
<?php if ( is_active_sidebar( 'footer-sidebar2' ) ) { ?>
|
||||
<!--Start Footer Main-->
|
||||
<div class="footer-main-style2">
|
||||
<div class="container">
|
||||
<div class="footer-main-widget-style2">
|
||||
<?php dynamic_sidebar( 'footer-sidebar2' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer Main-->
|
||||
<?php } ?>
|
||||
|
||||
<!--Start Footer Bottom-->
|
||||
<div class="footer-bottom-style2">
|
||||
<div class="container">
|
||||
<div class="bottom-inner">
|
||||
<?php if($options->get('footer_copyright_text_v2')){ ?>
|
||||
<div class="copyright-text">
|
||||
<p><?php echo wp_kses($options->get('footer_copyright_text_v2'), true); ?></p>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_footer_privacy_menu_v2')){ ?>
|
||||
<div class="footer-menu">
|
||||
<ul>
|
||||
<?php echo wp_kses($options->get('footer_privacy_menu_v2'), true); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer Bottom-->
|
||||
</footer>
|
||||
<!--End footer Style1-->
|
||||
|
||||
65
wp-content/themes/thinkai/templates/footer/footer_v3.php
Normal file
65
wp-content/themes/thinkai/templates/footer/footer_v3.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/**
|
||||
* Footer Template File
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Template Path
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
?>
|
||||
|
||||
<!--Start footer Style3 -->
|
||||
<footer class="footer-style3">
|
||||
<?php if ( is_active_sidebar( 'footer-sidebar3' ) ) { ?>
|
||||
<!--Start Footer Main-->
|
||||
<div class="footer-main-style3">
|
||||
<div class="container">
|
||||
<div class="footer-main-widget-style3">
|
||||
<?php dynamic_sidebar( 'footer-sidebar3' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer Main-->
|
||||
<?php } ?>
|
||||
|
||||
<!--Start Footer Bottom-->
|
||||
<div class="footer-bottom-style3">
|
||||
<div class="container">
|
||||
<div class="bottom-inner">
|
||||
<div class="copyright-text-style3">
|
||||
<?php if($options->get('show_footer_privacy_menu_v3')){ ?>
|
||||
<ul>
|
||||
<?php echo wp_kses($options->get('footer_privacy_menu_v3'), true); ?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('footer_copyright_text_v3')){ ?>
|
||||
<p><?php echo wp_kses($options->get('footer_copyright_text_v3'), true); ?></p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php if( $options->get( 'show_footer_social_icon_v3' )){ ?>
|
||||
<div class="footer-social-link-style3">
|
||||
<ul class="clearfix">
|
||||
<?php echo (thinkai_get_social_icon()); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if( $options->get( 'show_footer_email_info_v3' )){ ?>
|
||||
<div class="footer-bottom-style3__right">
|
||||
<p><?php echo wp_kses($options->get('footer_email_title_v3'), true); ?></p>
|
||||
<p><a href="mailto:<?php echo esc_attr($options->get('footer_email_address_v3')); ?>"><?php echo wp_kses($options->get('footer_email_address_v3'), true); ?></a></p>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer Bottom-->
|
||||
|
||||
</footer>
|
||||
<!--End footer Style3-->
|
||||
|
||||
143
wp-content/themes/thinkai/templates/footer/footer_v4.php
Normal file
143
wp-content/themes/thinkai/templates/footer/footer_v4.php
Normal file
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
/**
|
||||
* Footer Template File
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Template Path
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
|
||||
$bg_img_v4 = $options->get( 'bg_img_v4' );
|
||||
$bg_img_v4 = thinkai_set( $bg_img_v4, 'url', THINKAI_URI . '/assets/images/shapes/footer-style4__shape1.png' );
|
||||
|
||||
$logo_img_v4 = $options->get( 'logo_img_v4' );
|
||||
$logo_img_v4 = thinkai_set( $logo_img_v4, 'url', THINKAI_URI . '/assets/images/footer/footer-logo-2.png' );
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<!--Start footer Style4 -->
|
||||
<footer class="footer-style4">
|
||||
|
||||
<?php if($bg_img_v4){ ?>
|
||||
<div class="footer-style4__bg" style="background-image: url('<?php echo esc_url($bg_img_v4); ?>');"></div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_top_footer_v4')){ ?>
|
||||
<!--Start Footer Main-->
|
||||
<div class="footer-style4_main">
|
||||
<div class="container">
|
||||
<div class="footer-style4_main__inner">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xl-8">
|
||||
<div class="footer-style4_main-content">
|
||||
<div class="footer-style4_main-content__inner">
|
||||
<?php if($logo_img_v4){ ?>
|
||||
<div class="footer-logo-style3">
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<img src="<?php echo esc_url($logo_img_v4); ?>" alt="<?php bloginfo( 'name' ); ?>">
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<h2><?php echo wp_kses($options->get('footer_title_v4'), true); ?></h2>
|
||||
<div class="contact-info">
|
||||
<p><?php echo wp_kses($options->get('footer_contact_info_title_v4'), true); ?></p>
|
||||
<h3>
|
||||
<a class="email" href="mailto:<?php echo esc_attr($options->get('footer_email_address_v4')); ?>"><?php echo wp_kses($options->get('footer_email_address_v4'), true); ?></a>
|
||||
<span><?php esc_html_e('[or]', 'thinkai'); ?></span>
|
||||
<a class="faq-btn" href="<?php echo esc_url($options->get('footer_button_link_v4')); ?>">
|
||||
<span class="icon-right-arrow1"></span> <?php echo wp_kses($options->get('footer_button_title_v4'), true); ?>
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<?php if($options->get('footer_external_link_v4')){ ?>
|
||||
<div class="footer-style4_main-content__outer">
|
||||
<a href="<?php echo esc_url($options->get('footer_external_link_v4')); ?>"><span class="icon-right-arrow1"></span></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
$icons_v2 = $options->get('social_media_tabs_v2');
|
||||
if ($icons_v2) :
|
||||
?>
|
||||
<div class="col-xl-4">
|
||||
<div class="footer-social-link-style4">
|
||||
<ul>
|
||||
<?php
|
||||
for ( $i=0; $i < count( $icons_v2['select_social_media_v2'] ); $i++ ) {
|
||||
$social_icon_v2 = ( isset( $icons_v2['select_social_media_v2'][$i] ) && !empty( $icons_v2['select_social_media_v2'][$i] ) ) ? $icons_v2['select_social_media_v2'][$i] : '';
|
||||
$social_link_v2 = ( isset( $icons_v2['link_social_media_v2'][$i] ) && !empty( $icons_v2['link_social_media_v2'][$i] ) ) ? $icons_v2['link_social_media_v2'][$i] : '';
|
||||
$social_title_v2 = ( isset( $icons_v2['title_social_media_v2'][$i] ) && !empty( $icons_v2['title_social_media_v2'][$i] ) ) ? $icons_v2['title_social_media_v2'][$i] : '';
|
||||
?>
|
||||
<li>
|
||||
<div class="icon-box">
|
||||
<a class="icon-box1" href="<?php echo esc_url($social_link_v2); ?>">
|
||||
<span class="fab <?php echo esc_attr(str_replace("fab ", " ", $social_icon_v2)); ?>"></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="title-box">
|
||||
<h5><?php echo wp_kses($social_title_v2, true); ?></h5>
|
||||
<p>
|
||||
<a href="<?php echo esc_url($social_link_v2); ?>">
|
||||
<?php echo esc_url($social_link_v2); ?>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer Main-->
|
||||
<?php } ?>
|
||||
|
||||
<!--Start Footer Bottom-->
|
||||
<div class="footer-style4__bottom">
|
||||
<div class="container">
|
||||
<div class="bottom-inner text-center">
|
||||
<div class="footer-menu-style4">
|
||||
<ul>
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'footer_menu', 'container_id' => 'navbar-collapse-1',
|
||||
'container_class'=>'navbar-collapse collapse navbar-right',
|
||||
'menu_class'=>'nav navbar-nav',
|
||||
'fallback_cb'=>false,
|
||||
'items_wrap' => '%3$s',
|
||||
'container'=>false,
|
||||
'depth'=>'1',
|
||||
'walker'=> new Bootstrap_walker()
|
||||
)); ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="copyright-text-style3 copyright-text-style--2">
|
||||
<?php if($options->get('show_footer_privacy_menu_v4')){ ?>
|
||||
<ul>
|
||||
<?php echo wp_kses($options->get('footer_privacy_menu_v4'), true); ?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('footer_copyright_text_v4')){ ?>
|
||||
<p><?php echo wp_kses($options->get('footer_copyright_text_v4'), true); ?></p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer Bottom-->
|
||||
|
||||
</footer>
|
||||
<!--End footer Style1-->
|
||||
|
||||
59
wp-content/themes/thinkai/templates/footer/footer_v5.php
Normal file
59
wp-content/themes/thinkai/templates/footer/footer_v5.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/**
|
||||
* Footer Template File
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Template Path
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
?>
|
||||
|
||||
<!--Start footer Style5 -->
|
||||
<footer class="footer-style5">
|
||||
<?php if($options->get('show_top_footer_v5')){ ?>
|
||||
<!--Start Footer style5__top -->
|
||||
<div class="footer-style5__top">
|
||||
<div class="big-title">
|
||||
<h2><?php echo wp_kses($options->get('footer_bg_title_v5'), true); ?></h2>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="footer-style5__top-inner text-center">
|
||||
<h2><?php echo wp_kses($options->get('footer_text_v5'), true); ?></h2>
|
||||
<div class="btn-box">
|
||||
<?php if($options->get('footer_email_address_v5')){ ?>
|
||||
<a class="btn-one one" href="mailto:<?php echo esc_attr($options->get('footer_email_address_v5')); ?>">
|
||||
<span class="txt"><?php echo wp_kses($options->get('footer_email_title_v5'), true); ?></span>
|
||||
</a>
|
||||
<?php } ?>
|
||||
<?php if($options->get('footer_support_link_v5')){ ?>
|
||||
<a class="btn-one" href="<?php echo esc_url($options->get('footer_support_link_v5')); ?>">
|
||||
<span class="txt"><?php echo wp_kses($options->get('footer_support_title_v5'), true); ?></span>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer style5__top -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'footer-sidebar4' ) ) { ?>
|
||||
<!--Start Footer Main-->
|
||||
<div class="footer-style5__main">
|
||||
<div class="container">
|
||||
<div class="footer-style5__main-inner">
|
||||
<div class="footer-main-widget-style5">
|
||||
<?php dynamic_sidebar( 'footer-sidebar4' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Footer Main-->
|
||||
<?php } ?>
|
||||
|
||||
</footer>
|
||||
<!--End footer Style5-->
|
||||
|
||||
152
wp-content/themes/thinkai/templates/header/default-header.php
Normal file
152
wp-content/themes/thinkai/templates/header/default-header.php
Normal file
@@ -0,0 +1,152 @@
|
||||
<?php
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
|
||||
//Header V1 Logo Settings
|
||||
$header_v1_logo = $options->get( 'header_v1_logo' );
|
||||
$header_v1_logo_dimension = $options->get( 'header_v1_logo_dimension' );
|
||||
|
||||
$logo_type = '';
|
||||
$logo_text = '';
|
||||
$logo_typography = ''; ?>
|
||||
|
||||
<div class="body-bg-1">
|
||||
|
||||
<?php if( $options->get( 'theme_preloader' ) ){ ?>
|
||||
<!-- Preloader -->
|
||||
<div class="loader-wrap">
|
||||
<div class="preloader">
|
||||
<div id="handle-preloader" class="handle-preloader">
|
||||
<div class="layer layer-one">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-three">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-two">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="animation-preloader">
|
||||
<div class="spinner"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Preloader End -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if( $options->get( 'mouse_cursor' ) ){ ?>
|
||||
<!-- Cursor -->
|
||||
<div class="cursor"></div>
|
||||
<div class="cursor-follower"></div>
|
||||
<!-- Cursor End -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_template_part('templates/header/sidebar_settings'); ?>
|
||||
|
||||
<?php get_template_part('templates/header/mobile_settings'); ?>
|
||||
|
||||
<?php if($options->get('show_seach_form_v1')){ ?>
|
||||
<!--Start Search Popup -->
|
||||
<div class="search-popup">
|
||||
<div class="search-popup__overlay search-toggler">
|
||||
<div class="search-popup__close-btn">
|
||||
<span class="icon-close-1"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-popup__content">
|
||||
<?php get_template_part('searchform1'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Search Popup -->
|
||||
<?php } ?>
|
||||
|
||||
<div class="page-wrapper boxed_wrapper">
|
||||
<header class="main-header main-header-style1">
|
||||
<?php if($options->get('show_header_topbar_v1')){ ?>
|
||||
<!--Start Main Header Style1 Top-->
|
||||
<div class="main-header-style1__top thm-gradient">
|
||||
<div class="container">
|
||||
<div class="main-header-style1__top-inner">
|
||||
<?php if($options->get('welcome_text_v1')){ ?>
|
||||
<div class="icon zoominout">
|
||||
<span class="icon-shines"></span>
|
||||
</div>
|
||||
<p><?php echo wp_kses($options->get('welcome_text_v1'), true); ?></p>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_btn_v1')){ ?>
|
||||
<div class="btn-box">
|
||||
<a href="<?php echo esc_url($options->get('btn_link_v1'), true); ?>"><span class="icon-right-arrow1"></span> <?php echo wp_kses($options->get('btn_title_v1'), true); ?></a>
|
||||
</div>
|
||||
<div class="icon right zoominout-2">
|
||||
<span class="icon-shines"></span>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Main Header Style1 Top-->
|
||||
<?php } ?>
|
||||
|
||||
<!--Start Main Menu Style1-->
|
||||
<nav class="main-menu main-menu-style1">
|
||||
<div class="main-menu__wrapper clearfix">
|
||||
<div class="container">
|
||||
<div class="main-menu__wrapper-inner">
|
||||
|
||||
<div class="main-menu-style1__left">
|
||||
<div class="logo-box-style1">
|
||||
<?php echo thinkai_logo( $logo_type, $header_v1_logo, $header_v1_logo_dimension, $logo_text, $logo_typography ); ?>
|
||||
</div>
|
||||
|
||||
<div class="main-menu-box">
|
||||
<a href="#" class="mobile-nav__toggler">
|
||||
<i class="fa fa-bars"></i>
|
||||
</a>
|
||||
<ul class="main-menu__list">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main_menu', 'container_id' => 'navbar-collapse-1',
|
||||
'container_class'=>'navbar-collapse collapse navbar-right',
|
||||
'menu_class'=>'nav navbar-nav',
|
||||
'fallback_cb'=>false,
|
||||
'items_wrap' => '%3$s',
|
||||
'container'=>false,
|
||||
'depth'=>'3',
|
||||
'walker'=> new Bootstrap_walker()
|
||||
)); ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if($options->get('show_account_btn_v1') || $options->get('show_seach_form_v1')){ ?>
|
||||
<div class="main-menu-style1__right">
|
||||
<?php if($options->get('show_account_btn_v1')){ ?>
|
||||
<div class="header-btn-style1">
|
||||
<a class="btn-one" href="<?php echo esc_url($options->get('account_btn_link_v1')); ?>">
|
||||
<span class="txt"><i class="icon-invite"></i><?php echo wp_kses($options->get('account_btn_title_v1'), true); ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_seach_form_v1')){ ?>
|
||||
<div class="box-search-style1">
|
||||
<a href="#" class="search-toggler">
|
||||
<span class="icon-loupe"></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!--End Main Menu Style1-->
|
||||
</header>
|
||||
|
||||
<div class="stricky-header stricky-header--style1 stricked-menu main-menu">
|
||||
<div class="sticky-header__content"></div>
|
||||
<!-- /.sticky-header__content -->
|
||||
</div>
|
||||
<!-- /.stricky-header -->
|
||||
126
wp-content/themes/thinkai/templates/header/header_v2.php
Normal file
126
wp-content/themes/thinkai/templates/header/header_v2.php
Normal file
@@ -0,0 +1,126 @@
|
||||
<?php
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
|
||||
//Header V2 Logo Settings
|
||||
$header_v2_logo = $options->get( 'header_v2_logo' );
|
||||
$header_v2_logo_dimension = $options->get( 'header_v2_logo_dimension' );
|
||||
|
||||
$logo_type = '';
|
||||
$logo_text = '';
|
||||
$logo_typography = ''; ?>
|
||||
|
||||
<div class="body-bg-2">
|
||||
|
||||
<?php if( $options->get( 'theme_preloader' ) ){ ?>
|
||||
<!-- Preloader -->
|
||||
<div class="loader-wrap">
|
||||
<div class="preloader">
|
||||
<div id="handle-preloader" class="handle-preloader">
|
||||
<div class="layer layer-one">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-three">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-two">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="animation-preloader">
|
||||
<div class="spinner"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Preloader End -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if( $options->get( 'mouse_cursor' ) ){ ?>
|
||||
<!-- Cursor -->
|
||||
<div class="cursor"></div>
|
||||
<div class="cursor-follower"></div>
|
||||
<!-- Cursor End -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_template_part('templates/header/sidebar_settings'); ?>
|
||||
|
||||
<?php get_template_part('templates/header/mobile_settings'); ?>
|
||||
|
||||
<?php if($options->get('show_seach_form_v2')){ ?>
|
||||
<!--Start Search Popup -->
|
||||
<div class="search-popup">
|
||||
<div class="search-popup__overlay search-toggler">
|
||||
<div class="search-popup__close-btn">
|
||||
<span class="icon-close-1"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-popup__content">
|
||||
<?php get_template_part('searchform1'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Search Popup -->
|
||||
<?php } ?>
|
||||
|
||||
<div class="page-wrapper boxed_wrapper">
|
||||
<header class="main-header main-header-style2">
|
||||
|
||||
<!--Start Main Menu Style1-->
|
||||
<nav class="main-menu main-menu-style2">
|
||||
<div class="main-menu__wrapper clearfix">
|
||||
<div class="container">
|
||||
<div class="main-menu__wrapper-inner">
|
||||
|
||||
<div class="main-menu-style2__left">
|
||||
<div class="logo-box-style1">
|
||||
<?php echo thinkai_logo( $logo_type, $header_v2_logo, $header_v2_logo_dimension, $logo_text, $logo_typography ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main-menu-style2__right">
|
||||
|
||||
<div class="main-menu-box">
|
||||
<a href="#" class="mobile-nav__toggler">
|
||||
<i class="fa fa-bars"></i>
|
||||
</a>
|
||||
<ul class="main-menu__list">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main_menu', 'container_id' => 'navbar-collapse-1',
|
||||
'container_class'=>'navbar-collapse collapse navbar-right',
|
||||
'menu_class'=>'nav navbar-nav',
|
||||
'fallback_cb'=>false,
|
||||
'items_wrap' => '%3$s',
|
||||
'container'=>false,
|
||||
'depth'=>'3',
|
||||
'walker'=> new Bootstrap_walker()
|
||||
)); ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php if($options->get('show_account_btn_v2')){ ?>
|
||||
<div class="header-btn-style1">
|
||||
<a class="btn-one" href="<?php echo esc_url($options->get('account_btn_link_v2')); ?>">
|
||||
<span class="txt"><i class="icon-invite"></i><?php echo wp_kses($options->get('account_btn_title_v2'), true); ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_seach_form_v2')){ ?>
|
||||
<div class="box-search-style1">
|
||||
<a href="#" class="search-toggler">
|
||||
<span class="icon-loupe"></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!--End Main Menu Style1-->
|
||||
</header>
|
||||
|
||||
<div class="stricky-header stricky-header--style2 stricked-menu main-menu">
|
||||
<div class="sticky-header__content"></div>
|
||||
<!-- /.sticky-header__content -->
|
||||
</div>
|
||||
<!-- /.stricky-header -->
|
||||
136
wp-content/themes/thinkai/templates/header/header_v3.php
Normal file
136
wp-content/themes/thinkai/templates/header/header_v3.php
Normal file
@@ -0,0 +1,136 @@
|
||||
<?php
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
|
||||
//Header V3 Logo Settings
|
||||
$header_v3_logo = $options->get( 'header_v3_logo' );
|
||||
$header_v3_logo_dimension = $options->get( 'header_v3_logo_dimension' );
|
||||
|
||||
$logo_type = '';
|
||||
$logo_text = '';
|
||||
$logo_typography = ''; ?>
|
||||
|
||||
|
||||
<div class="body-bg-3">
|
||||
|
||||
<?php if( $options->get( 'theme_preloader' ) ){ ?>
|
||||
<!-- Preloader -->
|
||||
<div class="loader-wrap">
|
||||
<div class="preloader">
|
||||
<div id="handle-preloader" class="handle-preloader">
|
||||
<div class="layer layer-one">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-three">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-two">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="animation-preloader">
|
||||
<div class="spinner"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Preloader End -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if( $options->get( 'mouse_cursor' ) ){ ?>
|
||||
<!-- Cursor -->
|
||||
<div class="cursor"></div>
|
||||
<div class="cursor-follower"></div>
|
||||
<!-- Cursor End -->
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php get_template_part('templates/header/sidebar_settings'); ?>
|
||||
|
||||
<?php get_template_part('templates/header/mobile_settings'); ?>
|
||||
|
||||
<?php if($options->get('show_seach_form_v3')){ ?>
|
||||
<!--Start Search Popup -->
|
||||
<div class="search-popup">
|
||||
<div class="search-popup__overlay search-toggler">
|
||||
<div class="search-popup__close-btn">
|
||||
<span class="icon-close-1"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-popup__content">
|
||||
<?php get_template_part('searchform1'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Search Popup -->
|
||||
<?php } ?>
|
||||
|
||||
<div class="page-wrapper boxed_wrapper">
|
||||
<header class="main-header main-header-style3">
|
||||
|
||||
<!--Start Main Menu Style1-->
|
||||
<nav class="main-menu main-menu-style3">
|
||||
<div class="main-menu__wrapper clearfix">
|
||||
<div class="container">
|
||||
<div class="main-menu__wrapper-inner">
|
||||
|
||||
<div class="main-menu-style3__left">
|
||||
<div class="logo-box-style3">
|
||||
<?php echo thinkai_logo( $logo_type, $header_v3_logo, $header_v3_logo_dimension, $logo_text, $logo_typography ); ?>
|
||||
</div>
|
||||
|
||||
<div class="main-menu-box">
|
||||
<a href="#" class="mobile-nav__toggler">
|
||||
<i class="fa fa-bars"></i>
|
||||
</a>
|
||||
<ul class="main-menu__list">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main_menu', 'container_id' => 'navbar-collapse-1',
|
||||
'container_class'=>'navbar-collapse collapse navbar-right',
|
||||
'menu_class'=>'nav navbar-nav',
|
||||
'fallback_cb'=>false,
|
||||
'items_wrap' => '%3$s',
|
||||
'container'=>false,
|
||||
'depth'=>'3',
|
||||
'walker'=> new Bootstrap_walker()
|
||||
)); ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="main-menu-style3__right">
|
||||
<?php if($options->get('show_seach_form_v3')){ ?>
|
||||
<div class="box-search-style1">
|
||||
<a href="#" class="search-toggler">
|
||||
<span class="icon-loupe"></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_sidebar_info_icon_v3')){ ?>
|
||||
<div class="side-content-button">
|
||||
<a class="navSidebar-button" href="#">
|
||||
<span class="icon-app"></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_account_btn_v3')){ ?>
|
||||
<div class="header-btn-style3">
|
||||
<a class="btn-one" href="<?php echo esc_url($options->get('account_btn_link_v3')); ?>">
|
||||
<span class="txt"><?php echo wp_kses($options->get('account_btn_title_v3'), true); ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!--End Main Menu Style1-->
|
||||
</header>
|
||||
|
||||
<div class="stricky-header stricky-header--style3 stricked-menu main-menu">
|
||||
<div class="sticky-header__content"></div>
|
||||
<!-- /.sticky-header__content -->
|
||||
</div>
|
||||
<!-- /.stricky-header -->
|
||||
128
wp-content/themes/thinkai/templates/header/header_v4.php
Normal file
128
wp-content/themes/thinkai/templates/header/header_v4.php
Normal file
@@ -0,0 +1,128 @@
|
||||
<?php
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
|
||||
//Header V4 Logo Settings
|
||||
$header_v4_logo = $options->get( 'header_v4_logo' );
|
||||
$header_v4_logo_dimension = $options->get( 'header_v4_logo_dimension' );
|
||||
|
||||
$logo_type = '';
|
||||
$logo_text = '';
|
||||
$logo_typography = ''; ?>
|
||||
|
||||
<div class="body-bg-4">
|
||||
|
||||
<?php if( $options->get( 'theme_preloader' ) ){ ?>
|
||||
<!-- Preloader -->
|
||||
<div class="loader-wrap">
|
||||
<div class="preloader">
|
||||
<div id="handle-preloader" class="handle-preloader">
|
||||
<div class="layer layer-one">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-three">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-two">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="animation-preloader">
|
||||
<div class="spinner"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Preloader End -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if( $options->get( 'mouse_cursor' ) ){ ?>
|
||||
<!-- Cursor -->
|
||||
<div class="cursor"></div>
|
||||
<div class="cursor-follower"></div>
|
||||
<!-- Cursor End -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_template_part('templates/header/sidebar_settings'); ?>
|
||||
|
||||
<?php get_template_part('templates/header/mobile_settings'); ?>
|
||||
|
||||
<?php if($options->get('show_seach_form_v4')){ ?>
|
||||
<!--Start Search Popup -->
|
||||
<div class="search-popup">
|
||||
<div class="search-popup__overlay search-toggler">
|
||||
<div class="search-popup__close-btn">
|
||||
<span class="icon-close-1"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-popup__content">
|
||||
<?php get_template_part('searchform1'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Search Popup -->
|
||||
<?php } ?>
|
||||
|
||||
<div class="page-wrapper boxed_wrapper">
|
||||
<header class="main-header main-header-style4">
|
||||
|
||||
<!--Start Main Menu Style4-->
|
||||
<nav class="main-menu main-menu-style4">
|
||||
<div class="main-menu__wrapper clearfix">
|
||||
<div class="container">
|
||||
<div class="main-menu__wrapper-inner">
|
||||
|
||||
<div class="main-menu-style4__left">
|
||||
<div class="logo-box-style4">
|
||||
<?php echo thinkai_logo( $logo_type, $header_v4_logo, $header_v4_logo_dimension, $logo_text, $logo_typography ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main-menu-style4__middle">
|
||||
<div class="main-menu-box">
|
||||
<a href="#" class="mobile-nav__toggler">
|
||||
<i class="fa fa-bars"></i>
|
||||
</a>
|
||||
<ul class="main-menu__list">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main_menu', 'container_id' => 'navbar-collapse-1',
|
||||
'container_class'=>'navbar-collapse collapse navbar-right',
|
||||
'menu_class'=>'nav navbar-nav',
|
||||
'fallback_cb'=>false,
|
||||
'items_wrap' => '%3$s',
|
||||
'container'=>false,
|
||||
'depth'=>'3',
|
||||
'walker'=> new Bootstrap_walker()
|
||||
)); ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main-menu-style4__right">
|
||||
<?php if($options->get('show_seach_form_v4')){ ?>
|
||||
<div class="box-search-style1 box-search-style1-style2">
|
||||
<a href="#" class="search-toggler">
|
||||
<span class="icon-loupe"></span>
|
||||
<p><?php esc_html_e('Search', 'thinkai'); ?></p>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_sidebar_info_icon_v4')){ ?>
|
||||
<div class="side-content-button side-content-button--style2">
|
||||
<a class="navSidebar-button" href="#">
|
||||
<span class="icon-menu"></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!--End Main Menu Style4-->
|
||||
|
||||
</header>
|
||||
|
||||
<div class="stricky-header stricky-header--style4 stricked-menu main-menu">
|
||||
<div class="sticky-header__content"></div>
|
||||
<!-- /.sticky-header__content -->
|
||||
</div>
|
||||
<!-- /.stricky-header -->
|
||||
130
wp-content/themes/thinkai/templates/header/header_v5.php
Normal file
130
wp-content/themes/thinkai/templates/header/header_v5.php
Normal file
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
|
||||
//Header V5 Logo Settings
|
||||
$header_v5_logo = $options->get( 'header_v5_logo' );
|
||||
$header_v5_logo_dimension = $options->get( 'header_v5_logo_dimension' );
|
||||
|
||||
$logo_type = '';
|
||||
$logo_text = '';
|
||||
$logo_typography = ''; ?>
|
||||
|
||||
<div class="body-bg-5">
|
||||
|
||||
<?php if( $options->get( 'theme_preloader' ) ){ ?>
|
||||
<!-- Preloader -->
|
||||
<div class="loader-wrap">
|
||||
<div class="preloader">
|
||||
<div id="handle-preloader" class="handle-preloader">
|
||||
<div class="layer layer-one">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-three">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="layer layer-two">
|
||||
<span class="overlay"></span>
|
||||
</div>
|
||||
<div class="animation-preloader">
|
||||
<div class="spinner"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Preloader End -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if( $options->get( 'mouse_cursor' ) ){ ?>
|
||||
<!-- Cursor -->
|
||||
<div class="cursor"></div>
|
||||
<div class="cursor-follower"></div>
|
||||
<!-- Cursor End -->
|
||||
<?php } ?>
|
||||
|
||||
<?php get_template_part('templates/header/sidebar_settings'); ?>
|
||||
|
||||
<?php get_template_part('templates/header/mobile_settings'); ?>
|
||||
|
||||
<?php if($options->get('show_seach_form_v5')){ ?>
|
||||
<!--Start Search Popup -->
|
||||
<div class="search-popup">
|
||||
<div class="search-popup__overlay search-toggler">
|
||||
<div class="search-popup__close-btn">
|
||||
<span class="icon-close-1"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-popup__content">
|
||||
<?php get_template_part('searchform1'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<!--End Search Popup -->
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<div class="page-wrapper boxed_wrapper">
|
||||
<header class="main-header main-header-style5">
|
||||
|
||||
<!--Start Main Menu Style5-->
|
||||
<nav class="main-menu main-menu-style5">
|
||||
<div class="main-menu__wrapper clearfix">
|
||||
<div class="container">
|
||||
<div class="main-menu__wrapper-inner">
|
||||
|
||||
<div class="main-menu-style5__left">
|
||||
<div class="logo-box-style4">
|
||||
<?php echo thinkai_logo( $logo_type, $header_v5_logo, $header_v5_logo_dimension, $logo_text, $logo_typography ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main-menu-style5__middle">
|
||||
<div class="main-menu-box">
|
||||
<a href="#" class="mobile-nav__toggler">
|
||||
<i class="fa fa-bars"></i>
|
||||
</a>
|
||||
<ul class="main-menu__list">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main_menu', 'container_id' => 'navbar-collapse-1',
|
||||
'container_class'=>'navbar-collapse collapse navbar-right',
|
||||
'menu_class'=>'nav navbar-nav',
|
||||
'fallback_cb'=>false,
|
||||
'items_wrap' => '%3$s',
|
||||
'container'=>false,
|
||||
'depth'=>'3',
|
||||
'walker'=> new Bootstrap_walker()
|
||||
)); ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main-menu-style5__right">
|
||||
<?php if($options->get('show_seach_form_v5')){ ?>
|
||||
<div class="box-search-style1 box-search-style1-style2">
|
||||
<a href="#" class="search-toggler">
|
||||
<span class="icon-loupe"></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('show_sign_in_btn_v5')){ ?>
|
||||
<div class="sign-in-box-style1">
|
||||
<a href="<?php echo esc_url($options->get('sign_in_btn_link_v5'), true); ?>">
|
||||
<?php echo wp_kses($options->get('sign_in_btn_title_v5'), true); ?>
|
||||
<span class="icon-invite"></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!--End Main Menu Style5-->
|
||||
|
||||
</header>
|
||||
|
||||
<div class="stricky-header stricky-header--style4 stricked-menu main-menu">
|
||||
<div class="sticky-header__content"></div>
|
||||
<!-- /.sticky-header__content -->
|
||||
</div>
|
||||
<!-- /.stricky-header -->
|
||||
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
|
||||
//Mian Logo Settings
|
||||
$mobile_logo = $options->get( 'mobile_logo' );
|
||||
$mobile_logo_dimension = $options->get( 'mobile_logo_dimension' );
|
||||
|
||||
$logo_type = '';
|
||||
$logo_text = '';
|
||||
$logo_typography = ''; ?>
|
||||
|
||||
<div class="mobile-nav__wrapper">
|
||||
<div class="mobile-nav__overlay mobile-nav__toggler"></div>
|
||||
<div class="mobile-nav__content">
|
||||
<span class="mobile-nav__close mobile-nav__toggler">
|
||||
<i class="fa fa-times-circle"></i>
|
||||
</span>
|
||||
<div class="logo-box">
|
||||
<?php if( $options->get( 'mobile_logo_show' ) ):?>
|
||||
<?php echo thinkai_logo( $logo_type, $mobile_logo, $mobile_logo_dimension, $logo_text, $logo_typography ); ?>
|
||||
<?php else:?>
|
||||
<a href="<?php echo esc_url( home_url( '/' ) );?>" aria-label="logo image"><img src="<?php echo esc_url( get_template_directory_uri() );?>/assets/images/resources/mobile-nav-logo.png" alt="<?php bloginfo( 'name' ); ?>"></a>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
|
||||
<?php if( $options->get( 'show_mobile_search_form_v1' )){ ?>
|
||||
<div class="mobile-nav-search-box">
|
||||
<?php get_template_part('searchform2'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="mobile-nav__container"></div>
|
||||
|
||||
<?php if( $options->get( 'show_mobile_info_v1' )){ ?>
|
||||
<ul class="mobile-nav__contact list-unstyled">
|
||||
<?php if($options->get('mobile_email_address_v1')){ ?>
|
||||
<li>
|
||||
<i class="fa fa-envelope"></i>
|
||||
<a href="mailto:<?php echo esc_attr($options->get('mobile_email_address_v1')); ?>"><?php echo wp_kses($options->get('mobile_email_address_v1'), true); ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if($options->get('mobile_phone_no_v1')){ ?>
|
||||
<li>
|
||||
<i class="fa fa-phone-alt"></i>
|
||||
<a href="tel:<?php echo esc_attr($options->get('mobile_phone_no_v1')); ?>"><?php echo wp_kses($options->get('mobile_phone_no_v1'), true); ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
|
||||
<?php if( $options->get( 'show_mob_social_icon' )){ ?>
|
||||
<ul class="mobile-nav__social">
|
||||
<?php echo (thinkai_get_social_icon()); ?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
105
wp-content/themes/thinkai/templates/header/sidebar_settings.php
Normal file
105
wp-content/themes/thinkai/templates/header/sidebar_settings.php
Normal file
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
$options = thinkai_WSH()->option();
|
||||
$allowed_html = wp_kses_allowed_html( 'post' );
|
||||
|
||||
//Sidebar Info Logo Settings
|
||||
$sidebar_logo = $options->get( 'sidebar_logo' );
|
||||
$sidebar_logo_dimension = $options->get( 'sidebar_logo_dimension' );
|
||||
|
||||
$logo_type = '';
|
||||
$logo_text = '';
|
||||
$logo_typography = ''; ?>
|
||||
|
||||
<!-- Start sidebar widget content -->
|
||||
<div class="xs-sidebar-group info-group info-sidebar">
|
||||
<div class="xs-overlay xs-bg-black"></div>
|
||||
<div class="xs-sidebar-widget">
|
||||
<div class="sidebar-widget-container">
|
||||
<div class="widget-heading">
|
||||
<a href="#" class="close-side-widget"><?php esc_html_e('X','thinkai'); ?></a>
|
||||
</div>
|
||||
<div class="sidebar-textwidget">
|
||||
<div class="sidebar-info-contents">
|
||||
<div class="content-inner">
|
||||
<div class="logo">
|
||||
<?php echo thinkai_logo( $logo_type, $sidebar_logo, $sidebar_logo_dimension, $logo_text, $logo_typography ); ?>
|
||||
</div>
|
||||
|
||||
<div class="content-box">
|
||||
<h3><?php echo wp_kses($options->get('sidebar_title_v1'), true); ?></h3>
|
||||
<div class="inner-text">
|
||||
<p>
|
||||
<?php echo wp_kses($options->get('sidebar_text_v1'), true); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if( $options->get( 'show_sidebar_info_v1' )){ ?>
|
||||
<div class="sidebar-contact-info">
|
||||
<h3><?php echo wp_kses($options->get('sidebar_info_title_v1'), true); ?></h3>
|
||||
<ul>
|
||||
<?php if($options->get('sidebar_address_v1')){ ?>
|
||||
<li>
|
||||
<div class="inner">
|
||||
<div class="text">
|
||||
<p><?php echo wp_kses($options->get('sidebar_address_v1'), true); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if($options->get('sidebar_email_address_v1')){ ?>
|
||||
<li>
|
||||
<div class="inner">
|
||||
<div class="text">
|
||||
<p><a href="mailto:<?php echo esc_attr($options->get('sidebar_email_address_v1')); ?>"><?php echo wp_kses($options->get('sidebar_email_address_v1'), true); ?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if($options->get('sidebar_phone_no_v1')){ ?>
|
||||
<li>
|
||||
<div class="inner">
|
||||
<div class="text">
|
||||
<p><a href="tel:<?php echo esc_attr($options->get('sidebar_phone_no_v1')); ?>"><?php echo wp_kses($options->get('sidebar_phone_no_v1'), true); ?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if($options->get('sidebar_working_hours_v1')){ ?>
|
||||
<li>
|
||||
<div class="inner">
|
||||
<div class="text">
|
||||
<p><?php echo wp_kses($options->get('sidebar_working_hours_v1'), true); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($options->get('sidebar_mailchimp_form_v1')){ ?>
|
||||
<div class="side-content-newsletter-box">
|
||||
<h3><?php echo wp_kses($options->get('mailchimp_form_title'), true); ?></h3>
|
||||
<?php echo do_shortcode($options->get('mailchimp_form_url')); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
if( $options->get( 'show_sidebar_social_icon' )){
|
||||
?>
|
||||
<div class="thm-social-link">
|
||||
<ul class="clearfix">
|
||||
<?php echo (thinkai_get_social_icon()); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End sidebar widget content -->
|
||||
|
||||
|
||||
189
wp-content/themes/thinkai/templates/loader.php
Normal file
189
wp-content/themes/thinkai/templates/loader.php
Normal file
@@ -0,0 +1,189 @@
|
||||
<?php $style = $options->get('theme_preloader_style') ?>
|
||||
<?php if($style == 1) : ?>
|
||||
<div class="loader-inner ball-pulse">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 2): ?>
|
||||
<div class="loader-inner ball-grid-pulse">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 3): ?>
|
||||
<div class="loader-inner ball-clip-rotate">
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 4): ?>
|
||||
<div class="loader-inner ball-clip-rotate-pulse">
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 5): ?>
|
||||
<div class="loader-inner square-spin">
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 6): ?>
|
||||
<div class="loader-inner ball-clip-rotate-multiple">
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 7): ?>
|
||||
<div class="loader-inner ball-pulse-rise">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 8): ?>
|
||||
<div class="loader-inner ball-rotate">
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 9): ?>
|
||||
<div class="loader-inner cube-transition">
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 10): ?>
|
||||
<div class="loader-inner ball-zig-zag">
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 11): ?>
|
||||
<div class="loader-inner ball-zig-zag-deflect">
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 12): ?>
|
||||
<div class="loader-inner ball-triangle-path">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 13): ?>
|
||||
<div class="loader-inner ball-scale">
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 14): ?>
|
||||
<div class="loader-inner line-scale">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 15): ?>
|
||||
<div class="loader-inner line-scale-party">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 16): ?>
|
||||
<div class="loader-inner ball-scale-multiple">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 17): ?>
|
||||
<div class="loader-inner ball-pulse-sync">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 18): ?>
|
||||
<div class="loader-inner ball-beat">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 19): ?>
|
||||
<div class="loader-inner line-scale-pulse-out">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 20): ?>
|
||||
<div class="loader-inner line-scale-pulse-out-rapid">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 21): ?>
|
||||
<div class="loader-inner ball-scale-ripple">
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 22): ?>
|
||||
<div class="loader-inner ball-scale-ripple-multiple">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 23): ?>
|
||||
<div class="loader-inner ball-spin-fade-loader">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 24): ?>
|
||||
<div class="loader-inner line-spin-fade-loader">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 25): ?>
|
||||
<div class="loader-inner triangle-skew-spin">
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 26): ?>
|
||||
<div class="loader-inner pacman">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 27): ?>
|
||||
<div class="loader-inner ball-grid-beat">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<?php elseif($style == 28): ?>
|
||||
<div class="loader-inner semi-circle-spin">
|
||||
<div></div>
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
<div class="loader-inner semi-circle-spin">
|
||||
<div></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
36
wp-content/themes/thinkai/templates/sidebar.php
Normal file
36
wp-content/themes/thinkai/templates/sidebar.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Sidebar Template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage THINKAI
|
||||
* @author TonaTheme
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
if ( class_exists( '\Elementor\Plugin' ) AND $data->get( 'sidebar_type' ) == 'e' AND $data->get( 'sidebar_elementor' ) ) {
|
||||
?>
|
||||
|
||||
<div class="col-xl-4 col-lg-4 col-md-12 sidebar-side">
|
||||
<div class="blog-sidebar default-sidebar">
|
||||
<?php
|
||||
echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $data->get( 'sidebar_elementor' ) );
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
return false;
|
||||
} else {
|
||||
$options = $data->get( 'sidebar' );
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ( is_active_sidebar( $options ) ) : ?>
|
||||
<div class="col-xl-4 col-lg-4 col-md-12 sidebar-side">
|
||||
<div class="blog-sidebar default-sidebar">
|
||||
<?php dynamic_sidebar( $options ); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user