Tagged: 

Viewing 30 posts - 1 through 30 (of 30 total)
  • Author
    Posts
  • #1207908

    I upgraded from a much older Enfold to the current version a week or so ago. Since then all my comments have disappeared, as has the Add Comment form.

    Today I switched to one of the built in themese (2015) and verified that comments do appear in that theme.
    I switched back to Enfold and the comments are not there.

    I have been waiting for over a week for you to investigate but have not heard back so am opening this new thread. Can you please help me figure this out?

    #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,
    Victoria

    #1208282

    I deactivated all plugins one by one and there was nodifference. I have re-enabled the ones I need.

    #1209117

    I 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.

    #1209995

    Hi,

    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,
    Ismael

    #1210061

    I 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.

    #1211096

    Hi 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,
    Victoria

    #1211124
    This reply has been marked as private.
    #1212103

    Hi robinargreen,

    Best regards,
    Victoria

    #1214839

    I thought I already answered your last private comment but it is not showing for some reason. Please see my private reply below.

    #1215501

    Hi robinargreen,

    Best regards,
    Victoria

    #1215573
    This reply has been marked as private.
    #1216143

    Hi robinargreen,

    I added the comments element to the page and the comments appeared. Please check this page.

    Best regards,
    Victoria

    #1216163

    Hi 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?

    #1216573

    Looking 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?

    #1217826

    Can 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.

    #1218344

    Hi,

    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,
    Ismael

    #1218448

    I 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?

    #1218450

    Also 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?

    #1219046

    Hi,

    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,
    Ismael

    #1219052

    I 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.

    #1220401

    Hi,

    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,
    Ismael

    #1220497

    I’ve made it accessible, you can now look at / change functions.php.

    #1221657

    Hi,

    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,
    Ismael

    #1221755

    Thanks 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.

    #1221837

    Hi 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,
    Victoria

    #1221877

    I 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.

    #1222020

    Hi,

    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,
    Ismael

    #1222049

    Good 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
    Carlo

    #1222643

    Hi,

    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

Viewing 30 posts - 1 through 30 (of 30 total)
  • You must be logged in to reply to this topic.