/** * The Tag loop * * Located in tag.php * * Override: childtheme_override_tag_loop */ function thematic_tag_loop() { while (have_posts()) { the_post(); // action hook for insterting content above #post thematic_abovepost(); ?> <div id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <?php // creating the post header thematic_postheader(); ?> <div class="entry-content"> <?php thematic_content(); ?> </div><!-- .entry-content --> <?php thematic_postfooter(); ?> </div><!-- #post --> <?php // action hook for insterting content below #post thematic_belowpost(); } }
thematic_postheader(); ?> <div class="entry-content"> <?php the_content(); wp_link_pages("\t\t\t\t\t<div class='page-link'>" . __('Pages: ', 'thematic'), "</div>\n", 'number'); edit_post_link(__('Edit', 'thematic'), '<span class="edit-link">', '</span>'); ?> </div><!-- .entry-content --> </div><!-- #post --> <?php thematic_belowpost(); // calling the comments template if (THEMATIC_COMPATIBLE_COMMENT_HANDLING) { if (get_post_custom_values('comments')) { // Add a key/value of "comments" to enable comments on pages! thematic_comments_template(); } } else { thematic_comments_template(); } // calling the widget area 'page-bottom' get_sidebar('page-bottom'); ?> </div><!-- #content -->
/** * The single posts xhtml loop * * @since 2.0.0 */ function thematic_single_post_xhtml() { // action hook for insterting content above #post thematic_abovepost(); ?> <div id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <?php // creating the post header thematic_postheader(); ?> <div class="entry-content"> <?php thematic_content(); ?> <?php wp_link_pages(array('before' => sprintf('<div class="page-link">%s', __('Pages:', 'thematic')), 'after' => '</div>')); ?> </div><!-- .entry-content --> <?php thematic_postfooter(); ?> </div><!-- #post --> <?php // action hook for insterting content below #post thematic_belowpost(); }
/** * The Tag loop * * Located in tag.php * * Override: childtheme_override_tag_loop */ function thematic_tag_loop() { while (have_posts()) { the_post(); // action hook for insterting content above #post thematic_abovepost(); ?> <?php echo '<div id="post-' . get_the_ID() . '" '; // Checking for defined constant to enable Thematic's post classes if (!THEMATIC_COMPATIBLE_POST_CLASS) { post_class(); echo '>'; } else { echo 'class="'; thematic_post_class(); echo '">'; } // creating the post header thematic_postheader(); ?> <div class="entry-content"> <?php thematic_content(); ?> </div><!-- .entry-content --> <?php thematic_postfooter(); ?> </div><!-- #post --> <?php // action hook for insterting content below #post thematic_belowpost(); } }
function thematic_tag_loop() { while (have_posts()) { the_post(); thematic_abovepost(); ?> <div id="post-<?php the_ID(); echo '" '; if (!THEMATIC_COMPATIBLE_POST_CLASS) { post_class(); echo '>'; } else { echo 'class="'; thematic_post_class(); echo '">'; } thematic_postheader(); ?> <div class="entry-content"> <?php thematic_content(); ?> </div><!-- .entry-content --> <?php thematic_postfooter(); ?> </div><!-- #post --> <?php thematic_belowpost(); } }