PageRenderTime 41ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-content/themes/news/video.php

https://bitbucket.org/lgorence/quickpress
PHP | 70 lines | 33 code | 28 blank | 9 comment | 1 complexity | 7be937ca421d7356e79212ade5d22e94 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, AGPL-1.0
  1. <?php
  2. /**
  3. * Video Template
  4. *
  5. * @package News
  6. * @subpackage Template
  7. * @since 0.1.0
  8. * @deprecated 0.3.0 Please include this template in your child theme if you plan to continue using it.
  9. */
  10. /* Deprecated file in version 0.3.0. */
  11. _deprecated_file( basename( __FILE__ ), '0.3.0', null, sprintf( __( 'Please copy the %s template from this theme into your child theme folder.', 'news' ), basename( __FILE__ ) ) );
  12. get_header(); ?>
  13. <!-- Begin featured area. -->
  14. <div id="feature">
  15. <?php while ( have_posts() ) : the_post(); ?>
  16. <?php do_atomic( 'before_entry' ); // Before entry hook ?>
  17. <div class="<?php hybrid_entry_class(); ?>">
  18. <?php do_atomic( 'open_entry' ); // Open entry hook ?>
  19. <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
  20. <div class="entry-content">
  21. <?php the_content(); ?>
  22. </div><!-- .entry-content -->
  23. <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '<span class="share">Share this on:</span> [entry-mixx-link] [entry-delicious-link] [entry-digg-link] [entry-facebook-link] [entry-twitter-link] [entry-email-link] [entry-popup-shortlink]', 'news' ) . '</div>' ); ?>
  24. <?php do_atomic( 'close_entry' ); // Close entry hook ?>
  25. </div><!-- .hentry -->
  26. <?php do_atomic( 'after_entry' ); // After entry hook ?>
  27. <?php endwhile; ?>
  28. <?php get_sidebar( 'video' ); ?>
  29. </div>
  30. <!-- End featured area. -->
  31. <?php do_atomic( 'before_content' ); // Before content hook ?>
  32. <div id="content">
  33. <?php do_atomic( 'open_content' ); // Open content hook ?>
  34. <div class="hfeed">
  35. <?php the_post(); ?>
  36. <?php do_atomic( 'after_singular' ); // After singular hook ?>
  37. <?php comments_template( '/comments.php', true ); ?>
  38. </div><!-- .hfeed -->
  39. <?php do_atomic( 'close_content' ); // Close content hook ?>
  40. </div><!-- #content -->
  41. <?php do_atomic( 'after_content' ); // After content hook ?>
  42. <?php get_footer(); ?>