Guest User

post-content.php

a guest
Jan 25th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. <?php
  2. if(is_page()):
  3. the_content();
  4. else: ?>
  5. <div class="blog_post">
  6. <div class="blog_postcontent">
  7. <?php if(has_post_thumbnail()) :?>
  8. <div class="image_frame">
  9. <a href="<?php the_permalink(); ?>">
  10. <?php the_post_thumbnail('small_thumbs'); ?>
  11. </a>
  12. </div>
  13. <h3><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h3>
  14. <ul class="post_meta_links">
  15. <li><?php echo get_the_date(); ?></li>
  16. <li class="post_by"><i><?php _e('by:','weblizar'); ?>&nbsp;</i> <?php the_author(); ?></li>
  17. <?php if(get_the_tag_list() != '' ) { ?>
  18. <li class="post_categoty"><i><?php _e('in:','weblizar'); ?>&nbsp;</i> <?php the_tags('', ' ', ''); ?></li>
  19. <?php } ?>
  20. </ul>
  21. <div class="clearfix"></div>
  22. <div class="margin_top1"></div>
  23. <?php endif; ?>
  24. <?php the_content(__('Read more...','weblizar'));
  25. $defaults = array(
  26. 'before' => '<div class="pagination">' . __( 'Pages:','weblizar' ),
  27. 'after' => '</div>',
  28. 'link_before' => '',
  29. 'link_after' => '',
  30. 'next_or_number' => 'number',
  31. 'separator' => ' ',
  32. 'nextpagelink' => __( 'Next page' ,'weblizar'),
  33. 'previouspagelink' => __( 'Previous page' ,'weblizar'),
  34. 'pagelink' => '%',
  35. 'echo' => 1
  36. );
  37. wp_link_pages( $defaults );
  38. ?>
  39. </div>
  40. </div>
  41. <?php endif;?>
Add Comment
Please, Sign In to add comment