Title: Problems with Divi Integration
Last modified: January 14, 2025

---

# Problems with Divi Integration

 *  [robyk](https://wordpress.org/support/users/robyk/)
 * (@robyk)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problems-with-divi-integration/)
 * Hi,
 * I’m currently working on a course-selling website as a personal project. I’m 
   using Divi because I’m most familiar with it, and it allows me to make customizations
   easily. Recently, I started creating a single-course page template. Initially,
   I faced some issues with shortcodes, such as [learn_press_course_curriculum],
   which was displaying the curriculum twice.
 * However, the biggest challenge came after completing the single-course page template:
   the lesson links stopped working. Whether I accessed the links from the backend
   or frontend, the page would simply reload back to the course page instead of 
   navigating to the lesson.
    -  This topic was modified 1 year, 4 months ago by [robyk](https://wordpress.org/support/users/robyk/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblems-with-divi-integration%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * (@briantp)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problems-with-divi-integration/#post-18244377)
 * Hi robyk,
 * Thank you for reaching out to us and sharing the details of your project!
 * To help identify the root cause of the issue, please try switching to one of 
   WordPress’s default themes, such as **Twenty Twenty-Five**, and check if the 
   problem persists:
    1. Go to **Appearance > Themes** in your WordPress dashboard.
    2. Activate the **Twenty Twenty-Five** theme.
    3. Test the lesson links again from both the backend and frontend.
 *  - **If the issue is resolved** after switching to the default theme, we recommend
      contacting the Divi theme developers for further assistance. They can help
      pinpoint any compatibility issues between their theme and LearnPress.
    - **If the issue persists** even after using the default theme, please let us
      know, and we’ll provide an alternative solution to address the problem.
 * We look forward to hearing from you!
 * Best regards,
   **Brianvu-tp**
 *  Thread Starter [robyk](https://wordpress.org/support/users/robyk/)
 * (@robyk)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problems-with-divi-integration/#post-18248486)
 * Hi,
 * Thank you for your response. I’ll contact Divi support regarding the issue.
 * In the meantime, could you please check if the [learn_press_course_curriculum]
   shortcode works correctly? When I use it on my single-course template page, it
   displays the curriculum but also throws the error:
 * > **Warning**: Undefined array key “id” in /home4/wibvvywp/public_html/info/wp-
   > content/plugins/learnpress/inc/Shortcodes/class-lp-shortcode-course-curriculum.
   > php on line 41.
 * I assume this is because I didn’t specify an id. However, since this is a template
   page, I cannot define one. Even when I try setting an ID manually, it shows the
   curriculum twice with slight differences (see attached screenshot). How can I
   create custom pages using Learnpress elements?
 * Thank you in advance!
 * > [View post on imgur.com](https://imgur.com/a/kYN1kb1)
 *  Plugin Support [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * (@briantp)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problems-with-divi-integration/#post-18248833)
 * Hi robyk,
 * Thank you for your detailed response and for sharing the additional information!
 * We’ve tested the `[learn_press_course_curriculum]` shortcode by assigning it 
   to [a specific post](https://go.screenpal.com/watch/cTVbV1nfnIu) and including
   the [course ID](https://go.screenpal.com/watch/cTVbVinfnIB) as a parameter. The
   [result](https://go.screenpal.com/watch/cTVbVQnfnId) displayed a single curriculum
   section without duplication or errors. This test was conducted using the default
   Twenty Twenty-Five theme and LearnPress version 4.2.7.5.
 * If you’re encountering issues with this shortcode in your setup, it’s possible
   that:
    1. There might be a conflict with your theme (e.g., Divi).
    2. The shortcode is being called multiple times inadvertently in your template.
 * We recommend the following steps:
    1. Double-check your single-course template to ensure the shortcode is not included
       more than once.
    2. Try using the shortcode with an ID parameter, like this:
       `[learn_press_course_curriculum
       id="123"]`Replace `123` with the actual course ID to verify if this resolves
       the warning.
    3. Test again using a default theme like Twenty Twenty-Five to confirm if the issue
       is related to the theme or template.
 * If the problem persists, please share your findings with us.
 * Thank you for your understanding!
 * Best regards,
   **Brianvu-tp**

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

The topic ‘Problems with Divi Integration’ 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

 * [divi](https://wordpress.org/support/topic-tag/divi/)
 * [integration](https://wordpress.org/support/topic-tag/integration/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 3 replies
 * 2 participants
 * Last reply from: [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/problems-with-divi-integration/#post-18248833)
 * Status: not resolved