Title: aamand's Replies | WordPress.org

---

# aamand

  [  ](https://wordpress.org/support/users/aamand/)

 *   [Profile](https://wordpress.org/support/users/aamand/)
 *   [Topics Started](https://wordpress.org/support/users/aamand/topics/)
 *   [Replies Created](https://wordpress.org/support/users/aamand/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/aamand/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/aamand/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/aamand/engagements/)
 *   [Favorites](https://wordpress.org/support/users/aamand/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Invisible/hidden category for specific posts](https://wordpress.org/support/topic/invisiblehidden-category-for-specific-posts/)
 *  Thread Starter [aamand](https://wordpress.org/support/users/aamand/)
 * (@aamand)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/invisiblehidden-category-for-specific-posts/#post-1729198)
 * Thanks, 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)