Advertisement
bastetmilo

Untitled

Nov 7th, 2015
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="content" class="clearfix">
  4. <div id="page-title">
  5. <h1 class="entry-title"><?php echo get_the_title( $post->ID ); ?> </h1>
  6. </div>
  7. <div class="wrapper-outer content-wrapper-page">
  8.  
  9. <!-- BEGIN FEATURED IMAGE -->
  10. <div class="featured-image">
  11. <a href="<?php the_permalink(); ?>">
  12. <?php the_post_thumbnail(); ?>
  13. </a>
  14. </div>
  15. <!-- END FEATURED IMAGE -->
  16.  
  17. <!-- BEGIN CUSTOM FIELD FOR EMBEDDABLE CONTENT -->
  18. <?php $featuredembed = get_post_meta($post->ID, 'FeaturedEmbed', true); ?>
  19. <div class="video-container"><?php echo $featuredembed; ?></div>
  20. <!-- END CUSTOM FIELD FOR EMBEDDABLE CONTENT -->
  21.  
  22. <!-- BEGIN SHORTCODE OUTSIDE THE LOOP -->
  23. <div class="post-shortcode">
  24. <?php $shortcode = get_post_meta($post->ID, 'Shortcode', true); ?><?php echo do_shortcode($shortcode); ?>
  25. </div>
  26. <!-- END SHORTCODE OUTSIDE THE LOOP -->
  27. <?php while ( have_posts() ) : the_post(); ?>
  28.  
  29.  
  30. <div class="page-wrapper">
  31.  
  32.  
  33.  
  34. <!-- BEGIN PAGE TITLE -->
  35.  
  36. <!-- END PAGE TITLE -->
  37.  
  38. <!-- BEGIN PAGE CONTENT -->
  39. <div class="entry-content"><?php the_content(); ?></div>
  40. <!-- END PAGE CONTENT -->
  41.  
  42. <!-- BEGIN POST NAVIGATION -->
  43. <div class="link-pages">
  44. <?php wp_link_pages(array('before' => '<p><strong>'.__('Pages:', 'bonfire').'</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  45. </div>
  46. <!-- END POST NAVIGATION -->
  47.  
  48. <!-- BEGIN EDIT POST LINK -->
  49. <?php edit_post_link(__('EDIT', 'bonfire')); ?>
  50. <!-- END EDIT POST LINK -->
  51.  
  52. <?php endwhile; ?>
  53.  
  54. </div>
  55. <!-- /.page-wrapper -->
  56.  
  57. </div>
  58. <!-- /.wrapper-outer -->
  59. </div>
  60. <!-- /#content -->
  61.  
  62. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement