daily pastebin goal
15%
SHARE
TWEET

child single.php

papun May 24th, 2013 5 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3.  * The Template for displaying all single posts.
  4.  *
  5.  * @package WordPress
  6.  * @subpackage Twenty_Twelve
  7.  * @since Twenty Twelve 1.0
  8.  */
  9.  
  10. get_header(); ?>
  11.  
  12.         <div id="primary" class="site-content">
  13.                 <div id="content" role="main">
  14.                         <div class="breadcrumbs" align="center"><?php if(function_exists('rdfa_breadcrumb')){ rdfa_breadcrumb(); } ?></div><br>
  15.                         <?php while ( have_posts() ) : the_post(); ?>
  16.  
  17.                                 <?php get_template_part( 'content', get_post_format() ); ?>
  18.  
  19.                                 <nav class="nav-single">
  20.                                         <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3>
  21.                                         <span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentytwelve' ) . '</span> %title' ); ?></span>
  22.                                         <span class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentytwelve' ) . '</span>' ); ?></span>
  23.                                 </nav><!-- .nav-single -->
  24.  
  25. <br><br><div id="disqus_thread"></div>
  26. <div id="disqus_loader" style="text-align: center">
  27.   <button onclick="load_disqus()">Load Comments</button>
  28.   <script>
  29.     function load_disqus()
  30.     {
  31.       var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
  32.       dsq.src = "http://abhisektech.disqus.com/embed.js";
  33.       (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  34.       var ldr = document.getElementById('disqus_loader');
  35.       ldr.parentNode.removeChild(ldr);
  36.     }
  37.   </script>
  38. </div> 
  39. <?php //comments_template( '', true ); ?>
  40.  
  41.                         <?php endwhile; // end of the loop. ?>
  42.  
  43.                 </div><!-- #content -->
  44.         </div><!-- #primary -->
  45.  
  46. <?php get_sidebar(); ?>
  47. <?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
 
Top