aamand
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Fixing WordPress
In reply to: Invisible/hidden category for specific postsThanks, MichaelH.
My K2 Loop looks like this:
<?php /** * Default Loop Template * * This file is loaded by multiple files and used for generating the loop * * @package K2 * @subpackage Templates */ // Post index for semantic classes $post_index = 1; while ( have_posts() ): the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-head"> <h3 class="entry-title"> <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php k2_permalink_title(); ?>"><?php the_title(); ?></a> </h3> <?php /* Edit Link */ edit_post_link( __('Edit','k2_domain'), '<span class="entry-edit">', '</span>' ); ?> <?php if ( 'post' == $post->post_type ): ?> <div class="entry-meta"> <?php k2_entry_meta(1); ?> </div> <!-- .entry-meta --> <?php endif; ?> <?php /* K2 Hook */ do_action('template_entry_head'); ?> </div><!-- .entry-head --> <div class="entry-content"> <?php if ( function_exists('has_post_thumbnail') and has_post_thumbnail() ): ?> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( array( 75, 75 ), array( 'class' => 'alignleft' ) ); ?></a> <?php endif; ?> <?php the_content( sprintf( __('Continue reading \'%s\'', 'k2_domain'), the_title('', '', false) ) ); ?> </div><!-- .entry-content --> <div class="entry-foot"> <?php wp_link_pages( array('before' => '<div class="entry-pages"><span>' . __('Pages:','k2_domain') . '</span>', 'after' => '</div>' ) ); ?> <?php if ( 'post' == $post->post_type ): ?> <div class="entry-meta"> <?php k2_entry_meta(2); ?> </div><!-- .entry-meta --> <?php endif; ?> <?php /* K2 Hook */ do_action('template_entry_foot'); ?> </div><!-- .entry-foot --> </div><!-- #post-ID --> <?php endwhile; /* End The Loop */ ?>Now where do I insert the code you posted?
Viewing 1 replies (of 1 total)