Title: Template like content.php
Last modified: June 20, 2018

---

# Template like content.php

 *  Resolved [novaplanet](https://wordpress.org/support/users/novaplanet/)
 * (@novaplanet)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/template-like-content-php/)
 * The output code of the plugin is un-css-able.
 *     ```
       <div class="lcp_catlist" id="lcp_instance_0">
       <!--Looped thing: -->
       <p>
       <a>title</a>   // added custom class here
       <a href="#"> // added custom class here
       <img src="#" alt="" /></a>
       excerpt here
       </p>
       <!-- end of looped thing -->
   
       .......
       </div>
       ```
   
 * How (or is there a posibillity) to put my custom-content.php code instead of 
   this thing?
 * Don’t misunderstand me, plugin is great. I love the pagination and shordcode 
   thing, but I need to show posts exacly like on archives.
    -  This topic was modified 7 years, 11 months ago by [novaplanet](https://wordpress.org/support/users/novaplanet/).
    -  This topic was modified 7 years, 11 months ago by [novaplanet](https://wordpress.org/support/users/novaplanet/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [novaplanet](https://wordpress.org/support/users/novaplanet/)
 * (@novaplanet)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/template-like-content-php/#post-10417982)
 * Ok, so I added 2 + 2 and got my problem solved.
 * For everyone who ever need solution:
 * 1. Go here: [https://github.com/picandocodigo/List-Category-Posts/wiki/Template-System](https://github.com/picandocodigo/List-Category-Posts/wiki/Template-System)
   
   2. Do what is written here. 3. Copy from plugin folder templates/default.php 
   4. Edit it as you wish. If you need to add some html thing just do this:
 *     ```
       	$lcp_display_output .= '<div class="divvvv">';
       // THING HERE 
       	$lcp_display_output .= '</div>';
       ```
   
 * 5. Do more things and rate plugin 5/5.
 * I hope that would help someone in the future.
    -  This reply was modified 7 years, 11 months ago by [novaplanet](https://wordpress.org/support/users/novaplanet/).
 *  [jbt-csm](https://wordpress.org/support/users/jbt-csm/)
 * (@jbt-csm)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/template-like-content-php/#post-10419252)
 * Fine that you solved your problem.
 * Then again, I thought: ‘Why is it _un-css-able._?’
 * Because you can easily hook all output if you point to it in CSS like
 *     ```
       .lcp_catlist a { ...}
       .lcp_catlist img { ... }
       .lcp_catlist p { ... }
       ... etc.
       ```
   
 * Or do I miss your point here?
    Cheers, Johannes
    -  This reply was modified 7 years, 11 months ago by [jbt-csm](https://wordpress.org/support/users/jbt-csm/).
 *  Plugin Contributor [zymeth25](https://wordpress.org/support/users/zymeth25/)
 * (@zymeth25)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/template-like-content-php/#post-10419984)
 * Custom templates are one solution, but there are also shortcode parameters for
   customizing css classes. Check [this page](https://github.com/picandocodigo/List-Category-Posts/wiki/HTML-&-CSS-Customization)
   for reference.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Template like content.php’ 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/)

## Tags

 * [template](https://wordpress.org/support/topic-tag/template/)

 * 3 replies
 * 3 participants
 * Last reply from: [zymeth25](https://wordpress.org/support/users/zymeth25/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/template-like-content-php/#post-10419984)
 * Status: resolved