Advertisement
Guest User

footer

a guest
Sep 5th, 2012
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. <?php
  2. /**
  3. * The template for displaying the footer.
  4. *
  5. * @package WordPress
  6. * @subpackage Paradise
  7. */
  8. ?>
  9. <?php get_sidebar('footer'); ?>
  10. <!-- Start Footer -->
  11. <div id="footer">
  12. <p class="copy"><?php echo get_option('copyright'); ?></p>
  13. <p class="developed_by"><?php _e('Developed By:', TEMPLATENAME); ?>&nbsp;<a href="http://themeforest.net/user/ThemeMakers?ref=ThemeMakers">ThemeMakers</a></p>
  14. <div class="clear"></div>
  15. </div>
  16. <!-- End Footer -->
  17. <?php
  18. /* Always have wp_footer() just before the closing </body>
  19. * tag of your theme, or you will break many plugins, which
  20. * generally use this hook to reference JavaScript files.
  21. */
  22.  
  23. wp_footer();
  24.  
  25. if (is_portfolio() || is_tax('gallery')):
  26. ?>
  27.  
  28. <!-- PrettyPhoto Lightbox Plugin Init -->
  29. <script type="text/javascript">
  30. function reloadPrettyPhoto() {
  31. jQuery(".pp_pic_holder").remove();
  32. jQuery(".pp_overlay").remove();
  33. jQuery(".ppt").remove();
  34. init_pretty();
  35. }
  36.  
  37. function init_pretty(){
  38. jQuery('a[rel^="prettyPhoto"]').prettyPhoto({
  39. animationSpeed: 'normal',
  40. opacity: 0.70,
  41. showTitle: false,
  42. allowresize: true,
  43. counter_separator_label: '/',
  44. theme: '<?php echo get_option('lightbox_skin'); ?>'
  45. });
  46. };
  47.  
  48. jQuery(document).ready(function($){
  49. // Image Preload
  50. $('a.gall').preloader({
  51. delay:300,
  52. check_timer:100,
  53. ondone: init_pretty,
  54. oneachload:function(image){ },
  55. fadein:300,
  56. icon_src: '<?php echo get_bloginfo('template_url').'/images/loader.gif'; ?>'
  57. });
  58. });
  59. </script>
  60. <?php endif; ?>
  61. </body>
  62. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement