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!
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.
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!
(@mpozo)
9 years, 12 months ago
Hi!
Please I’m very interested to enable comments in my post/faqs.
Can I do it?
Thanks!
https://wordpress.org/plugins/arconix-faq/