Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 57 lines (48 sloc) 1.768 kB
2b8cc2c @simplebits adding all files
authored
1 <?php
2 /**
3 * The loop that displays a single post.
4 *
5 * The loop displays the posts and the post content. See
6 * http://codex.wordpress.org/The_Loop to understand it and
7 * http://codex.wordpress.org/Template_Tags to understand
8 * the tags used in it.
9 *
10 * This can be overridden in child themes with loop-single.php.
11 *
12 * @package WordPress
13 * @subpackage Twenty_Ten
14 * @since Twenty Ten 1.2
15 */
16 ?>
17
18 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
19
20 <style id="s" type="text/css">
21 <?php $key="css"; echo get_post_meta($post->ID, $key, true); ?>
22 </style>
23
24 <div id="pattern" class="mod group">
25 <h3 class="label">Pattern</h3>
26
27 <h4><?php the_category(' '); ?> <span class="sep">&rarr;</span> <?php the_title(); ?></h4>
28
29 <div id="pattern-wrap" class="group">
30 <?php $key="html"; echo get_post_meta($post->ID, $key, true); ?>
31 </div>
32 </div>
33
34 <div class="group">
35 <div id="markup" class="mod">
36 <h3 class="label">HTML</h3> <a href="#" class="clip" title="select code for copying"><img src="/wp-content/themes/pears/images/icon-copy.png" alt="copy" /></a>
37 <textarea class="mod-ta">
38 <?php $key="html"; echo get_post_meta($post->ID, $key, true); ?>
39 </textarea>
40 </div>
41
42 <div id="style" class="mod">
43 <h3 class="label">CSS</h3> <a href="#" class="clip" title="select code for copying"><img src="/wp-content/themes/pears/images/icon-copy.png" alt="copy" /></a>
44 <textarea id="css-code" class="mod-ta">
45 <?php $key="css"; echo get_post_meta($post->ID, $key, true); ?>
46 </textarea>
47 </div>
48 </div>
49
50 <?php if($post->post_content != "") {?>
51 <div id="pattern-notes" class="mod">
52 <h3 class="label">Notes</h3>
53 <?php the_content(); ?>
54 </div>
55 <?php } ?>
56
57 <?php endwhile; // end of the loop. ?>
Something went wrong with that request. Please try again.