Permalink
Browse files

ccjwp category changes

  • Loading branch information...
1 parent 8f5df39 commit f9648ca644431ee629a00e6c25cd22754d5baef1 @teeerevor committed Sep 10, 2010
Showing with 76 additions and 3 deletions.
  1. BIN .DS_Store
  2. +67 −0 category-3.php
  3. +1 −0 ccwp
  4. +3 −2 header.php
  5. +5 −1 style.css
View
BIN .DS_Store
Binary file not shown.
View
67 category-3.php
@@ -0,0 +1,67 @@
+<?php get_header(); ?>
+
+<div id="column">
+
+<?php if (have_posts()) : ?>
+<?php while (have_posts()) : the_post(); ?>
+
+<!-- ^^^^^^^^^^^^^^ post code ^^^^^^^^^^^^^^ -->
+<div class="post" id="post-<?php the_ID(); ?>">
+<div class="post-top"></div>
+<div class="entry">
+
+<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
+<span class="date"><?php the_time('l, F j, Y'); ?> <?php the_time('G:i'); ?></span>
+
+<div class="info">
+<div class="cat">Posted in category <?php the_category(', ') ?></div>
+<div class="comments"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>
+<div class="clear"></div>
+</div>
+
+<div class="content">
+<?php the_content('Read the rest of this entry &raquo;'); ?><div class="clear"></div>
+</div>
+
+<div class="tags"><?php edit_post_link('Edit', '', ' | '); ?><?php the_tags('Tags: ', ', ', ''); ?></div>
+
+</div>
+<div class="post-bottom"></div>
+</div>
+<!-- ^^^^^^^^^^^^^^ post code ^^^^^^^^^^^^^^ -->
+
+<?php endwhile; ?>
+
+<!-- ^^^^^^^^^^^^^^ post navigation ^^^^^^^^^^^^^^ -->
+<div class="navigation">
+<div class="navleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
+<div class="navright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
+<div class="clear"></div>
+</div>
+<!-- ^^^^^^^^^^^^^^ post navigation ^^^^^^^^^^^^^^ -->
+
+<?php else : ?>
+
+<!-- ^^^^^^^^^^^^^^ page not found + search form ^^^^^^^^^^^^^^ -->
+<div class="post">
+<div class="post-top"></div>
+<div class="entry">
+
+<div class="content">
+<h1>Page Not Found</h1>
+<p>Sorry, but you are looking for something that isn't here.</p>
+<h3>Search Blog</h3>
+<?php include(TEMPLATEPATH."/searchform.php"); ?>
+</div>
+
+</div>
+<div class="post-bottom"></div>
+</div>
+<!-- ^^^^^^^^^^^^^^ page not found + search form ^^^^^^^^^^^^^^ -->
+
+<?php endif; ?>
+
+</div>
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>
View
1 ccwp
View
5 header.php
@@ -28,7 +28,7 @@
<?php wp_head(); ?>
</head>
-<body>
+<body <?php if (is_category('ccjwp')){echo 'class="ccjwp"';} ?> >
<div id="container">
@@ -37,7 +37,8 @@
<div id="logo">
<a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>">
- <img src="/wp-content/themes/blue-dream/images/cclogo.gif" /></a>
+ <!--img src="/wp-content/themes/ccwp/images/cclogo.gif" /></a-->
+ <img src="/ccwp/wp-content/themes/ccwp/images/cclogo.gif" /></a>
</div>
</div>
View
6 style.css
@@ -30,10 +30,14 @@ ol {list-style-type: decimal}
.clear {clear: both}
/***************************************************/
body {
- background: #dbf4ff url(images/bg.gif) repeat-x top;
+ background: #dbf4ff url(images/bg.gif) repeat-x top;
text-align: center;
}
+.ccjwp {
+ background-color: #f4ffd1;
+}
+
#container {
width: 980px;
margin-right: auto;

0 comments on commit f9648ca

Please sign in to comment.