Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="container">
- <div id="content" role="main">
- <div id="articles">
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <div id="nav-above" class="navigation">
- </div><!-- #nav-above -->
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <h1 class="entry-title"><?php the_title(); ?></h1>
- <div class="rating">
- <?php echo get_the_term_list( $post->ID, 'rating', __('Author Rating: ', 'appz'), ', ', '' ); // HERE I WANT THE DESCRIPTION (I.E. THE IMAGE THAT I USED AS THE DESCRIPTION INSTEAD OF THE TERM) ?>
- <span class="rating-text">Public Rating: </span><?php if(function_exists('the_ratings')) { the_ratings(); } ?>
- </div><!-- .rating -->
- <div class="reviewcats">
- <?php _e('Type: ', 'theappz'); ?><span class="apptype"><?php echo get_post_meta(get_the_ID(), 'sl_apptype', true); ?></span>
- <?php // exclude certain terms from taxonomy list, see functions.php line 131 ?>
- <?php echo appz_get_the_term_list( $post->ID, 'reviewcats', __('Category: ', 'appz'), ', ', '<br />', array(10,11,17) ); ?>
- <?php echo get_the_term_list( $post->ID, 'keywords', __('Keywords: ', 'appz'), ', ', '' ); ?>
- </div><!-- .reviewcats -->
- <div class="entry-meta">
- </div><!-- .entry-meta -->
- <div class="entry-content">
- </div><!-- .entry-content -->
- <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?>
- <div id="entry-author-info">
- </div><!-- #entry-author-info -->
- <?php endif; ?>
- <div class="entry-utility">
- </div><!-- .entry-utility -->
- </div><!-- #post-## -->
- <div id="nav-below" class="navigation">
- </div><!-- #nav-below -->
- <?php comments_template( '', true ); ?>
- <?php endwhile; // end of the loop. ?>
- </div><!-- #articles -->
- </div><!-- #content -->
- </div><!-- #container -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement