[gnomeweb-wp: 4/5] adjusted template pages to get translated content



commit 6e7997ab47af66c5112e8cc878809cff1afbe701
Author: Vinicius Depizzol <vdepizzol gmail com>
Date:   Fri Feb 11 00:41:19 2011 -0200

    adjusted template pages to get translated content

 wp-content/themes/gnome-grass/home.php             |    4 ++--
 .../themes/gnome-grass/one-column-with-submenu.php |    4 ++--
 wp-content/themes/gnome-grass/project.php          |    4 ++--
 wp-content/themes/gnome-grass/search.php           |    4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/wp-content/themes/gnome-grass/home.php b/wp-content/themes/gnome-grass/home.php
index 3748ac6..6c0bc02 100644
--- a/wp-content/themes/gnome-grass/home.php
+++ b/wp-content/themes/gnome-grass/home.php
@@ -42,8 +42,8 @@ require_once("header.php"); ?>
                         
                         <div class="grid_6 omega">
                             <a href="<?php the_permalink(); ?>">
-                                <strong><?php the_title(); ?></strong><br />
-                                <?php echo strip_tags(get_the_excerpt()); ?>
+                                <strong><?php echo wppo_get_the_title(); ?></strong><br />
+                                <?php echo strip_tags(wppo_get_the_excerpt()); ?>
                             </a>
                         </div>
                         <div class="clear"></div>
diff --git a/wp-content/themes/gnome-grass/one-column-with-submenu.php b/wp-content/themes/gnome-grass/one-column-with-submenu.php
index 71af7ad..6b35492 100644
--- a/wp-content/themes/gnome-grass/one-column-with-submenu.php
+++ b/wp-content/themes/gnome-grass/one-column-with-submenu.php
@@ -11,7 +11,7 @@ require_once("header.php"); ?>
         <div class="container_12">
         
             <div class="page_title with_subpages_list">
-                <h1><?php the_title(); ?></h1>
+                <h1><?php echo wppo_get_the_title(); ?></h1>
                 
                 <ul class="subpages_list">
                     <?php
@@ -39,7 +39,7 @@ require_once("header.php"); ?>
             
             <div class="content without_sidebar">
             <?php while ( have_posts() ) : the_post(); ?>
-                <?php the_content(); ?>
+                <?php echo wppo_get_the_content(); ?>
             <?php endwhile; // End the loop. Whew. ?>
                 <br />
                 <div class="clear"></div>
diff --git a/wp-content/themes/gnome-grass/project.php b/wp-content/themes/gnome-grass/project.php
index 2104084..169c3d2 100644
--- a/wp-content/themes/gnome-grass/project.php
+++ b/wp-content/themes/gnome-grass/project.php
@@ -21,12 +21,12 @@ require_once("header.php"); ?>
 	                echo 'noicon';
                 }
                 ?>
-                <?php the_title(); ?></h1>
+                <?php echo wppo_get_the_title(); ?></h1>
             </div>
             
             <div class="content">
             <?php while ( have_posts() ) : the_post(); ?>
-                <?php the_content(); ?>
+                <?php echo wppo_get_the_content(); ?>
             <?php endwhile; // End the loop. Whew. ?>
                 <br />
                 <div class="clear"></div>
diff --git a/wp-content/themes/gnome-grass/search.php b/wp-content/themes/gnome-grass/search.php
index 8f22f81..755cfb1 100644
--- a/wp-content/themes/gnome-grass/search.php
+++ b/wp-content/themes/gnome-grass/search.php
@@ -18,8 +18,8 @@ require_once("header.php"); ?>
                 <div class="content">
                     <dl>
                     <?php while ( have_posts() ) : the_post(); ?>
-                        <dt><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></dt>
-                        <dd><?php the_excerpt(); ?></dd>
+                        <dt><a href="<?php the_permalink(); ?>"><?php echo wppo_get_the_title(); ?></a></dt>
+                        <dd><?php echo wppo_get_the_excerpt(); ?></dd>
                     <?php endwhile; // End the loop. Whew. ?>
                     </dl>
                     



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]