• Resolved Bree

    (@lifesgood)


    Unfortunately I can’t get any comments to show on lessons, even when “allow comments” is ticked. But when I switch to a default theme, the comments show, so I guess it’s a theme issue, however, the theme support doesn’t allow for ‘customizations’, so I’m just wondering if you have any suggestions? Perhaps other users have experienced this and there’s an easy fix? Thanks in advance.

Viewing 15 replies - 1 through 15 (of 19 total)
  • @lifesgood,

    What theme are you using? Have you tried contacting the theme developers to get some help on enabling comments on custom post types (lessons are custom post types).

    If you’re looking for great free themes that support LifterLMS natively you could try Astra or OceanWP

    Thread Starter Bree

    (@lifesgood)

    Hi, thanks for your reply. The comments show with another course plugin, but not this one, so they do work on CPTs with my theme, but not this plugin for some reason…

    @lifesgood,

    Thanks for the information. At this moment I’m not sure how to help though. Could you please let me know what theme you’re using so I can see if I can investigate this further?

    Thanks,

    Thread Starter Bree

    (@lifesgood)

    @thomasplevy

    Thanks for your reply. Here’s a link to an example of the comments not showing. The theme is Maggie by Bluchic.

    “Allow comments” is definitely ticked within the lesson settings.

    http://test.breezymedia.biz/lesson/why-lifterlms-2/

    @lifesgood,

    I do see the issue but I’m sorry to say that I can’t purchase this theme to try to debug this.

    Have you tried contacting the theme developer to ask for assistance with displaying comments for custom post types?

    I always do my best to debug issues when they’re reported but we’re a small team and we get by but we’ll quickly go broke if we buy every premium theme to debug issues. I’m sure the theme developer can help you if you reach out to them via their support channels.

    My apologies,

    Thread Starter Bree

    (@lifesgood)

    @thomasplevy Thanks so much for your reply; I completely understand you can’t test all themes!

    What’s strange is that comments work fine on all other custom posts, including on the LifterLMS membership pages – but just not on course lessons.

    Unfortunately the theme developer doesn’t provide support for customizations, so I’ll have to keep exploring my options. Cheers

    @lifesgood,

    Ask the theme developer to get in touch with us and we can help them add support for LifterLMS if they want to work with us.

    Thread Starter Bree

    (@lifesgood)

    @thomasplevy Sure, will do. Cheers!

    Thread Starter Bree

    (@lifesgood)

    @thomasplevy Do you have any documentation on your site regarding: adding comments? I may be able to do it myself if pointed in the right direction…

    @lifesgood,

    LifterLMS does not disable or enable commenting. This is 100% your theme’s doing. I know you said your theme is showing comments with some other system but I haven’t used your theme or that other system so I really can’t say why this isn’t working here.

    So no, I don’t have any documentation because it’s not something that LifterLMS *touches* and we don’t touch it to reduce theme compatibility issues.

    It’s possible that your theme doesn’t include comments for custom post types but this other LMS software adds commenting itself…

    I’m not sure, sorry. Again, I’m feeling like your theme developers may be able to assist you with this…

    Thread Starter Bree

    (@lifesgood)

    That’s OK, thanks anyway. Unfortunately it’s not something my theme’s developers are wanting to look into right now. Cheers.

    @lifesgood,

    Sorry…

    Thread Starter Bree

    (@lifesgood)

    I had some success modifying content-single-lesson-after.php by adding in the last line:

    <?php
    /**
     * Display content after lesson content
     * @since    1.0.0
     * @version  3.0.0
     */
    
    if ( ! defined( 'ABSPATH' ) ) { exit; }
    
    /**
     * @hooked - lifterlms_template_complete_lesson_link - 10
     * @hooked - lifterlms_template_lesson_navigation    - 20
     */
    do_action( 'lifterlms_single_lesson_after_summary' );
    
    if( comments_open() || get_comments_number() ) { comments_template(); } ?>

    But I know that when I next update LifterLMS that I will lose this modification. Is there a hook I could use in my child theme instead?

    Thread Starter Bree

    (@lifesgood)

    Just wondering if anyone had any suggestions on how I could put the above into a child theme? Thanks in advance.

    Thread Starter Bree

    (@lifesgood)

    @thomasplevy So sorry to bother you, but do you have any suggestions on how to integrate the above into a child theme? Thanks in advance.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Comments not showing’ is closed to new replies.