[gnomegr-web] Fix indentation and obsolete tags



commit 1632fc08873b006dc5fe8c619f958a021922a43f
Author: Tom Tryfonidis <tomtryf gnome org>
Date:   Thu Apr 6 01:06:58 2017 +0300

    Fix indentation and obsolete tags

 gnomegr/footer.php       |   38 +++++++++++++++++++-------------------
 gnomegr/page-newhome.php |   40 ++++++++++++++++++++--------------------
 2 files changed, 39 insertions(+), 39 deletions(-)
---
diff --git a/gnomegr/footer.php b/gnomegr/footer.php
index 335feba..0591be8 100644
--- a/gnomegr/footer.php
+++ b/gnomegr/footer.php
@@ -4,31 +4,31 @@
     <div id="footer">
         <div class="container">
             <div class="row">
-                    <div class="col-xs-12">
-            <div class="links col-xs-12 col-sm-9">
-                <?php
-                wp_nav_menu('menu=footer');
-                ?>
-            </div>
-            <div class="icons col-xs-12 col-sm-3">
-                <?php require_once("social_icons.php"); ?>
+                <div class="col-xs-12">
+                    <div class="links col-xs-12 col-sm-9">
+                        <?php
+                            wp_nav_menu('menu=footer');
+                        ?>
+                    </div>
+                    <div class="icons col-xs-12 col-sm-3">
+                        <?php require_once("social_icons.php"); ?>
+                    </div>
+                </div>
             </div>
         </div>
-    </div>
-    </div>
-    <div class="container">
         <!-- footnotes -->
-        <div class="row">
-            <div class="col-sm-12">
-                <div id="footnotes" class="col-sm-9">
-                    <strong class="gnome_logo">&copy; <?php echo date("Y"); ?> <?php echo 
get_theme_mod('footer_copyright_text');?></strong><br />
-                    <small>
-                        <?php echo get_theme_mod('footer_notes');?>
-                    </small>
+        <div class="container">
+            <div class="row">
+                <div class="col-sm-12">
+                    <div id="footnotes" class="col-sm-9">
+                        <strong class="gnome_logo">&copy; <?php echo date("Y"); ?> <?php echo 
get_theme_mod('footer_copyright_text');?></strong><br />
+                        <small>
+                            <?php echo get_theme_mod('footer_notes');?>
+                        </small>
+                    </div>
                 </div>
             </div>
         </div>
-        </div>
     </div>
     <?php wp_footer(); ?>
     </body>
diff --git a/gnomegr/page-newhome.php b/gnomegr/page-newhome.php
index 8e5313a..1e495e7 100644
--- a/gnomegr/page-newhome.php
+++ b/gnomegr/page-newhome.php
@@ -65,30 +65,30 @@ add_action('wp_head', function() {
     <div class="container">
         <div class="news_list row">
             <div class="col-sm-12 news">
-            <?php
-                query_posts (array('post_type' => 'post', 'category_name' => 'νέαειδήσεις', 'posts_per_page' 
=> 4));
+                <?php
+                    query_posts (array('post_type' => 'post', 'category_name' => 'news', 'posts_per_page' => 
4));
 
-                while ( have_posts() ) : the_post();
-            ?>
-            <div class="col-md-3 news">
-                <span class="date">
-                    <?php the_date(); ?>
-                </span>
-                <a href="<?php the_permalink(); ?>">
-                <strong><?php the_title(); ?></strong>
-                <?php echo strip_tags(get_the_excerpt()); ?>
-                </a>
-            </div>
-            <?php
-                endwhile;
-            ?>
-            <div class="col-sm-12">
-                <a href="/news/" class="btn btn-action pull-right"><?php esc_html_e( 'News Archives', 
'grass' ); ?></a>
+                    while ( have_posts() ) : the_post();
+                ?>
+                <div class="col-md-3 news">
+                    <span class="date">
+                        <?php the_date(); ?>
+                    </span>
+                    <a href="<?php the_permalink(); ?>">
+                    <strong><?php the_title(); ?></strong>
+                    <?php echo strip_tags(get_the_excerpt()); ?>
+                    </a>
+                </div>
+                <?php
+                    endwhile;
+                ?>
+                <div class="col-sm-12">
+                    <a href="/news/" class="btn btn-action pull-right"><?php esc_html_e( 'News Archives', 
'grass' ); ?></a>
+                </div>
             </div>
         </div>
-        </div>
-        </div>
     </div>  <!-- END news -->
+    </section>
     <section class="bg-grey">
         <div class="container"> 
             <div class="row">         


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