Search (advanced search) | ||||
Use this Search form before posting, asking or make a new thread.
|
03-12-2017, 01:25 AM
Post: #1
|
|||
|
|||
Need help with wpcourseware and Divi
Hi I do not understand what to add to get it to work on posts and pages
In order to add Divi Builder Plugin functionality to course units, you will need to add the following code to your functions.php file. Remember to include all post types that you will be including like pages, posts etc... function my_et_builder_post_types( $post_types ) { $post_types[] = 'course_unit'; return $post_types; } add_filter( 'et_builder_post_types', 'my_et_builder_post_types' ); Thanks in advance |
|||