Advertisement
centennialchristianc

Ray of Light Footer.php

Feb 6th, 2012
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. <div class="clear-footer"></div>
  2.  
  3. <!-- END .container -->
  4. </div>
  5.  
  6. <!-- BEGIN .footer-wrapper -->
  7. <div class="footer-wrapper">
  8. <!-- BEGIN .footer -->
  9.  
  10. <div class="footer">
  11. <!-- BEGIN .cross-hill -->
  12.  
  13. <?php
  14. global $theme_name;
  15. if((get_option("".$theme_name."_cross_hill")) == "on") {
  16. ?>
  17. <span class="cross-hill">&nbsp;</span>
  18. <?php } ?>
  19. <!-- END .cross-hill -->
  20. <?php
  21. $twitter = get_option("theme_twitter_url");
  22. $facebook = get_option("theme_facebook_url");
  23. $linkedin = get_option("theme_linkedin_url");
  24. $digg = get_option("theme_digg_url");
  25. $phone = get_option("theme_phone");
  26. $mail = get_option("theme_mail");
  27. $link_1 = get_option("theme_footer_link_1");
  28. $link_name_1 = get_option("theme_footer_link_name_1");
  29. $link_2 = get_option("theme_footer_link_2");
  30. $link_name_2 = get_option("theme_footer_link_name_2");
  31. $link_3 = get_option("theme_footer_link_3");
  32. $link_name_3 = get_option("theme_footer_link_name_3");
  33. $link_4 = get_option("theme_footer_link_4");
  34. $link_name_4 = get_option("theme_footer_link_name_4");
  35. if(get_option("show_rss_icon")) {
  36. $rss = get_option("theme_rss_url");
  37. if($rss == "") $rss = get_bloginfo("rss_url");
  38. } else { $rss = false; }
  39. ?>
  40. <table>
  41. <tr>
  42. <?php if($phone || $mail) { ?>
  43. <td>
  44. <h2><?php printf ( __( 'Contact Information' , 'rayoflight' ));?></h2>
  45. <?php if($phone) { ?><span class="phone"><?php echo $phone;?></span><?php } ?>
  46. <?php if($mail) { ?><a class="email" href="mailto:<?php echo $mail;?>"><?php echo $mail;?></a><?php } ?>
  47. <p><?php echo get_option("theme_footer_text"); ?></p>
  48. </td>
  49. <?php } ?>
  50.  
  51. <?php if($link_1 || $link_2 || $link_3 || $link_4) { ?>
  52. <td class="spacer"></td>
  53. <td>
  54. <h2><?php printf ( __( 'Shortcuts' , 'rayoflight' ));?></h2>
  55. <ul>
  56. <?php if($link_name_1) { ?><li><a href="<?php echo $link_1;?>"><?php echo $link_name_1;?></a></li>
  57. <?php } ?> <?php if($link_name_2) { ?><li><a href="<?php echo $link_2;?>"><?php echo $link_name_2;?></a></li><?php } ?>
  58. <?php if($link_name_3) { ?><li><a href="<?php echo $link_3;?>"><?php echo $link_name_3;?></a></li><?php } ?>
  59. <?php if($link_name_4) { ?><li><a href="<?php echo $link_4;?>"><?php echo $link_name_4;?></a></li><?php } ?>
  60. </ul>
  61. </td>
  62. <?php } ?>
  63.  
  64. <?php if($facebook || $twitter || $digg || $rss) { ?>
  65. <td class="spacer"></td>
  66. <td>
  67. <h2><?php printf ( __( 'Social Contacts' , 'rayoflight' ));?></h2>
  68. <ul>
  69. <?php if($facebook) { ?><li class="facebook"><a href="<?php echo $facebook; ?>"><?php printf ( __( 'Friend Us On <b>Facebook</b>' , 'rayoflight' ));?></a></li><?php } ?>
  70. <?php if($twitter) { ?><li class="twitter"><a href="<?php echo $twitter; ?>"><?php printf ( __( 'Follow Us On <b>Twitter</b>' , 'rayoflight' ));?></a></li><?php } ?>
  71. <?php if($digg) { ?><li class="digg"><a href="<?php echo $digg; ?>"><?php printf ( __( 'Dig Our Posts On <b>Digg</b>' , 'rayoflight' ));?></a></li><?php } ?>
  72. <?php if($rss) { ?><li class="rss"><a href="<?php echo $rss; ?>"><?php printf ( __( 'Subscribe To Our <b>RSS</b> Feed' , 'rayoflight' ));?></a></li><?php } ?>
  73. </ul>
  74. </td>
  75. <?php } ?>
  76.  
  77. </tr>
  78. </table>
  79.  
  80. <!-- END .footer -->
  81. </div>
  82.  
  83. <!-- END .footer-wrapper -->
  84. </div>
  85.  
  86. <!-- BEGIN .footer-wrapper-2 -->
  87. <div class="footer-wrapper-2">
  88.  
  89. <!-- BEGIN .footer-2 -->
  90. <div class="footer-2">
  91.  
  92. <div class="left"><B>|| &copy; 2011 Centennial Christian Church ||</B></div>
  93. <center> | <a href="http://www.centennialchristianchurch.com/wp-admin/">Admin Portal</a> |
  94.  
  95. <div class="right"><B>|| Web Design by <a href="http://www.dnatecservices.com">DNA Tec Services INC.</a> || Hosted by <a href="http://www.dnatechosting.com">DNA Tec Hosting Hosting</a> ||</B></div>
  96.  
  97. <!-- END .footer-2 -->
  98. </div>
  99.  
  100. <!-- END .footer-wrapper-2 -->
  101. </div>
  102.  
  103. <?php wp_footer(); ?>
  104.  
  105. </body>
  106.  
  107. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement