Support » Plugin: LifterLMS » Duplicated lesson headings

  • Resolved TheArtfulDodger

    (@theartfuldodger)


    This page had the titles for each section of one of my courses. Now all of the items have been duplicated. I have been updating the lesson pages only (content), but now this has happened and I can see anywhere to remove it. I have inspected the elements, checked the course builder, and everything appears only once. This only appears when someone is logged in. When not logged in it is fine.

    Help!!

    • This topic was modified 3 months ago by TheArtfulDodger. Reason: amend information

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Thomas Patrick Levy

    (@thomasplevy)

    @theartfuldodger,

    It sounds like you may have (accidentally) duplicated a block on your course page and have one of the enrollment visibility options for the duplicate block set to “Enrolled User only” which would explain why you’re only seeing the duplicates when logged in. You could double check your course blocks and see if there’s anything duplicated.

    If that doesn’t help can you post a screenshot of where you’re seeing duplicated content? Since we can’t see the issue when logged out it’s hard to see on our own via your link.

    Since you cannot upload images here, please use a service like Dropbox, Drive, or Imgur and post the link to your screenshot here.

    TheArtfulDodger

    (@theartfuldodger)

    https://www.dropbox.com/s/sia9wi6l8tful7j/Errors.rar?dl=0

    The error is now on the logged out users.
    I have taken screen shots of the things I can see.

    Plugin Author Thomas Patrick Levy

    (@thomasplevy)

    @theartfuldodger

    Looks like you may have at one point used the block editor and switched back to classic?

    If that’s the case you have invisible blocks stored in your post content which (even when using the classic editor) still render on the frontend of your site.

    You can either remove the html comments that render the blocks, they’ll look like the following:

    
    <!-- wp:llms/instructors /-->
    
    <!-- wp:llms/pricing-table /-->
    
    <!-- wp:llms/course-progress -->
    <div class="wp-block-llms-course-progress">[lifterlms_course_progress]</div>
    <!-- /wp:llms/course-progress -->
    
    <!-- wp:llms/course-continue-button -->
    <div class="wp-block-llms-course-continue-button" style="text-align:center">[lifterlms_course_continue_button]</div>
    <!-- /wp:llms/course-continue-button -->
    
    <!-- wp:llms/course-syllabus /-->
    

    Or you can use our “unmigrator” tool to remove these items from *all* of your courses and lessons that were migrated before you switched back to the classic editor.

    Navigate to LifterLMS -> Status -> Tools & Utilities and find the item in the list that says “Remove LifterLMS Block Code”

    Click the button in this row and that’ll remove block code from ALL of your courses and lessons that have them.

    If you’re using blocks for some courses/lessons but not others you don’t want to use this option as it works for ALL items (not some).

    Best,

    TheArtfulDodger

    (@theartfuldodger)

    I used the block code remover and it has worked. Thank you.
    I don’t quite know what happened because I normally use
    the block editor, and use the classic where block is not available.

    Thanks again.

    Plugin Author Thomas Patrick Levy

    (@thomasplevy)

    @theartfuldodger,

    Glad to help!

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