Hey freddyB,
Thank you for using Enfold.
Post the whole snippet that you’re using on pastebin.com so that we can test it on our end. Did you enable the “Allow Comments” option for the posts?
Best regards,
Ismael
Hey Ismael,
this is what I put in functions.php: https://pastebin.com/sskpNaJD
The result is very strange. It outputs the comments BUT NOT the comment form. Instead it shows: comments are closed.
(also tested with comments_open(), which returns FALSE)
But comments are 100% open.
“Allow Comments” is set to TRUE in the post settings. (even checked it in the database)
Discussion is also enabled sitewide.
Latest WP and Enfold.
It has to be something with ALB mode.
Only if I add a Comments sections in the Backend the do_shortcode one in functions.php is also working.
Hi,
Thanks for the update.
This is probably an issue with a filter that the theme is using. Please add this in the functions.php file:
add_action( 'after_setup_theme', function() {
remove_filter( 'comments_open', 'av_comments_on_builder_posts_required', 10, 2 );
}, 10 );
Let us know if it helps.
Best regards,
Ismael
Hi Ismael,
yes, it’s working now. Thank you!
Topic can be marked as solved and closed.