Advertisement
alchymyth

kichu child theme, specific single.php

May 17th, 2015
511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.98 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4. <meta charset="<?php bloginfo( 'charset' ); ?>">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  6. <link rel="profile" href="http://gmpg.org/xfn/11">
  7. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
  8. <?php wp_head(); ?>
  9. </head>
  10.  
  11. <body <?php body_class(); ?>>
  12. <nav class="nav-menu nav-menu-vertical nav-menu-right" id="nav-menu-s2">
  13.     <h3 id="hideRightPush"><i class="fa fa-bars"></i> <?php _e( 'Menu', 'kichu' ); ?></h3>
  14.         <?php
  15.             wp_nav_menu(array(
  16.                 'theme_location' => 'primary',
  17.                 'menu' => __( 'Primary Menu', 'kichu' ),
  18.                 'walker'  => new Kichu_Walker_Menu()
  19.             ));
  20.         ?>
  21. </nav>
  22. <div id="wrapper">
  23. <header>
  24.     <div class="container clearfix">
  25.         <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo( 'name' ); ?>">
  26.             <h1 id="logo"><?php bloginfo( 'name' ); ?></h1>
  27.         </a>
  28.  
  29.         <button id="showRightPush"><i class="fa fa-bars"></i></button>
  30.     </div>
  31. </header><!-- /header -->
  32.  
  33. <div id="main">
  34.  
  35.     <div id="content">
  36.        
  37.         <?php if ( have_posts() ) : ?>
  38.        
  39.             <?php while ( have_posts() ) : the_post(); ?>
  40.            
  41. <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>>
  42.  
  43.     <div class="container">
  44.  
  45.             <a class="title" href="<?php the_permalink(); ?>"> <?php the_title( '<h2>', '</h2>' ); ?> </a>
  46.  
  47.             <div class="content">
  48.                     <?php the_content(); ?>
  49.             </div>
  50.  
  51.     </div>
  52.  
  53. </article>         
  54.             <?php endwhile; ?>
  55.            
  56.         <?php else : ?>
  57.                
  58.                 <?php get_template_part( 'content', 'none' ); ?>
  59.            
  60.         <?php endif; ?>
  61.  
  62.     </div>
  63.  
  64. </div><!-- #main -->
  65.  
  66.     <!--hide footer output
  67.     <footer>
  68.         <div class="credits">
  69.             <span><a rel="nofollow" href="http://www.hardeepasrani.com/portfolio/wordpress-themes/kichu/"><?php _e( 'Kichu' , 'kichu' ); ?></a> <?php _e( ' - Proudly powered by WordPress' , 'kichu' ); ?></span>
  70.         </div>
  71.     </footer>-->
  72. </div><!-- /#wrapper -->
  73. </body>
  74. <?php wp_footer(); ?>
  75. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement