[gnomeweb-wp] get content from the page "home" instead storing it in the template
- From: Vinicius Scopel Depizzol <vdepizzol src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnomeweb-wp] get content from the page "home" instead storing it in the template
- Date: Tue, 5 Apr 2011 00:39:00 +0000 (UTC)
commit 5b27824e2469e54558b1397470bf5fe2d2718df8
Author: Vinicius Depizzol <vdepizzol gmail com>
Date: Mon Apr 4 21:37:17 2011 -0300
get content from the page "home" instead storing it in the template
wp-content/themes/gnome-grass/page-home.php | 53 +++------------------------
1 files changed, 5 insertions(+), 48 deletions(-)
---
diff --git a/wp-content/themes/gnome-grass/page-home.php b/wp-content/themes/gnome-grass/page-home.php
index 10342a4..aed846c 100644
--- a/wp-content/themes/gnome-grass/page-home.php
+++ b/wp-content/themes/gnome-grass/page-home.php
@@ -39,56 +39,13 @@ require_once("header.php"); ?>
<div class="grid_12">
- <div class="main_feature" style="margin-bottom: 60px; text-align: center;">
- <p>The GNOME Project has started from scratch and created a completely new,<br />
- modern desktop designed for todayâ??s users and technologies.</p>
- </div>
-
- <hr class="top_shadow" />
-
- <div class="crafted_content">
-
- <div class="section image-right">
- <div class="image">
- <img src="#" alt="" height="200" />
- </div>
- <div class="text">
- <h3>Simply Beautiful</h3>
- <p>GNOMEâ??s new desktop takes elegance to a new level. Weâ??ve swept away the clutter and made a simple and easy-to-use desktop, and weâ??ve made this the most beautiful GNOME desktop ever, with a new visual theme, a refined new font and carefully crafted animations.</p>
-
- <ul class="thumbs">
- <li><a href="http://gnome3.org/img/overview-big.png"><img src="http://gnome3.org/img/overview.png" alt="" /></a></li>
- <li><a href="#"><img src="" alt="" /></a></li>
- </ul>
- </div>
- </div>
-
- <div class="section image-left">
- <div class="image">
- <img src="#" alt="" height="240" />
- </div>
- <div class="text">
- <h3>An overview at a glance</h3>
- <p>The activities view provides an easy way to access all your windows and applications. It is also a great way to keep track of all your activities. We have provided several fast and convenient ways to access the activities view, including the activities keyboard key (often known as the Windows key) and the activities hot corner.</p>
- </div>
- </div>
-
- <div class="section" style="text-align: center;">
-
- <a class="action_button" href="#">Discover more about GNOME 3</a>
-
- </div>
-
- </div>
+ <?php
- <hr class="bottom_shadow" />
+ while ( have_posts() ) : the_post();
+ the_content();
+ endwhile;
- <div class="about_box" style="overflow: hidden;">
- <img src="http://localhost/gnome-wp/wp-content/uploads/2011/04/foot-e1301789864689.png" alt="" style="float: left; margin-right: 25px;" />
- <h2>We make great software available to all.</h2>
- <p>GNOME is an international community dedicated to making great software that anyone use, no matter what language they speak or whatever their technical or physical abilities.</p>
- <p><a href="#1" class="more">About the GNOME Project</a></p>
- </div>
+ ?>
<hr />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]