Viewing 8 replies - 1 through 8 (of 8 total)
  • Alex Moss

    (@alexmoss)

    It’s best at the moment to embed the shortcode into your theme and then disable the output on each specific page/posts. More information can be found within the plugin homepage.

    Tony Franco

    (@tony-franco)

    Hi Alex,

    Thanks by your reply.

    I tried what is in the homepage, but i can′t make it work…

    If it has a shortcode to disable on certain posts, it would be easy to me, like [/fbcomments], because i don′t know how to use the code directly to php…

    Regards,

    Tony

    Alex Moss

    (@alexmoss)

    no, you’d have to insert PHP code. For example, if I don’t want to include the comments on post ID 678:

    if (!is_page('678')) {
    echo do_shortcode('[fbcomments]');
    }
    Tony Franco

    (@tony-franco)

    Hi Alex,

    Sorry for my question, i′m new…

    Where do i put this code?

    Regards,

    Tony

    Alex Moss

    (@alexmoss)

    You can insert this within single.php

    Thread Starter Frank Gomez

    (@frank6tg)

    I had to go another route because my client has about 300 posts. I’m not going to itemize these. I ended up creating separate post templates and then disabled them by template with CSS – not an elegant solution but it works.

    rhoody

    (@rhoody)

    I cam from https://www.ads-software.com/support/topic/disable-fb-comments-on-lingle-posts?replies=2#post-5352303
    I also will have around 500 pots (FAQs)I am nit gonna change the single.php for each new FAQ. Guess need to look for another plugin then. At the end if you have the opt-in shortcut there should be also a opt-out somehow.

    Alex Moss

    (@alexmoss)

    Let me have a look into how this can be done best for you…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Disable on Specific Posts’ is closed to new replies.