Tagged: comment form
-
AuthorPosts
-
April 28, 2020 at 6:25 pm #1207908April 29, 2020 at 7:11 pm #1208270
Hey Robin,
Please deactivate all plugins one by one to check which one is causing this issue and let us know if this solves the problem.
Best regards,
VictoriaApril 29, 2020 at 7:21 pm #1208282I deactivated all plugins one by one and there was nodifference. I have re-enabled the ones I need.
May 2, 2020 at 5:45 pm #1209117I have changed the theme to Twenty Twelve for the time being so that comments are visible.
You can change it back to Enfold when you do troubleshooting. If you are unable to solve the problem please reset it to Twenty Twelve when done so comments remain visible.May 5, 2020 at 3:30 pm #1209995Hi,
Thank you for the update.
Try to enable the theme again and add this filter in the functions.php file to enable the comments back.
add_filter('comments_open', function() { return true; }, 9999);
Related thread: https://kriesi.at/support/topic/blog-single-post-2/#post-1129964
Best regards,
IsmaelMay 5, 2020 at 7:08 pm #1210061I added that to functions.php and enabled the theme again, and it did not enable comments.
I am going back to twentytwelve.
Let me know when you have another suggestion. You can login – I haven’t changed the credentials – and try changing back to Enfold to see what else might be the cause.May 8, 2020 at 5:40 pm #1211096Hi robinargreen,
I cannot see the theme options with this account. Can you please make them available to us, as well as the Appearance > Editor?
Best regards,
VictoriaMay 8, 2020 at 6:37 pm #1211124This reply has been marked as private.May 12, 2020 at 11:54 am #1212103Hi robinargreen,
Best regards,
VictoriaMay 20, 2020 at 11:41 pm #1214839I thought I already answered your last private comment but it is not showing for some reason. Please see my private reply below.
May 23, 2020 at 3:39 pm #1215501Hi robinargreen,
Best regards,
VictoriaMay 23, 2020 at 8:14 pm #1215573This reply has been marked as private.May 25, 2020 at 2:38 pm #1216143Hi robinargreen,
I added the comments element to the page and the comments appeared. Please check this page.
Best regards,
VictoriaMay 25, 2020 at 3:32 pm #1216163Hi Victoria. Thanks for showing that this is at least possible. A couple of points:
– I never had to add a comment element to a page before, all pages had comments. Comments always appeared on every page that had them, and a comment form appeared on every page.
– I thought I would look at the page you changed from within WordPress to see what changes you made. I can see the comment element when I use the Advanced Layout Editor. However I don’t want to use that editor. I never had to before. When I go to the default editor the page is blank.
– I see that that one page is the only one that uses the Advanced Layout Editor.
To me it’s not a viable solution to (1) change all pages to use an editor I don’t want to use, and (2) add a comment element to each such page, especially since (3) I don’t seem to have a way to go back to my editor of choice since the pages wind up blank.Can you please let me know an alternative that doesn’t require massive manual changes or switching my editor of choice?
May 26, 2020 at 6:36 pm #1216573Looking at the JS Console when I click on the Default Editor button I see:
Switching to Classic Editor. Template Builder is in safe mode and will empty the textarea so user cant edit shortcode directly
This seems like a pretty wrong thing to do. There is no reason you should be preventing site owners from modifying shortcodes. I use shortcodes extensively and I edit in HTML frequently.
Can you please tell me how I can get comments across my site like I used to have, and continue using the regular editors?May 29, 2020 at 6:22 pm #1217826Can I please get a response that allows me to re-enable all comments? I have been waiting a long time for resolution of what appears to be a fundamental flaw in the new Enfold theme and very little progress is being made.
June 1, 2020 at 7:45 am #1218344Hi,
Switching to Classic Editor. Template Builder is in safe mode and will empty the textarea so user cant edit shortcode directly. This seems like a pretty wrong thing to do.
This has been the default behavior of the Advance Layout Builder (ALB) ever since — elements in the builder are only editable in the builder area. If you want to manually edit the shortcodes in the builder, please set it to debug mode.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode
And please note that the comment area will have to be added manually when ALB is active. It will only display automatically when a post or page is created using the default or classic editor.
Best regards,
IsmaelJune 1, 2020 at 3:35 pm #1218448I never used the advanced layout builder and none of my pages were created with it. How do I completely disable it so that I can just use classic editor?
June 1, 2020 at 3:44 pm #1218450Also I don’t think that debug mode is what I want. It lets me edit legacy pages in the Visual or Text format, but it doesn’t let me edit the one page you added comments to, so I have no way to see what shortcode I would need to add in order to add a comment shortcode to the over 200 pages on my site, one by one.
I don’t understand why you have disabled the ability to just have comments enabled on every page. All I am askin for is (1) access to the editor I always had (classic and raw HTML) and (2) ability to have all pages enabled for comments. Why did you remove that capability? I have been using Enfold for many years and had to upgrade recently due to a PHP upgrade and I really didn’t bargain for this loss of capability.
Can you please provide directions on how to renable the classic editor AND re-enable comments on all pages without requiring a comment element manually added to each page?
June 3, 2020 at 1:28 pm #1219046Hi,
Alright. Thank you for the info. We created a test post using the default editor and we can see that the comments area are displaying in the front end properly — theme is active. Please check the private field.
Can you give us a direct link to a post where the comment area is not displaying?
Best regards,
IsmaelJune 3, 2020 at 1:56 pm #1219052I don’t use posts. I use pages. Every single page on my website should be enabled for comments. Just click on any link in the menus.
June 8, 2020 at 9:30 am #1220401Hi,
We would like to check the functions.php file but the Appearance > Editor panel is not accessible. Please activate it or post the FTP details in the private field so that we can check the site further.
Best regards,
IsmaelJune 8, 2020 at 3:24 pm #1220497I’ve made it accessible, you can now look at / change functions.php.
June 11, 2020 at 1:04 pm #1221657Hi,
Thank you for the update.
We edited the page.php file and added the comments template inside. The comments section should now be visible in the site pages.
This is what we added in the page.php file (line 37):
//wordpress function that loads the comments template "comments.php" comments_template();
Best regards,
IsmaelJune 11, 2020 at 4:24 pm #1221755Thanks for solving the problem.
I’m not sure why that wasn’t in the file to begin with. Do you not want people to have comments enabled for pages? Was this just an oversight? I’ve never touched page.php.June 11, 2020 at 5:58 pm #1221837Hi robinargreen,
Pages are not meant to be commented on, while posts are open for discussion.
Glad we could help :)
If you need further assistance please let us know.
Best regards,
VictoriaJune 11, 2020 at 7:06 pm #1221877I don’t agree. On other wordpress themese I used (e.g. 2012, which I switched to for a while as I awaited this being resolved) comments are available on pages as well as posts. In theory it’s up to a site owner to decide where they want comments enabled, and there’s no logical argument why they should be enabed on posts but not on pages.
June 12, 2020 at 12:44 pm #1222020Hi,
Thank you for the info.
We’ll forward this to our channel for further consideration. For now, you can create a copy of the page.php file and place it in the child theme to preserve the changes on the next theme update.
Best regards,
IsmaelJune 12, 2020 at 1:37 pm #1222049Good morning,
I’m facing the same problem. In all my articles the comments form doesn’t show up.
I tried several solution proposed in this forum without success:
a) in the page.php (after </main>) I added:
//wordpress function that loads the comments template “comments.php”
comments_template();
b) in the functions.php (at the end of the file) I addedd:dd_filter(‘comments_open’, function() {
return true;
}, 9999);c) in /includes/helper-assets.php I uncommented the line add_filter( ‘comments_open’, ‘av_comments_on_builder_posts_required’, 10, 2 );
May you be so kind to support me?
Thank you and have nice day
CarloJune 15, 2020 at 1:49 pm #1222643Hi,
You should add the comments template right after this line:
$avia_config['size'] = avia_layout_class( 'main' , false) == 'fullsize' ? 'entry_without_sidebar' : 'entry_with_sidebar'; get_template_part( 'includes/loop', 'page' );
And before the closing php tag. Also, make sure that the syntax of the filter is correct. There’s a missing “a” in the snippet you’ve posted above.
add_filter('comments_open', function() { return true; }, 9999);
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.