phc /htdocs/wp-content/themes/phc/loop-single.php

Language PHP Lines 38
MD5 Hash 71ac5eed5923dce45fd823319bdd06d7 Estimated Cost $170 (why?)
Repository https://bitbucket.org/dkrzos/phc.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
 * The loop that displays a single post.
 *
 * @package WordPress
 * @subpackage Starkers
 * @since Starkers HTML5 3.2
 */
?>

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

		
		
		<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			
			<header>
				<h1><?php the_title(); ?></h1>

				<?php starkers_posted_on(); ?>
			</header>

			<?php the_content(); ?>
					
			<?php wp_link_pages( array( 'before' => '<nav>' . _e( 'Pages:', 'starkers' ), 'after' => '</nav>' ) ); ?>
		
		
				
		</article>
		
		<nav>
			<span class="older"><?php previous_post_link( '%link',  _x( '&lt; Poprzedni wpis', 'Previous post link', 'starkers' )  ); ?></span>
			<span class="newer"><?php next_post_link( '%link',  _x( 'Następny wpis &gt;', 'Next post link', 'starkers' )); ?></span>
		</nav>

		<?php //comments_template( '', true ); ?>

<?php endwhile; // end of the loop. ?>
Back to Top