</article> <!-- .page --> <aside class="sidebar col-md-4"> <div id="ad-content-sidebar"> <script type='text/javascript'> GA_googleFillSlot("marquee_banner"); </script> </div> <div class="hc-widget hc-widget-light clearfix"> <h1 class="hc-lead font-size-big font-weight-bold">More On Hella Hype</h1> <?php // Recent posts - Num posts, Cat ID get_recent_posts(10, 6); ?> </div> <?php // Hella Hype sidebar if (!function_exists('dynamic_sidebar') || !dynamic_sidebar("hellahype")) { get_sidebar('hellahype'); } ?> <div id="ad-content-sidebar"> <script type='text/javascript'> GA_googleFillSlot("Vid_Page_Right"); </script> </div> </aside> <!-- sidebar -->
</article> <!-- .page --> <aside class="sidebar col-md-4"> <div id="ad-content-sidebar"> <script type='text/javascript'> GA_googleFillSlot("marquee_banner"); </script> </div> <div class="hc-widget hc-widget-light clearfix"> <h1 class="hc-lead font-size-big font-weight-bold">Recently Added</h1> <?php // Recent posts - Num posts, Cat ID get_recent_posts(10, 4); ?> </div> <?php // Single sidebar if (!function_exists('dynamic_sidebar') || !dynamic_sidebar("Single")) { get_sidebar('Single'); } ?> <div id="ad-content-sidebar"> <script type='text/javascript'> GA_googleFillSlot("Vid_Page_Right"); </script> </div> </aside> <!-- sidebar -->
function slider($atts) { $a = shortcode_atts(array('quantity' => 3, 'category' => null), $atts); $recent_posts = get_recent_posts($a); return make_slider($recent_posts); }
$storage = \shgysk8zer0\Core\storage::load(); ?> <header role="banner"> <h1> <a href="<?php echo URL; ?> " rel="bookmark"> <?php echo $storage->site_info->title; ?> </a> </h1> <nav role="navigation"> <?php foreach (get_recent_posts(5) as $post) { ?> <a href="<?php echo URL; ?> posts/<?php echo $post->url; ?> "><?php echo $post->title; ?> </a> <?php } ?> </nav>
<?php $template = \shgysk8zer0\Core\Template::load('recent_posts'); ?> <aside class="sidebar" rel="sidebar"> <div class="recent posts"> <h3 class="sticky">Recent Posts</h3> <?php echo array_reduce(get_recent_posts(15), function ($html = '', \stdClass $post) use($template, $URL) { return $html .= $template->title($post->title)->description($post->description)->link("{$URL}posts/{$post->url}"); }); ?> </div> <div class="recent tags"> <h3 class="sticky">Tags</h3> <?php echo array_reduce(get_all_tags(), 'recent_tags_list', $doc->appendChild($doc->createElement('ul'))); ?> </div> </aside> <?php ob_flush(); flush();
<input type="text" name="q" size="12"/> <input type="submit" name="sa" value="Search" /> </form> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script> </li> <?php if (function_exists('get_recent_posts')) { ?> <li> <h2><?php _e('Recent Posts'); ?> </h2> <ul> <?php get_recent_posts(10); ?> </ul> </li> <?php } ?> <?php /* If this is a 404 page */ if (is_404()) { ?> <?php /* If this is a category archive */ } elseif (is_category()) { ?>
</div> </article> <!-- .page --> <aside id="gallery" class="sidebar col-md-4"> <div id="ad-content-sidebar"> <script type='text/javascript'> GA_googleFillSlot("marquee_banner"); </script> </div> <div class="hc-widget hc-widget-light clearfix"> <h1 class="hc-lead font-size-big font-weight-bold">More Photo Galleries</h1> <?php // Recent posts - Num posts, Cat ID get_recent_posts(10, 20); ?> </div> <?php // Hella Hype sidebar if (!function_exists('dynamic_sidebar') || !dynamic_sidebar("hellahype")) { get_sidebar('hellahype'); } ?> <div id="ad-content-sidebar"> <script type='text/javascript'> GA_googleFillSlot("Vid_Page_Right"); </script> </div>