Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php $filter = wpsevst_get_filter(); ?>
- <div id="content">
- <div id="inner-content" class="row">
- <main id="main" class="<?php if ( get_theme_mod( 'wpsevst_enable_sidebar', 'yes') == 'yes' ) : ?>large-9 medium-9<?php else : ?>small-12<?php endif; ?> columns" role="main">
- <header>
- <h1 class="widgettitle"><?php _e( 'Search Results for:', WPSEVST_LANG ); ?> <?php echo esc_attr(get_search_query()); ?> <span class="page-number"><?php echo wpsevst_page_number(); ?></span></h1>
- </header>
- <?php if (have_posts()) : ?>
- <div class="video-list row small-up-<?php echo get_theme_mod( 'wpsevst_nb_videos_small', '1'); ?> medium-up-<?php echo get_theme_mod( 'wpsevst_nb_videos_medium', '2'); ?> large-up-<?php echo get_theme_mod( 'wpsevst_nb_videos_large', '4'); ?>">
- <?php while (have_posts()) : the_post(); ?>
- <?php get_template_part( 'parts/loop', 'archive-tube' ); ?>
- <?php endwhile; ?>
- </div>
- <?php if(get_theme_mod( 'wpsevst_pagination_type', 'classic') == 'classic') : ?>
- <?php wpsevst_page_navi(); ?>
- <?php elseif(get_theme_mod( 'wpsevst_pagination_type', 'classic') == 'loadmore') : ?>
- <?php wpsevst_load_more(); ?>
- <?php endif; ?>
- <?php else : ?>
- <?php get_template_part( 'parts/content', 'missing' ); ?>
- <?php endif; ?>
- </main> <!-- end #main -->
- <?php if ( get_theme_mod( 'wpsevst_enable_sidebar', 'yes') == 'yes' ) : ?>
- <?php get_sidebar(); ?>
- <?php endif; ?>
- </div> <!-- end #inner-content -->
- </div> <!-- end #content -->
- <?php get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement