PageRenderTime 46ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/blog/wp-content/themes/albeo/single.php

https://bitbucket.org/sergiohzlz/reportaprod
PHP | 44 lines | 30 code | 14 blank | 0 comment | 3 complexity | b55c58468086136336a9cedee83bf232 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
  1. <?php get_header(); ?>
  2. <div class="navigation">
  3. <div class="previous alignleft"><?php next_post_link('%link') ?></div>
  4. <div class="next alignright"><?php previous_post_link('%link') ?></div>
  5. </div>
  6. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  7. <div <?php post_class(); ?> id="post-<?php the_ID(); ?>" style="margin-bottom: 20px;">
  8. <div class="p-head">
  9. <h1><?php the_title(); ?></h1>
  10. <p class="p-who-date"><?php printf( __('Posted by: %s on: %s', 'albeo'), get_the_author(), get_the_time(get_option('date_format')) ); ?></p>
  11. </div>
  12. <div class="p-det">
  13. <ul>
  14. <li class="p-cat"><?php printf( __( 'In: %s', 'albeo' ), get_the_category_list( ' | ' ) ); ?></li>
  15. <li class="p-com"><a href="<?php the_permalink() ?>#respond" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'albeo'), the_title_attribute('echo=0')); ?>"><?php _e('Comment!', 'albeo'); ?></a></li>
  16. </ul>
  17. </div>
  18. <div class="p-con">
  19. <?php the_content(__('Read the rest of this entry &raquo;', 'albeo')); ?>
  20. <div class="clear"></div>
  21. <?php wp_link_pages(); ?>
  22. <?php edit_post_link(__('Edit this entry.', 'albeo'), '<p>', '</p>'); ?>
  23. </div>
  24. <?php if (function_exists('the_tags')) { ?> <?php the_tags('<div class="p-tag">'.__('Tags:', 'albeo').' ', ', ', '</div>'); ?> <?php } ?>
  25. </div>
  26. <?php comments_template(); ?>
  27. <?php endwhile; else: ?>
  28. <p><?php _e('Sorry, no posts matched your criteria.', 'albeo'); ?></p>
  29. <?php endif; ?>
  30. <?php get_footer(); ?>