<?php /** * $Desc * * @author Gaviasthemes Team * @copyright Copyright (C) 2021 gaviasthemes. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * */ get_header(); $sidebar_layout_config = zilom_get_option('archive_post_sidebar', ''); $left_sidebar = zilom_get_option('archive_post_left_sidebar', ''); $right_sidebar = zilom_get_option('archive_post_right_sidebar', ''); $left_sidebar_config = array('active' => false); $right_sidebar_config = array('active' => false); $main_content_config = array('class' => 'col-lg-12 col-lg-12 col-md-12 col-sm-12 col-xs-12'); $sidebar_config = zilom_sidebar_global($sidebar_layout_config, $left_sidebar, $right_sidebar); extract($sidebar_config); $grid_class = 'lg-block-grid-3 md-block-grid-3 sm-block-grid-2 xs-block-grid-1'; if( ($left_sidebar_config['active'] && is_active_sidebar($left_sidebar_config['name'])) || ($right_sidebar_config['active'] && is_active_sidebar($right_sidebar_config['name'])) ){ $grid_class = 'lg-block-grid-2 md-block-grid-2 sm-block-grid-2 xs-block-grid-1'; } ?> <section id="wp-main-content" class="clearfix main-page title-layout-standard"> <?php do_action( 'zilom_before_page_content' ); ?> <div class="container"> <div class="row main-page-content"> <div class="content-page <?php echo esc_attr($main_content_config['class']); ?>"> <div id="wp-content" class="wp-content"> <?php if ( have_posts() ) : ?> <div class="post-area posts-grids results-search clearfix post-items content-page-index"> <div class="<?php echo esc_attr($grid_class) ?> post-masonry-style post-masonry-index"> <?php while ( have_posts() ) : the_post(); ?> <?php if( get_post_type() == 'product' && class_exists('WooCommerce') ){ ?> <div class="item-columns item-masory"> <?php wc_get_template_part( 'content', 'product' ); ?> </div> <?php }else{ ?> <div class="item-columns item-masory"> <div class="post post-block post-style-1 clearfix"> <div class="post-thumbnail"> <a href="<?php echo esc_url( get_permalink() ) ?>"> <?php the_post_thumbnail( 'post-thumbnail', array( 'alt' => get_the_title() ) ); ?> </a> <div class="<?php echo esc_attr(empty(get_the_date()) ? 'entry-meta schedule-date' : 'entry-meta' ) ?>"> <?php zilom_posted_on(); ?> </div> </div> <div class="entry-content"> <div class="content-inner"> <h3 class="entry-title"><a href="<?php echo esc_url( get_permalink() ) ?>" rel="bookmark"><?php the_title() ?></a></h3> <div class="read-more"> <a class="btn-inline" href="<?php echo esc_url( get_permalink() ) ?>"><?php echo esc_html__('Read more', 'zilom'); ?></a> </div> </div> </div> </div> </div> <?php } ?> <?php endwhile; ?> </div> </div> <?php else: ?> <div class="search-no-results-content"> <div class="message"><?php echo esc_html__( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'zilom' ); ?></div> <?php get_search_form() ?> </div> <?php endif ?> <div class="pagination"> <?php echo zilom_pagination(); ?> </div> </div> </div> <!-- Left sidebar --> <?php if($left_sidebar_config['active']): ?> <div class="sidebar wp-sidebar sidebar-left <?php echo esc_attr($left_sidebar_config['class']); ?>"> <?php do_action( 'zilom_before_sidebar' ); ?> <div class="sidebar-inner"> <?php dynamic_sidebar($left_sidebar_config['name'] ); ?> </div> <?php do_action( 'zilom_after_sidebar' ); ?> </div> <?php endif ?> <!-- Right Sidebar --> <?php if($right_sidebar_config['active']): ?> <div class="sidebar wp-sidebar sidebar-right <?php echo esc_attr($right_sidebar_config['class']); ?>"> <?php do_action( 'zilom_before_sidebar' ); ?> <div class="sidebar-inner"> <?php dynamic_sidebar($right_sidebar_config['name'] ); ?> </div> <?php do_action( 'zilom_after_sidebar' ); ?> </div> <?php endif ?> </div> </div> <?php do_action( 'zilom_after_page_content' ); ?> </section> <?php get_footer(); ?>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
css | Folder | 0755 |
|
|
fonts | Folder | 0755 |
|
|
images | Folder | 0755 |
|
|
includes | Folder | 0755 |
|
|
js | Folder | 0755 |
|
|
languages | Folder | 0755 |
|
|
nsl | Folder | 0755 |
|
|
sass | Folder | 0755 |
|
|
templates | Folder | 0755 |
|
|
tribe | Folder | 0755 |
|
|
tribe-events | Folder | 0755 |
|
|
tutor | Folder | 0755 |
|
|
woocommerce | Folder | 0755 |
|
|
404.php | File | 977 B | 0644 |
|
archive-courses.php | File | 2.09 KB | 0644 |
|
archive.php | File | 2.08 KB | 0644 |
|
comments.php | File | 3.41 KB | 0644 |
|
content-audio.php | File | 3.21 KB | 0644 |
|
content-gallery.php | File | 3.58 KB | 0644 |
|
content-link.php | File | 2.86 KB | 0644 |
|
content-quote.php | File | 2.84 KB | 0644 |
|
content-video.php | File | 3.11 KB | 0644 |
|
content.php | File | 2.92 KB | 0644 |
|
footer-dashboard.php | File | 624 B | 0644 |
|
footer.php | File | 1.84 KB | 0644 |
|
functions.php | File | 9.78 KB | 0644 |
|
header-builder.php | File | 1.7 KB | 0644 |
|
header-default.php | File | 3.23 KB | 0644 |
|
header.php | File | 585 B | 0644 |
|
index.php | File | 2.53 KB | 0644 |
|
page.php | File | 589 B | 0644 |
|
readme.txt | File | 0 B | 0644 |
|
screenshot.png | File | 183.1 KB | 0644 |
|
search.php | File | 4.47 KB | 0644 |
|
searchform.php | File | 677 B | 0644 |
|
sidebar.php | File | 280 B | 0644 |
|
single-event.php | File | 353 B | 0644 |
|
single-gva_team.php | File | 6.05 KB | 0644 |
|
single-portfolio.php | File | 6.07 KB | 0644 |
|
single.php | File | 3.18 KB | 0644 |
|
style.css | File | 946 B | 0644 |
|
taxonomy-category_portfolio.php | File | 3.03 KB | 0644 |
|
wpml-config.xml | File | 11.38 KB | 0644 |
|