Advertisement
Guest User

Untitled

a guest
Jan 19th, 2014
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. <?php
  2. /**
  3. * The Footer Template.
  4. *
  5. * @package WordPress
  6. * @subpackage ASI Theme
  7. * @since IOA Framework V 1.0
  8. */
  9.  
  10. global $super_options,$helper,$meta_data ;
  11. ?>
  12.  
  13.  
  14. <?php
  15. if( ! (isset($_SESSION['rad_mode']) && $_SESSION['rad_mode'] =='active') && !isset($_GET['rad_preview'])) :
  16. /**
  17. * This Code runs for Above Footer Sidebar Layout.
  18. */
  19. if(isset($meta_data['layout']) && $meta_data['layout']=="above-footer") : ?>
  20.  
  21. <div class="sidebar <?php echo $meta_data['layout']; ?>" id="sidebar" itemscope itemtype="http://schema.org/WPSideBar"><!-- start of one-third column -->
  22.  
  23. <div class="skeleton auto_align clearfix">
  24. <?php
  25. if ($meta_data['layout']!="none" && trim($meta_data['layout'])!="" ) {
  26. dynamic_sidebar ($meta_data['sidebar']);
  27. }
  28. else {
  29. dynamic_sidebar ("Blog Sidebar");
  30. }
  31. ?>
  32. </div>
  33. </div>
  34.  
  35.  
  36. <?php endif; endif; ?>
  37.  
  38.  
  39. <?php if($meta_data['ioa_custom_template']!='ioa-template-blank-page') : ?>
  40. <div id="footer" itemscope itemtype="http://schema.org/WPFooter">
  41. <!-- Footer Widgets area -->
  42. <?php get_template_part('templates/content-footer-widgets'); ?>
  43.  
  44. <!-- Footer Menu area -->
  45. <?php get_template_part('templates/content-footer-menu'); ?>
  46.  
  47. </div>
  48.  
  49. <?php if(! (isset($_SESSION['rad_mode']) && $_SESSION['rad_mode'] =='active'&& !isset($_GET['rad_preview'])) ) get_template_part('templates/sticky-contact'); ?>
  50.  
  51. </div>
  52. </div>
  53. <?php endif; ?>
  54.  
  55.  
  56. <a href="" class="back-to-top icon icon-angle-up"></a>
  57.  
  58.  
  59. <script type="text/javascript">
  60. <?php echo stripslashes($super_options[SN.'_tracking_code']); ?>
  61. </script>
  62.  
  63. <?php
  64. if(isset($_SESSION['rad_mode']) && $_SESSION['rad_mode'] =='active'&& !isset($_GET['rad_preview']))
  65. {
  66. get_template_part('templates/rad/init');
  67. rad_footer();
  68.  
  69.  
  70. if ( ! class_exists( '_WP_Editors' ) )
  71. {
  72. require( ABSPATH . WPINC . '/class-wp-editor.php' );
  73. }
  74. _WP_Editors::editor_js();
  75. }
  76. else
  77. wp_footer();
  78.  
  79. ?>
  80.  
  81. </body>
  82. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement