Title: Current post
Last modified: August 21, 2016

---

# Current post

 *  [VitalyK](https://wordpress.org/support/users/vitalyk/)
 * (@vitalyk)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/current-post/)
 * Hi,
 * Thank you for plugin.
 * I use it on the post pages like a menu with all post from one category.
    How 
   I can make different template for current post.
 * We have:
 *     ```
       <p class="post-title">
       <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_title() ? get_the_title() : get_the_ID() ); ?>">
       										<?php the_title(); ?>
       									</a>
       </p>
       ```
   
 * I’m looking for.. else current post:
 *     ```
       <p class="post-title">
       <?php the_title(); ?>
       </p>
       ```
   
 * if user on the post from menu.
 * [http://wordpress.org/extend/plugins/custom-post-template/](http://wordpress.org/extend/plugins/custom-post-template/)

The topic ‘Current post’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-post-template.svg)
 * [Custom Post Template](https://wordpress.org/plugins/custom-post-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-template/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [VitalyK](https://wordpress.org/support/users/vitalyk/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/current-post/)
 * Status: not resolved