This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!

footer.php

By: sabresong on Jan 8th, 2012  |  syntax: PHP  |  size: 2.04 KB  |  views: 27  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * The template used to display the footer
  4.  *
  5.  * Contains the closing of the id=main div and all content
  6.  * after.  Calls sidebar-footer.php for bottom widgets
  7.  *
  8.  */
  9. ?>
  10.     </div><!-- #main -->
  11. <?php if (weaver_getopt_checked('ttw_footer_last')) echo("</div><!-- #wrapper -->\n"); ?>
  12.     <?php
  13.     if (!weaver_is_checked_page_opt('ttw-hide-footer')) {
  14.     weaver_put_area('prefooter');
  15.     if (!weaver_getopt('ttw_hide_footer')) {
  16.     ?>
  17.         <div id="footer">
  18.                 <div id="colophon">
  19. <?php   get_sidebar( 'footer' );
  20.         echo(do_shortcode(weaver_getopt('ttw_footer_opts')));   /* here is where the footer options get inserted */
  21.         do_action('wvrx_extended_footer');                      /* anything in the extended footer */
  22.         do_action('wvrx_plus_footer');                          /* after ttw_footer_opts added */
  23.         $date = getdate();
  24.         $year = $date['year'];
  25. ?>
  26. <table id='ttw_ftable'><tr>
  27.  <td id='ttw_ftdl'><div id="site-info">
  28. <?php $cp = weaver_getopt('ttw_copyright');
  29.         if (strlen($cp) > 0) { echo(do_shortcode($cp) . '</div></td>'); }
  30.         else { ?>
  31.  &copy; <?php echo($year); ?> - <a href="<?php echo home_url( '/' ) ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
  32.  </div></td> <?php }
  33.         if (! weaver_getopt('ttw_hide_poweredby')) { ?>
  34.  <td id='ttw_ftdr'><div id="site-generator">
  35.  <?php do_action('weaver_credits' ); ?>
  36.  <a href="http://wordpress.org/" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', WEAVER_TRANS ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s.', WEAVER_TRANS ), 'WordPress' ); ?></a>
  37.  <?php echo(WEAVER_THEMENAME); ?> by WPWeaver.info
  38.  </div></td> <?php } ?>
  39. </tr></table>
  40.                 </div><!-- #colophon -->
  41.         </div><!-- #footer -->
  42.     <?php
  43.     }
  44.     weaver_put_area('postfooter');
  45.     } /* end of ttw-hide-footer */ ?>
  46. <?php if (!weaver_getopt_checked('ttw_footer_last')) echo("</div><!-- #wrapper -->\n"); ?>
  47.  
  48. <?php echo(do_shortcode(weaver_getopt('ttw_end_opts')) ."\n"); /* and this is the end options insertion */
  49.       wp_footer();  ?>
  50. </body>
  51. </html>
clone this paste RAW Paste Data