Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Gardner

    (@jgardner03)

    Hi mpozo,

    Thank you for using my plugin. Yes, you can add comment support to the FAQ’s.

    Please add the code from the link below to your theme’s functions.php file, replacing ‘portfolio’ with ‘faq’:

    https://gist.github.com/j-gardner/6529691

    Thread Starter mpozo

    (@mpozo)

    Hi John, thank you for your answer, and sorry about my english.

    I have add the code but there is no changes.

    Can you help me?
    ibersontel.com/faq
    – This is the faq url

    – I use the graphene theme
    – I add your code
    require( GRAPHENE_ROOTDIR . ‘/includes/theme-setup.php’ ); // Theme setup

    /** activar comentarios en faq
    */
    add_action( ‘init’, ‘arconix_post_type_supports’ );
    function arconix_post_type_supports() {
    post_type_supports( ‘faq’, ‘comments’ );

    – I have written a new question, there is no comments check
    – I have edit an exist question, there is no comments check
    – I have edit options theme about comments and setup comments options in wp… and nothing

    Thanks!

    Plugin Author John Gardner

    (@jgardner03)

    I gave you the wrong code, I apologize.

    replace post_type_supports with the following

    add_post_type_support( 'faq', 'comments' );

    And make sure there’s a closing } after the add_post_type_support line, I don’t see it in the code you provided.

    Thread Starter mpozo

    (@mpozo)

    Thank you very much.

    100% perfect! 😉

    Plugin Author John Gardner

    (@jgardner03)

    Excellent. I’m glad everything worked out. If you have opportunity, would you be willing to leave a review of my plugin? I’d really appreciate it.

    http://wordpress.org/support/view/plugin-reviews/arconix-faq

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How can I enable comments?’ is closed to new replies.