Title: [Plugin: List category posts]  Template question
Last modified: August 19, 2016

---

# [Plugin: List category posts] Template question

 *  [vinnyhigh](https://wordpress.org/support/users/vinnyhigh/)
 * (@vinnyhigh)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-list-category-posts-template-question/)
 * Hello,
    First off thank you fernandobt for this wonderfull plugin!
 * Im trying to use the “List category post” in combination with the “Custom Field
   Template” plugin.
 * Therefor I created a template for list categrory and copied the Default.php
 * Now I want to add the following code in the template loop: `$lcp_display_output.
   = '[cft post_id=1 format=0]';`
 * Could someone explain me how I can replace the post_id value of “1” by a variable
   of the current post in the loop?
 * [http://wordpress.org/extend/plugins/list-category-posts/](http://wordpress.org/extend/plugins/list-category-posts/)

The topic ‘[Plugin: List category posts] Template question’ is closed to new replies.

 * ![](https://ps.w.org/list-category-posts/assets/icon-256x256.png?rev=2517221)
 * [List category posts](https://wordpress.org/plugins/list-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/list-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-category-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [vinnyhigh](https://wordpress.org/support/users/vinnyhigh/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-list-category-posts-template-question/)
 * Status: not resolved