Title: Gutenberg &amp; Learnpress
Last modified: November 21, 2019

---

# Gutenberg & Learnpress

 *  [vandung93](https://wordpress.org/support/users/vandung93/)
 * (@vandung93)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/gutenberg-learnpress/)
 * Hello there,
    Could you make learnpress plugin compatible with gutenberg editor,
   please? As you know gutenberg editor is the favorite editor for many users. It
   will be nice if it can work with learnpress together.
 * I using this code to enable gutenberg editor for course & lesson. It’s working
   but Curriculum box is hidden.
 *     ```
       add_filter( 'register_post_type_args','add_gutenberg_support', 10, 2 );
       function add_gutenberg_support( $args, $post_type ) {
           if ( in_array( $post_type, [ 'lp_course', 'lp_lesson', ] ) ) {
               $args['show_in_rest'] = true;
           }
   
           return $args;
       }
       ```
   
 * Before enable gutenberg:
    [http://prntscr.com/pzxr4l](http://prntscr.com/pzxr4l)
   After enable gutenberg: [http://prntscr.com/pzxry8](http://prntscr.com/pzxry8)
 * Thanks for your support!

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

 *  [hadam](https://wordpress.org/support/users/hadam3003/)
 * (@hadam3003)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/gutenberg-learnpress/#post-12162711)
 * Hi vandung93,
 * Thank for the reminder.
 * We’re finding a solution for this error when compatible Learnpress and Gutenburg
   and will release it asap.
 *  [Marin Stoyanov](https://wordpress.org/support/users/marin-stoyanov/)
 * (@marin-stoyanov)
 * [6 years ago](https://wordpress.org/support/topic/gutenberg-learnpress/#post-12720329)
 * Hello Ken,
 * I have the same issue as vandung93 – the Curriculum section is missing in the
   Edit Course interface when using Gutenberg.
 * Do you have any update on this issue?
 *  [Georg](https://wordpress.org/support/users/gemonon/)
 * (@gemonon)
 * [6 years ago](https://wordpress.org/support/topic/gutenberg-learnpress/#post-12813242)
 * Just to add support to this request – it is a huge hurdle. Gutenberg and Elementor
   allow for MUCH more efficient content creation and layouting. It would be great
   if support could be added soon. Thank you for all the work!
 *  [andersonmainetti](https://wordpress.org/support/users/andersonmainetti/)
 * (@andersonmainetti)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/gutenberg-learnpress/#post-12880594)
 * O código do [@vandung93](https://wordpress.org/support/users/vandung93/) funciona,
   mas sem o currículo. Alguém poderia dar uma ajuda para fazer o trecho de código
   mostrar o currículo do curso?
 *  [ocaso](https://wordpress.org/support/users/ocaso/)
 * (@ocaso)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/gutenberg-learnpress/#post-13303927)
 * With this little edit, courses will use Default Editor, but lessons will use 
   Gutenberg.
 *     ```
       add_filter( 'register_post_type_args','add_gutenberg_support', 10, 2 );
       function add_gutenberg_support( $args, $post_type ) {
           if ( in_array( $post_type, ['lp_lesson', ] ) ) {
               $args['show_in_rest'] = true;
           }
   
           return $args;
       }
       ```
   

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

The topic ‘Gutenberg & Learnpress’ is closed to new replies.

 * ![](https://ps.w.org/learnpress/assets/icon-256x256.gif?rev=3254420)
 * [LearnPress - WordPress LMS Plugin for Create and Sell Online Courses](https://wordpress.org/plugins/learnpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/learnpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/learnpress/)
 * [Active Topics](https://wordpress.org/support/plugin/learnpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/learnpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/learnpress/reviews/)

## Tags

 * [curriculum](https://wordpress.org/support/topic-tag/curriculum/)

 * 5 replies
 * 6 participants
 * Last reply from: [ocaso](https://wordpress.org/support/users/ocaso/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/gutenberg-learnpress/#post-13303927)
 * Status: not resolved