• Resolved steve-fwd

    (@stevefwdedu)


    I’m unable to update LifterLMS course excerpts in the block editor. If I enter text in the excerpt box and update, it appears to work, but when I refresh the page it’s empty again. I am able to update lesson excerpts and I am able to update course excerpts manually in phpmyadmin. I noticed that the lesson object has a set_excerpt() method whereas the course object does not. Is the excerpt functionality supported for courses?

    • This topic was modified 1 year, 9 months ago by steve-fwd.
    • This topic was modified 1 year, 9 months ago by steve-fwd.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @stevefwdedu,

    I was able to replicate the same issue in an test environment. As a result, I have informed our developers about this so that they can file a bug report. Just please note that for bugs and feature requests, we cannot provide an estimated timeline of when they will be fixed.

    As a workaround, you can just install the free Advanced Custom Fields plugin from wordpress.org/plugins/advanced-custom-fields so that you can create a course excerpt text area in the block editor (Gutenberg). This will allow you to save manual course excerpts.

    Thread Starter steve-fwd

    (@stevefwdedu)

    Hi Nick. I’m happy to hear that you were able to replicate the obstacle and have started the process to address it. I understand that there is no guarantees of timeline, but if there are any updates I would appreciate it if you could share them with me.

    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @stevefwdedu,

    Our developers are discussing this. For the meantime, if yo choose to use the free Advanced Custom Fields plugin to add an excerpt to the course post type, you can use the code below to display that excerpt on the course cards in the course catalog page.

    function lifterlms_after_loop_item_title_callback() {
    ?>
    <div class="llms-course-excerpt">
    <?php if ( function_exists('get_field') ): ?>
    <?php echo get_field('excerpt'); ?>
    <?php endif ?>
    </div>
    <?php
    }

    add_action( 'lifterlms_after_loop_item_title', 'lifterlms_after_loop_item_title_callback', 1);
    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @stevefwdedu,

    As we haven’t had any response in over a week I am going to mark this thread as resolved. Please reopen or post a new thread if you require further assistance.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Can’t Update Course Excerpts’ is closed to new replies.