Title: Remove links
Last modified: February 16, 2019

---

# Remove links

 *  [wpdev999](https://wordpress.org/support/users/wpdev999/)
 * (@wpdev999)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/remove-links-9/)
 * How can I remove the link from the image and post title? I am using this plugin
   for a page where I want the posts to display in full, in a grid. I do not need
   or want them to link to the WP post page.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/remove-links-9/#post-11214423)
 * Hi there,
 * You can do this:
 *     ```
       add_filter( 'wpsp_disable_image_link', 'tu_disable_links', 10, 2 );
       add_filter( 'wpsp_disable_title_link', 'tu_disable_links', 10, 2 );
       function tu_disable_links( $output, $settings ) {
           if ( 123 === $settings['list_id'] ) {
               return true;
           }
   
           return $output;
       }
       ```
   
 * You just need to update `123` to the ID of the list you’re targeting.
 * Adding PHP: [https://docs.wpshowposts.com/article/adding-php/](https://docs.wpshowposts.com/article/adding-php/)

Viewing 1 replies (of 1 total)

The topic ‘Remove links’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/edge22/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/remove-links-9/#post-11214423)
 * Status: not resolved