Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.28 KB | None | 0 0
  1. </div><!--.container_12-->
  2. </div><!--.container-->
  3. </div>
  4. <footer id="footer">
  5. <?php if (is_front_page()) : ?>
  6. <div id="widget-footer">
  7. <div class="container_12 clearfix">
  8. <?php if ( ! dynamic_sidebar( 'Footer' ) ) : ?>
  9. <!--Widgetized Footer-->
  10. <?php endif; ?>
  11. </div>
  12. </div>
  13. <?php endif; ?>
  14. <div id="copyright" class="clearfix">
  15. <div class="container_12 clearfix">
  16. <div class="grid_12">
  17.  
  18. <div id="back-top-wrapper">
  19. <p id="back-top">
  20. <a href="#top"><span></span><span class="hover"></span></a>
  21. </p>
  22. </div>
  23.  
  24. <div id="footer-text">
  25. <?php $myfooter_text = of_get_option('footer_text'); ?>
  26.  
  27. <?php if($myfooter_text){?>
  28. <?php echo of_get_option('footer_text'); ?>
  29. <?php } else { ?>
  30. <a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>" class="site-name"><?php bloginfo('name'); ?></a> <?php _e('is proudly powered by', 'theme1837'); ?> <a href="http://wordpress.org">WordPress</a> <a href="<?php if ( of_get_option('feed_url') != '' ) { echo of_get_option('feed_url'); } else bloginfo('rss2_url'); ?>" rel="nofollow" title="<?php _e('Entries (RSS)', 'theme1837'); ?>"><?php _e('Entries (RSS)', 'theme1837'); ?></a> and <a href="<?php bloginfo('comments_rss2_url'); ?>" rel="nofollow"><?php _e('Comments (RSS)', 'theme1837'); ?></a>
  31. <?php } ?>
  32. <br />
  33. <?php if( is_front_page() ) { ?>
  34. <!-- {%FOOTER_LINK} -->
  35. <?php } ?>
  36. </div>
  37.  
  38. </div>
  39. </div>
  40. </div><!--.container-->
  41. </footer>
  42. </div><!--#main-->
  43. <?php wp_footer(); ?> <!-- this is used by many Wordpress features and for plugins to work properly -->
  44. <?php if(of_get_option('ga_code')) { ?>
  45. <script type="text/javascript">
  46. <?php echo stripslashes(of_get_option('ga_code')); ?>
  47. </script>
  48. <!-- Show Google Analytics -->
  49. <?php } ?>
  50. </body>
  51. </html>
  52.  
  53. <?php
  54. /**
  55. * Template Name: Home Page
  56. */
  57.  
  58. get_header(); ?>
  59. <div class="clearfix">
  60. <div class="grid_3">
  61. <div class="left-column">
  62. <?php if ( ! dynamic_sidebar( 'Left Home Area' ) ) : ?><!-- Wigitized Home --><?php endif ?>
  63. </div>
  64. </div>
  65. <div class="grid_9">
  66. <?php if( is_front_page() ) { ?>
  67. <section id="slider-wrapper">
  68. <?php include_once(TEMPLATEPATH . '/slider.php'); ?>
  69. </section><!--#slider-->
  70. <?php } ?>
  71.  
  72. <div class="row">
  73. <?php if ( ! dynamic_sidebar( 'Right Home Area #1' ) ) : ?><!-- Wigitized Home --><?php endif ?>
  74. </div>
  75.  
  76. <div class="row-1">
  77. <?php if ( ! dynamic_sidebar( 'Right Home Area #2' ) ) : ?><!-- Wigitized Home --><?php endif ?>
  78. </div>
  79.  
  80. </div>
  81. </div>
  82. <?php get_footer(); ?>
  83.  
  84. <?php get_header(); ?>
  85.  
  86. <div id="content" class="grid_9 <?php echo of_get_option('blog_sidebar_pos') ?>">
  87. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  88. <div id="post-<?php the_ID(); ?>" <?php post_class('page'); ?>>
  89. <article class="post-holder">
  90. <div class="header-title">
  91. <h1><?php the_title(); ?></h1>
  92. </div>
  93. <?php if(has_post_thumbnail()) {
  94. echo '<a href="'; the_permalink(); echo '">';
  95. echo '<figure class="featured-thumbnail"><span class="img-wrap">'; the_post_thumbnail(); echo '</span></figure>';
  96. echo '</a>';
  97. }
  98. ?>
  99. <div id="page-content">
  100. <?php the_content(); ?>
  101. <div class="pagination">
  102. <?php wp_link_pages('before=<div class="pagination">&after=</div>'); ?>
  103. </div><!--.pagination-->
  104. </div><!--#pageContent -->
  105. </article>
  106. </div><!--#post-# .post-->
  107.  
  108. <?php endwhile; ?>
  109. </div><!--#content-->
  110. <?php get_sidebar(); ?>
  111. <?php get_footer(); ?>
  112.  
  113. <?php if (is_front_page()) : ?>
  114. <div id="widget-footer">
  115. <div class="container_12 clearfix">
  116. <?php if ( ! dynamic_sidebar( 'Footer' ) ) : ?>
  117. <!--Widgetized Footer-->
  118. <?php endif; ?>
  119. </div>
  120. </div>
  121. <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement