Advertisement
Guest User

Indy Owls cords page index

a guest
Mar 14th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. <?php
  2. /**
  3. * Index actions used by the CyberChimps Synapse Core Framework
  4. *
  5. * Author: Tyler Cunningham
  6. * Copyright: Β© 2011
  7. * {@link http://cyberchimps.com/ CyberChimps LLC}
  8. *
  9. * Released under the terms of the GNU General Public License.
  10. * You should have received a copy of the GNU General Public License,
  11. * along with this software. In the main directory, see: /licensing/
  12. * If not, see: {@link http://www.gnu.org/licenses/}.
  13. *
  14. * @package Synapse
  15. * @since 1.0
  16. */
  17.  
  18. /**
  19. * Synapse index actions
  20. */
  21.  
  22. add_action( 'synapse_index', 'synapse_index_content');
  23.  
  24. /**
  25. * Index content
  26. *
  27. * @since 1.0
  28. */
  29. function synapse_index_content() {
  30.  
  31. global $options, $themeslug, $post, $sidebar, $content_grid; // call globals ?>
  32.  
  33. <!--Begin @Core sidebar init-->
  34. <?php synapse_sidebar_init(); ?>
  35. <!--End @Core sidebar init-->
  36. <div class="row">
  37. <!--Begin @Core before content sidebar hook-->
  38. <?php synapse_before_content_sidebar(); ?>
  39. <!--End @Core before content sidebar hook-->
  40.  
  41. <div id="content" class="<?php echo $content_grid; ?>">
  42.  
  43. <!--Begin @Core index entry hook-->
  44. <?php synapse_blog_content_slider(); ?>
  45. <!--End @Core index entry hook-->
  46.  
  47. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  48.  
  49. <div class="post_container">
  50. <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  51.  
  52. <!--Begin @Core index loop hook-->
  53. <?php synapse_loop(); ?>
  54. <!--End @Core index loop hook-->
  55.  
  56. <!--Begin @Core link pages hook-->
  57. <?php synapse_link_pages(); ?>
  58. <!--End @Core link pages hook-->
  59.  
  60. <!--Begin @Core post edit link hook-->
  61. <?php synapse_edit_link(); ?>
  62. <!--End @Core post edit link hook-->
  63.  
  64. <!--Begin @Core FB like hook-->
  65. <?php synapse_fb_like_plus_one(); ?>
  66. <!--End @Core FB like hook-->
  67.  
  68. <!--Begin @Core post tags hook-->
  69. <?php synapse_post_tags(); ?>
  70. <!--End @Core post tags hook-->
  71.  
  72. <?php if (is_single() && $options->get($themeslug.'_post_pagination') == "1") : ?>
  73. <!--Begin @Core post pagination hook-->
  74. <?php synapse_post_pagination(); ?>
  75. <!--End @Core post pagination hook-->
  76. <?php endif;?>
  77.  
  78. </div><!--end post_class-->
  79. </div><!--end post container-->
  80. <!--Begin @iFeature post bar hook-->
  81. <?php synapse_post_bar(); ?>
  82. <!--End @iFeature post bar hook-->
  83.  
  84. <?php if (is_single()):?>
  85. <?php comments_template(); ?>
  86. <?php endif ?>
  87.  
  88.  
  89. <?php endwhile; ?>
  90.  
  91. <?php else : ?>
  92.  
  93. <h2>Not Found</h2>
  94.  
  95. <?php endif; ?>
  96.  
  97. <!--Begin @Core pagination hook-->
  98. <?php synapse_pagination(); ?>
  99. <!--End @Core pagination loop hook-->
  100.  
  101. </div><!--end content-->
  102.  
  103. <!--Begin @Core after content sidebar hook-->
  104. <?php synapse_after_content_sidebar(); ?>
  105. <!--End @Core after content sidebar hook-->
  106.  
  107. </div>
  108. <?php }
  109.  
  110. /**
  111. * End
  112. */
  113.  
  114. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement