Posted By

jkupko on 10/19/11


Tagged


Versions (?)

site-footer.php


 / Published in: PHP
 

  1. <?php
  2. /**
  3.  * The site footer. This file should not be loaded by itself, but should instead be included using get_template_part or locate_template.
  4.  * Replacing this file in a child theme is the easiest and upgrade-safe way to "get rid of" the footer credits!
  5.  * Users can override this in a child theme.
  6.  *
  7.  * @since 3.8.3
  8.  * @package Suffusion
  9.  * @subpackage Custom
  10.  */
  11.  
  12. global $suf_footer_left, $suf_footer_center, $suf_footer_layout_style;
  13. $display = apply_filters('suffusion_can_display_site_footer', true);
  14. if (!$display) {
  15. return;
  16. }
  17. if ($suf_footer_layout_style != 'in-align') {
  18. ?>
  19. <div id='page-footer'>
  20. <div class='col-control'>
  21. <?php
  22.  
  23. }
  24. ?>
  25. <div id="cred">
  26. <table>
  27. <tr>
  28. <td class="cred-center"><?php $strip = stripslashes($suf_footer_center); $strip = wp_specialchars_decode($strip, ENT_QUOTES); echo do_shortcode($strip); ?></td>
  29. </tr>
  30. <tr>
  31. <td class="cred-left"><?php $strip = stripslashes($suf_footer_left); $strip = wp_specialchars_decode($strip, ENT_QUOTES); echo do_shortcode($strip); ?></td>
  32. </tr>
  33. </table>
  34. </div>
  35. <?php
  36. if ($suf_footer_layout_style != 'in-align') {
  37. ?>
  38. </div>
  39. </div>
  40. <?php
  41.  
  42. }
  43. ?>
  44. <!-- <?php echo get_num_queries(); ?> queries, <?php suffusion_get_memory_usage(); ?> in <?php timer_stop(1); ?> seconds. -->

Report this snippet  

You need to login to post a comment.