Advertisement
Guest User

Indy Owls cords page

a guest
Mar 14th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. <?php
  2. /**
  3. * Page 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 page actions
  20. */
  21.  
  22. add_action('synapse_page_section', 'synapse_page_section_content' );
  23.  
  24. /**
  25. * Sets up the page content.
  26. *
  27. * @since 1.0
  28. */
  29. function synapse_page_section_content() {
  30. global $options, $themeslug, $post, $sidebar, $content_grid;
  31.  
  32. synapse_sidebar_init();
  33.  
  34. $hidetitle = get_post_meta($post->ID, 'hide_page_title' , true);
  35.  
  36.  
  37. ?>
  38. <div class="row">
  39. <!--Begin @Core before content sidebar hook-->
  40. <?php synapse_before_content_sidebar(); ?>
  41. <!--End @Core before content sidebar hook-->
  42.  
  43. <div id="content" class="<?php echo $content_grid; ?>">
  44.  
  45. <?php synapse_page_content_slider(); ?>
  46.  
  47. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  48.  
  49. <div class="post_container">
  50.  
  51. <div class="post" id="post-<?php the_ID(); ?>">
  52. <?php if ($hidetitle == "on" OR $hidetitle == ""): ?>
  53.  
  54.  
  55. <h2 class="posts_title"><?php the_title(); ?></h2>
  56. <?php endif;?>
  57.  
  58. <div class="entry">
  59.  
  60. <?php the_content(); ?>
  61.  
  62. </div><!--end entry-->
  63.  
  64. <div style=clear:both;></div>
  65. <?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>
  66.  
  67.  
  68. <?php edit_post_link('Edit', '<p>', '</p>'); ?>
  69.  
  70. </div><!--end post-->
  71.  
  72. <?php comments_template(); ?>
  73.  
  74. <?php endwhile; endif; ?>
  75. </div><!--end post_container-->
  76.  
  77. </div><!--end content_left-->
  78.  
  79. <!--Begin @Core after content sidebar hook-->
  80. <?php synapse_after_content_sidebar(); ?>
  81. <!--End @Core after content sidebar hook-->
  82. </div>
  83. <?php
  84. }
  85.  
  86. /**
  87. * End
  88. */
  89.  
  90. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement