Sindbad~EG File Manager
<?php
/**
* Quickscrum by NiceThemes.
*
* Template Name: Blog
*
* @package Quickscrum
* @author NiceThemes <hello@nicethemes.com>
* @license GPL-2.0+
* @link http://nicethemes.com/theme/Quickscrum
* @copyright 2016 NiceThemes
* @since 1.0.0
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/*add_filter( 'nice_load_flexslider_js', '__return_true', 10 );
add_filter( 'nice_load_more_posts_loader_js', '__return_true', 10 );*/
get_header();
?>
<section class="cat_desc" style="height: 150px;">
<div class="cat_desc_heading">
Blog
</div>
</section>
<section class="divider-shapes">
<div style="height: 114px;"></div>
</section>
<?php global $nice_options; ?>
<section id="blog-header" class="header-blog-menu" >
<div class="container">
<header>
<div class="headerSearch">
<div class="tag-list">
<?php
$tags = get_tags(array(
'smallest'=> 1,
'largest'=> 1,
'number'=> 6,
'separator'=> " ",
'orderby'=> 'count',
'order'=> 'DESC',
'show_count'=> 1,
'echo'=> false,
'hide_empty'=> false
));
echo '<ul>';
echo '<li class="active"><a href="'. get_home_url() .'/blog">All</a></li>';
foreach ($tags as $tag) {
echo '<li><a href="'. get_tag_link($tag).'">' . $tag->name . '</a></li>';
}
echo '<li class="load-more-tags"><a class="load-more-link">More</a>';
echo '<ul>';
$more_tags = get_tags(array(
'hide_empty'=> false
));
$j = 1;
foreach ($more_tags as $more_tag) {
if ($j > 6) {
echo '<li><a href="'. get_tag_link($more_tag).'">' . $more_tag->name . '</a></li>';
}
$j++;
}
echo '</ul>';
echo '</li>';
echo '</ul>';
?>
</div>
<div class="tag-list mobile">
<?php
echo '<ul>';
echo '<li class="load-more-tags"><a class="load-more-link">MENU</a>';
echo '<ul>';
$more_tags = get_tags(array(
'hide_empty'=> false
));
$j = 1;
echo '<li><a href="'. get_home_url() .'/blog">All</a></li>';
foreach ($more_tags as $more_tag) {
if ($j > 0) {
echo '<li><a href="'. get_tag_link($more_tag).'">' . $more_tag->name . '</a></li>';
}
$j++;
}
echo '</ul>';
echo '</li>';
echo '</ul>';
?>
</div>
<div class="hsearchform">
<div id="search-wrap">
<form role="search" method="get" id="searchform" class="clearfix" action="<?php echo home_url('/'); ?>" autocomplete="off">
<div class="input">
<label for="s"><?php echo apply_filters('nice_livesearch_label', __('Search in Blog', 'nicethemes')); ?></label>
<input placeholder="Search in Blog" type="text" name="s" id="s" />
<input type="submit" id="searchsubmit" value="" />
</div>
</form>
</div>
</div>
</div>
</header>
</div>
</section>
<section id="content" <?php nice_content_class( 'main-content full-width blog-masonry' ); ?> role="main">
<div class="container">
<?php
echo do_shortcode('[ajax_load_more post_type="post" scroll="false" transition="none" orderby="menu_order" posts_per_page="6" category="blog" button_label="Load More"]');
?>
</div>
</section>
<?php get_footer();
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists