Title: Prevent Code Generation for Custom Post Type
Last modified: August 20, 2016

---

# Prevent Code Generation for Custom Post Type

 *  Resolved [jackiewp](https://wordpress.org/support/users/jackiewp/)
 * (@jackiewp)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/prevent-code-generation-for-custom-post-type/)
 * I am trying to use this plugin together with the Premise plugin for creating 
   landing pages. I need to not have the FB LIKE button appear on these custom post
   landing pages. How can I do that?
 * With other plugin I was able to execute remove_action and remove_filter calls
   to prevent code generation on landing page.
 * What should I do with this plugin (specifically, the LIKE button)
 * Thanks!
 * [http://wordpress.org/extend/plugins/facebook/](http://wordpress.org/extend/plugins/facebook/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * (@niallkennedy)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/prevent-code-generation-for-custom-post-type/#post-3170652)
 * Plugin version 1.1 supports custom post types. You may remove the like button
   output from `the_content` filter for a specific post.
 * example: `remove_filter( 'the_content', 'facebook_the_content_like_button', 30)`

Viewing 1 replies (of 1 total)

The topic ‘Prevent Code Generation for Custom Post Type’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook_526fac.svg)
 * [Facebook](https://wordpress.org/plugins/facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/prevent-code-generation-for-custom-post-type/#post-3170652)
 * Status: resolved