Title: [Plugin: List category posts] Remove Post title link?
Last modified: August 20, 2016

---

# [Plugin: List category posts] Remove Post title link?

 *  [ottomek](https://wordpress.org/support/users/ottomek/)
 * (@ottomek)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-list-category-posts-remove-post-title-link/)
 * Is there a shortcode to remove the Post title link? I just want the post titles
   and contents to be displayed on a page without a link to the original post.
 * thanks,
 * [http://wordpress.org/extend/plugins/list-category-posts/](http://wordpress.org/extend/plugins/list-category-posts/)

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

 *  [chezluc](https://wordpress.org/support/users/chezluc/)
 * (@chezluc)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-list-category-posts-remove-post-title-link/#post-2590729)
 * Hey ottomek,
    I had the same question and figured it out. I’m using the template
   feature, because I would like a different order for how the information is displayed.
   Inside of the template file their is this function:
 *     ```
       $lcp_display_output .= $this->get_post_title($single);
       ```
   
 * What I did was go to the CatListDisplayer.php file inside of the folder plugins/
   list-category-posts/include/
 * and created a new function, based off of the original one.
    The original is:
 *     ```
       private function get_post_title($single, $tag = null, $css_class = null){
               $info = '<a href="' . get_permalink($single->ID).'" >' . $single->post_title . '</a>';
               return $this->assign_style($info, $tag, $css_class);
           }
       ```
   
 * I copied it and deleted the reference to the href, and renamed it, leaving the
   original.
 *     ```
       private function get_mypost_title($single, $tag = null, $css_class = null){
               $info = $single->post_title;
               return $this->assign_style($info, $tag, $css_class);
           }
       ```
   
 * then, inside my template file, I changed the code to:
 *     ```
       $lcp_display_output .= $this->get_mypost_title($single);
       ```
   
 * hope that helps!
 *  Anonymous User 7928018
 * (@anonymized-7928018)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-list-category-posts-remove-post-title-link/#post-2590766)
 * Or, for people like me:
 *     ```
       private function get_post_title($single, $tag = null, $css_class = null){
       				$info = $single->post_title;
       				return $this->assign_style($info, $tag, $css_class);
       		}
       ```
   
 *  [jaydokie](https://wordpress.org/support/users/jaydokie/)
 * (@jaydokie)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-list-category-posts-remove-post-title-link/#post-2590768)
 * Does this allow you on the post list page to click on the link of an article 
   and go directly to an external site to read the article? I want to cut down the
   selecting of 3 pages after getting to my homepage to get to an external site 
   post. Right now it’s homepage + news page + click on post link which then takes
   you to the post in my site which then you are able to click on the external link.
   You could search bing or google and get to the external article quicker and with
   less effort. [http://roundhousetalk.com/](http://roundhousetalk.com/)
 *  [jaydokie](https://wordpress.org/support/users/jaydokie/)
 * (@jaydokie)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-list-category-posts-remove-post-title-link/#post-2590769)
 * The current link is under [http://roundhousetalk.com/news-2](http://roundhousetalk.com/news-2)

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

The topic ‘[Plugin: List category posts] Remove Post title link?’ 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

 * [post title](https://wordpress.org/support/topic-tag/post-title/)
 * [remove](https://wordpress.org/support/topic-tag/remove/)
 * [title](https://wordpress.org/support/topic-tag/title/)

 * 4 replies
 * 4 participants
 * Last reply from: [jaydokie](https://wordpress.org/support/users/jaydokie/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-list-category-posts-remove-post-title-link/#post-2590769)
 * Status: not resolved