[gnomegr-web] Use bloginfo() for the social icons



commit 9314ec08476547772982484143f6390e998d1492
Author: Tom Tryfonidis <tomtryf gnome org>
Date:   Mon Nov 28 22:56:34 2016 +0200

    Use bloginfo() for the social icons

 gnomegr/home.php |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/gnomegr/home.php b/gnomegr/home.php
index cf19c72..049b672 100644
--- a/gnomegr/home.php
+++ b/gnomegr/home.php
@@ -12,7 +12,7 @@ require_once("header.php"); ?>
 
 <!-- home banner -->
 <div id="home_banner">
-<a href="http://gnome.gr/screenshots/"; title="Στιγμιότυπα του GNOME"><img 
src="/wp-content/uploads/2014/10/snapshot2.png" alt="Κυκλοφόρησε το GNOME!!"/></a>
+<a href="http://gnome.gr/screenshots/"; title="Στιγμιότυπα του GNOME"><img 
src="/wp-content/uploads/sites/7/2014/10/snapshot2.png" alt="Κυκλοφόρησε το GNOME!!"/></a>
 </div>
 
 <div class="welcome_text">
@@ -48,18 +48,19 @@ require_once("header.php"); ?>
 <ul>
        <li>
                <a href="https://www.facebook.com/gnomegr"; target="_blank">
-               <img src="http://gnome.gr/wp-content/themes/gnome-grass/images/social/facebook.png"; 
alt="facebook" width="32" height="32"/>Facebook</a>
+               <img src="<?php bloginfo('template_url')?>/images/social/facebook.png" alt="facebook" 
width="32" height="32"/>Facebook</a>
        </li>
        <li>
-               <a href="http://twitter.com/gnomegr/"; target="_blank">
-               <img src="http://gnome.gr/wp-content/themes/gnome-grass/images/social/twitter.png"; 
alt="twitter" width="32" height="32"/>Twitter</a>
+               <a href="https://twitter.com/gnomegr/"; target="_blank">
+               <img src="<?php bloginfo('template_url')?>/images/social/twitter.png" alt="twitter" 
width="32" height="32"/>Twitter</a>
        </li>
        <li>
-               <a href="https://plus.google.com/+GnomeGr"; target="_blank" style="text-decoration:none;"><img 
src="http://gnome.gr/wp-content/themes/gnome-grass/images/social/gplus.png";  alt="googleplus" 
style="border:0;width:32px; height:32px;"/>Google+</a>
+               <a href="https://plus.google.com/+GnomeGr"; target="_blank" style="text-decoration:none;">
+        <img src="<?php bloginfo('template_url')?>/images/social/gplus.png"  alt="googleplus" 
style="border:0;width:32px; height:32px;"/>Google+</a>
        </li>
        <li>
                <a href="https://github.com/gnomegr"; target="_blank">
-               <img src="http://gnome.gr/wp-content/themes/gnome-grass/images/social/github.png"; 
style="width:33px; height:33px;" alt="github_repo"/>GitHub repo</a>
+               <img src="<?php bloginfo('template_url')?>/images/social/github.png" style="width:33px; 
height:33px;" alt="github_repo"/>GitHub repo</a>
        </li>
 </ul>
 
@@ -140,4 +141,4 @@ require_once("header.php"); ?>
     
     <?php require_once("footer.php"); ?>
 </body>
-</html>
\ No newline at end of file
+</html>


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