Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4.  
  5. * The Template for displaying all single posts.
  6.  
  7. *
  8.  
  9. * @package WordPress
  10.  
  11. * @subpackage Twenty_Ten
  12.  
  13. * @since Twenty Ten 1.0
  14.  
  15. */
  16.  
  17.  
  18.  
  19. get_header(); ?>
  20.  
  21.  
  22.  
  23. <div id="container">
  24.  
  25. <div id="content" role="main">
  26.  
  27.  
  28.  
  29. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  30.  
  31.  
  32.  
  33. <div id="nav-above" class="navigation">
  34.  
  35. <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
  36.  
  37. <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
  38.  
  39. </div><!-- #nav-above -->
  40.  
  41.  
  42.  
  43. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  44.  
  45. <h1 class="entry-title"><span style="color:#FFFFFF; font-size:0px; margin-bottom:-10px;">Arizona Flooring Companies</span><?php the_title(); ?></h1>
  46.  
  47.  
  48.  
  49. <div class="entry-meta">
  50.  
  51. <?php twentyten_posted_on(); ?>
  52.  
  53. </div><!-- .entry-meta -->
  54.  
  55.  
  56.  
  57. <div class="entry-content">
  58.  
  59. <?php the_content(); ?>
  60.  
  61. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
  62.  
  63. </div><!-- .entry-content -->
  64.  
  65.  
  66.  
  67. <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?>
  68.  
  69. <div id="entry-author-info">
  70.  
  71. <div id="author-avatar">
  72.  
  73. <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?>
  74.  
  75. </div><!-- #author-avatar -->
  76.  
  77. <div id="author-description">
  78.  
  79. <h2><?php printf( esc_attr__( 'About %s', 'twentyten' ), get_the_author() ); ?></h2>
  80.  
  81. <?php the_author_meta( 'description' ); ?>
  82.  
  83. <div id="author-link">
  84.  
  85. <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
  86.  
  87. <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyten' ), get_the_author() ); ?>
  88.  
  89. </a>
  90.  
  91. </div><!-- #author-link -->
  92.  
  93. </div><!-- #author-description -->
  94.  
  95. </div><!-- #entry-author-info -->
  96.  
  97. <?php endif; ?>
  98.  
  99.  
  100.  
  101. <div class="entry-utility">
  102.  
  103. <?php twentyten_posted_in(); ?>
  104.  
  105. <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
  106.  
  107. </div><!-- .entry-utility -->
  108.  
  109. </div><!-- #post-## -->
  110.  
  111.  
  112.  
  113. <div id="nav-below" class="navigation">
  114.  
  115. <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
  116.  
  117. <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
  118.  
  119. </div><!-- #nav-below -->
  120.  
  121.  
  122.  
  123. <?php comments_template( '', true ); ?>
  124.  
  125.  
  126.  
  127. <?php endwhile; // end of the loop. ?>
  128.  
  129.  
  130.  
  131. </div><!-- #content -->
  132.  
  133. </div><!-- #container -->
  134.  
  135.  
  136.  
  137. <?php get_sidebar(); ?>
  138.  
  139. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement