SHARE
TWEET

Untitled

a guest Jan 12th, 2016 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     get_header();
  3.     $cb_blog_style = cb_get_blog_style();
  4. ?>
  5. <div id="cb-content" class="wrap cb-search-page cb-site-padding clearfix">
  6.    
  7.     <div id="main" class="cb-main clearfix cb-module-block cb-blog-style-roll" role="main">
  8.        
  9.         <div class="cb-module-header cb-category-header">
  10.             <p class="cb-mini-title"><?php _e('Search Results for', 'cubell'); ?></p>
  11.             <h1 class="cb-module-title"><?php echo get_search_query(); ?></h1>
  12.         </div>
  13.  
  14.         <?php
  15.  
  16.         if ( have_posts() ) {
  17.  
  18.             include( locate_template( 'blog-style-' . $cb_blog_style . '.php') );
  19.  
  20.         } else {
  21.  
  22.         ?>
  23.            
  24.         <article id="post-not-found" class="cb-404-page clearfix">
  25.        
  26.             <section class="cb-entry-content cb-404-header">
  27.                 <h2><?php _e('Sorry, nothing found.', 'cubell'); ?></h2>
  28.                 <p><?php _e('Please try searching again, but with different keywords.', 'cubell'); ?></p>
  29.             </section>
  30.             <footer class="widget_search cb-search">
  31.                 <p><?php get_search_form(); ?></p>
  32.             </footer>
  33.         </article>
  34.    
  35.         <?php } ?>
  36.        
  37.     </div> <!-- end #main -->
  38.  
  39.     <?php if ( cb_get_sidebar_check( $cb_blog_style ) == true ) { get_sidebar(); } ?>
  40.    
  41. </div> <!-- end #cb-inner-content -->
  42.                
  43. <?php get_footer(); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top