[cc-commits] [CC SVN] r15208 - themes/creativecommons.org/trunk

webmaster at creativecommons.org webmaster at creativecommons.org
Fri Sep 9 15:49:25 EDT 2011


Author: rejon
Date: 2011-09-09 19:49:24 +0000 (Fri, 09 Sep 2011)
New Revision: 15208

Modified:
   themes/creativecommons.org/trunk/page-home.php
Log:
added


Modified: themes/creativecommons.org/trunk/page-home.php
===================================================================
--- themes/creativecommons.org/trunk/page-home.php	2011-09-09 18:21:12 UTC (rev 15207)
+++ themes/creativecommons.org/trunk/page-home.php	2011-09-09 19:49:24 UTC (rev 15208)
@@ -71,7 +71,7 @@
 	<?php wp_head(); ?>
 </head>
 <?php the_post(); ?>
-	<body class="home">
+<body class="home">
 	<div id="container">
 		<header> 
 		
@@ -202,11 +202,19 @@
         <div id="main" role="main">
             <div class="container">
                 <div class="sixteen columns">
+                <?php 
+                    if ( $_SERVER["REQUEST_URI"] == '/' ||
+                         $_SERVER["REQUEST_URI"] == '/index.php' ) {
+                        include('home-guts.php'); 
 
+                    } else { 
+                    ?>
+
 			<?php the_content(); ?>
 			<?php edit_post_link("Edit This Page", '<p class="edit">', '</p>'); ?>
+            <?php } ?>
+
                 </div>
-            </div>
             </div><!--! end of .container -->
 		</div><!--! end of #main -->
 



More information about the cc-commits mailing list