Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package WordPress
- * @subpackage MagUp_Theme
- */
- get_header();
- ?>
- <div id="content_frame">
- <div id="content" class="narrowcolumn" role="main">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
- <h2><?php the_title(); ?></h2>
- <div class="postinfo">
- <?php printf(__('This entry was posted on %1$s at %2$s and is filed under %3$s.','magup'), get_the_time(__('l, F jS, Y','magup')), get_the_time(), get_the_category_list(', ')); ?>
- </div>
- <div class="entry">
- <?php the_content('<p class="serif">' . __('Read the rest of this entry »','magup') . '</p>'); ?>
- <?php wp_link_pages( 'after= &next_or_number=next
- &previouspagelink=Previous
- &nextpagelink= Next'); ?>
- <div class="clear"></div>
- <div class="clear"></div>
- <div id="addInfo">
- <?php the_tags( '<div class="addInfo tags"><h2>' . __('Tags:','magup') . '</h2> ', ' ', '</div>'); ?>
- <div class="addInfo author">
- <h2>About the author</h2>
- <?php
- if (function_exists('get_cimyFieldValue')) $image_url = get_cimyFieldValue(get_the_author_ID(), 'AVATAR');
- if (isset($image_url) && $image_url != NULL){
- $thumb_url = cimy_get_thumb_path($image_url);
- echo '<img src=" '. $thumb_url .' " class="author-thumb" alt="'.get_the_author().'" />';
- }
- echo '<p><strong>'.get_the_author().'</strong></p>';
- echo '<p>'.the_author_meta( 'description' ).'</p>';
- ?>
- </div>
- <br clear="both" />
- </div>
- </div>
- </div>
- <?php comments_template(); ?>
- <?php endwhile; else: ?>
- <p><?php _e('Sorry, no posts matched your criteria.','magup'); ?></p>
- <?php endif; ?>
- </div>
- <?php get_sidebar(); ?>
- <div class="clear"></div>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement