Support » Plugin: Facebook » Prevent Code Generation for Custom Post Type

  • Resolved jackiewp

    (@jackiewp)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author Niall Kennedy

    (@niallkennedy)

    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.