Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The template for displaying Category Archive pages.
- *
- * @package WordPress * @subpackage Rock_Shop_N_Roll * @since Rock Shop N Roll 1.0
- */
- get_header(); ?>
- <div class="content">
- <div class="scene-page">
- <div class="left-col">
- <div class="main-title">
- <h3 class="ir">SCENE</h3>
- <h4>and Be Seen</h4>
- </div>
- <!-- content block -->
- <div class="about">
- <div id="mcs2_container">
- <div class="customScrollBox">
- <div class="container">
- <div class="scroll-content">
- <h2 class="about-title ir">Style</h2>
- <?php if ( have_posts() ) : ?>
- <?php /* Start the Loop */ ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php
- /* Include the Post-Format-specific template for the content.
- * If you want to overload this in a child theme then include a file
- * called content-___.php (where ___ is the Post Format name) and that will be used instead.
- */
- get_template_part( 'content-scene', get_post_format() );
- ?>
- <?php endwhile; ?>
- <?php twentyeleven_content_nav( 'nav-below' ); ?>
- <?php else : ?>
- <article id="post-0" class="post no-results not-found">
- <div class="entry-header">
- <?php _e( 'Nothing Found', 'twentyeleven' ); ?>
- </h1>
- </div>
- <!-- .entry-header -->
- <div class="entry-content">
- <p>
- <?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?>
- </p>
- <?php get_search_form(); ?>
- </div>
- <!-- .entry-content -->
- </article>
- <!-- #post-0 -->
- <?php endif; ?>
- </div>
- </div>
- <div class="dragger_container">
- <div class="dragger">
- <div class="dragger-inner"> </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="right-col">
- <div class="leave-a-comment"><a href="http://twitter.com/rockshopnroll" rel="leave-a-comment" class="ir" >Click Here to follow Rock, Shop and Roll on Twitter @rockshopnroll</a></div>
- <!-- content block -->
- <div class="gallery">
- <div id="mcs_container">
- <div class="customScrollBox">
- <div class="container">
- <div class="scroll-content">
- <h2 class="gallery-title ir">Rock SHOP n Rollers</h2>
- <ul id="twitter_update_list"></ul>
- <p class="twitLink"></p>
- <script type="text/javascript" src="https://twitter.com/javascripts/blogger.js"></script>
- <script type="text/javascript" src="https://twitter.com/statuses/user_timeline/rockshopnroll.json?callback=twitterCallback2&count=10"></script>
- </div><!-- scroll-content -->
- <div class="dragger_container">
- <div class="dragger">
- <div class="dragger-inner">
- </div><!-- dragger-inner -->
- </div><!-- dragger -->
- </div><!-- dragger_container -->
- </div><!-- container -->
- </div><!-- customScrollBox -->
- </div><!-- mcs_container -->
- </div><!-- gallery -->
- <!-- content block -->
- <div class="found">
- <div id="mcs4_container">
- <div class="customScrollBox">
- <div class="container">
- <div class="scroll-content">
- <h2 class="found-title ir">Shows</h2>
- <?php /*category2 loop*/ ?>
- <?php $cat42_id = 42;
- $args = array('category__in' => array($cat42_id),
- 'paged' => get_query_var('paged')
- ); ?>
- <?php $loop2 = new WP_Query($args); ?>
- <?php if( $loop2->have_posts() ) : while( $loop2->have_posts() ) : $loop2->the_post(); ?>
- <?php
- /* Include the Post-Format-specific template for the content.
- * If you want to overload this in a child theme then include a file
- * called content-___.php (where ___ is the Post Format name) and that will be used instead.
- */
- get_template_part( 'content-scene', get_post_format() );
- ?>
- <?php endwhile; ?>
- <?php twentyeleven_content_nav( 'nav-below' ); ?>
- <?php else : ?>
- <article id="post-0" class="post no-results not-found">
- <div class="entry-header">
- <?php _e( 'Nothing Found', 'twentyeleven' ); ?>
- </h1>
- </div>
- <!-- .entry-header -->
- <div class="entry-content">
- <p>
- <?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?>
- </p>
- <?php get_search_form(); ?>
- </div>
- <!-- .entry-content -->
- </article>
- <!-- #post-0 -->
- <?php endif; ?>
- </div>
- <div class="dragger_container">
- <div class="dragger">
- <div class="dragger-inner">
- </div><!-- dragger_inner -->
- </div><!-- dragger -->
- </div><!-- dragger_container -->
- </div><!-- container -->
- </div><!-- customScrollBox -->
- </div><!-- mcs_container -->
- </div><!-- found -->
- <script>
- jQuery(window).load(function() {
- mCustomScrollbars();
- });
- function mCustomScrollbars(){
- /*
- malihu custom scrollbar function parameters:
- 1) scroll type (values: "vertical" or "horizontal")
- 2) scroll easing amount (0 for no easing)
- 3) scroll easing type
- 4) extra bottom scrolling space for vertical scroll type only (minimum value: 1)
- 5) scrollbar height/width adjustment (values: "auto" or "fixed")
- 6) mouse-wheel support (values: "yes" or "no")
- 7) scrolling via buttons support (values: "yes" or "no")
- 8) buttons scrolling speed (values: 1-20, 1 being the slowest)
- */
- jQuery("#mcs_container").mCustomScrollbar("vertical",400,"easeOutCirc",1.05,"auto","yes","yes",10);
- jQuery("#mcs2_container").mCustomScrollbar("vertical",300,"easeOutCirc",1.05,"auto","yes","no",0);
- jQuery("#mcs4_container").mCustomScrollbar("vertical",200,"easeOutCirc",1.25,"fixed","yes","no",0);
- }
- /* function to fix the -10000 pixel limit of jquery.animate */
- jQuery.fx.prototype.cur = function(){
- if ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) ) {
- return this.elem[ this.prop ];
- }
- var r = parseFloat( jQuery.css( this.elem, this.prop ) );
- return typeof r == 'undefined' ? 0 : r;
- }
- /* function to load new content dynamically */
- function LoadNewContent(id,file){
- jQuery("#"+id+" .customScrollBox .scroll-content").load(file,function(){
- mCustomScrollbars();
- });
- }
- </script>
- <script src="http://rockshopnroll.com/wordpress/wp-content/themes/rockshoproll/js/content-scroll/jquery.mCustomScrollbar_scroll-content.js"></script>
- <div class="clearfix"></div>
- </div>
- </div>
- </div><!-- #content -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement