Advertisement
Guest User

footer .php

a guest
Nov 1st, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. <div id="footer">
  2. <?php get_sidebar( 'footer' ); ?>
  3. <div id="copyright">
  4. <p class="copyright"><?php esplanade_copyright_notice(); ?></p>
  5. <?php if( esplanade_get_option( 'theme_credit_link' ) || esplanade_get_option( 'author_credit_link' ) || esplanade_get_option( 'wordpress_credit_link' ) ) : ?>
  6. <p class="credits">
  7. <?php $theme_credit_link = '<a href="' . esc_url( 'http://www.onedesigns.com/wordpress-themes/esplanade-free-wordpress-theme' ) . '" title="' . esc_attr( __( 'Esplanade Theme', 'esplanade' ) ) . '">' . __( 'Esplanade Theme', 'esplanade' ) . '</a>'; ?>
  8. <?php $author_credit_link = '<a href="' . esc_url( 'http://www.onedesigns.com/' ) . '" title="' . esc_attr( __( 'One Designs', 'esplanade' ) ) . '">' . __( 'One Designs', 'esplanade' ) . '</a>'; ?>
  9. <?php $wordpress_credit_link = '<a href="' . esc_url( 'http://wordpress.org/' ) . '" title="' . esc_attr( __( 'WordPress', 'esplanade' ) ) . '">' . __( 'WordPress', 'esplanade' ) . '</a>';; ?>
  10. <?php if( esplanade_get_option( 'theme_credit_link' ) && esplanade_get_option( 'author_credit_link' ) && esplanade_get_option( 'wordpress_credit_link' ) ) : ?>
  11. <?php echo sprintf( __( 'Powered by %1$s by %2$s and %3$s', 'esplanade' ), $theme_credit_link, $author_credit_link, $wordpress_credit_link ); ?>
  12. <?php elseif( esplanade_get_option( 'theme_credit_link' ) && esplanade_get_option( 'author_credit_link' ) && ! esplanade_get_option( 'wordpress_credit_link' ) ) : ?>
  13. <?php echo sprintf( __( 'Powered by %1$s by %2$s', 'esplanade' ), $theme_credit_link, $author_credit_link ); ?>
  14. <?php elseif( esplanade_get_option( 'theme_credit_link' ) && ! esplanade_get_option( 'author_credit_link' ) && esplanade_get_option( 'wordpress_credit_link' ) ) : ?>
  15. <?php echo sprintf( __( 'Powered by %1$s and %2$s', 'esplanade' ), $theme_credit_link, $wordpress_credit_link ); ?>
  16. <?php elseif( ! esplanade_get_option( 'theme_credit_link' ) && esplanade_get_option( 'author_credit_link' ) && esplanade_get_option( 'wordpress_credit_link' ) ) : ?>
  17. <?php echo sprintf( __( 'Powered by %1$s and %2$s', 'esplanade' ), $author_credit_link, $wordpress_credit_link ); ?>
  18. <?php elseif( esplanade_get_option( 'theme_credit_link' ) && ! esplanade_get_option( 'author_credit_link' ) && ! esplanade_get_option( 'wordpress_credit_link' ) ) : ?>
  19. <?php echo sprintf( __( 'Powered by %1$s', 'esplanade' ), $theme_credit_link ); ?>
  20. <?php elseif( ! esplanade_get_option( 'theme_credit_link' ) && esplanade_get_option( 'author_credit_link' ) && ! esplanade_get_option( 'wordpress_credit_link' ) ) : ?>
  21. <?php echo sprintf( __( 'Powered by %1$s', 'esplanade' ), $author_credit_link ); ?>
  22. <?php elseif( ! esplanade_get_option( 'theme_credit_link' ) && ! esplanade_get_option( 'author_credit_link' ) && esplanade_get_option( 'wordpress_credit_link' ) ) : ?>
  23. <?php echo sprintf( __( 'Powered by %1$s', 'esplanade' ), $wordpress_credit_link ); ?>
  24. <?php endif; ?>
  25. </p>
  26. <?php endif; ?>
  27. <div class="clear"></div>
  28. </div><!-- #copyright -->
  29. </div><!-- #footer -->
  30. </div><!-- #wrapper -->
  31. <?php wp_footer(); ?>
  32. </body>
  33. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement