• Resolved rehtset

    (@rehtset)


    I have a possible “bug” report that I wanted to submit. I am using the Elementor Pro plugin with LifterLMS and was told by Elementor support to contact Lifter about a “missing has_archive in CPT [Custom Post Type] initialization/registration” with the Lesson post type.

    Basically, I am trying to create an Elementor template that only displays on LifterLMS Lesson pages. However, Elementor doesn’t show the Lesson type as an option in the Elementor Display Conditions (link). Elementor support said this may be due to Lifter having a “missing has_archive in CPT initialization/registration.”

    I’m still working with Elementor support but wanted to reach out and see if there is anything Lifter can do. I know Lifter says it supports Elementor integration but wondered if there is an integration issue on either the Elementor or Lifter side of the equation.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rehtset

    (@rehtset)

    Update: Received the following from Elementor regarding the LifterLMS integration:

    Everything about this integration was developed by them, so we do not have any control over this integration.

    Can this be reviewed by someone from the Lifter team?

    @rehtset

    I have a possible “bug” report that I wanted to submit. I am using the Elementor Pro plugin with LifterLMS and was told by Elementor support to contact Lifter about a “missing has_archive in CPT [Custom Post Type] initialization/registration” with the Lesson post type.

    This isn’t a bug, exactly. LifterLMS doesn’t support archives for the lesson post type. We are not missing the has_archive parameter during post type registration. We intentionally don’t declare it because archives are not supported. The default value of has_archive is false (denoting archives are not supported) and we don’t pass it because the parameter is not required by the WordPress core method in question.

    Source: https://developer.ww.wp.xz.cn/reference/functions/register_post_type/#has_archive

    I’m still working with Elementor support but wanted to reach out and see if there is anything Lifter can do. I know Lifter says it supports Elementor integration but wondered if there is an integration issue on either the Elementor or Lifter side of the equation.

    We don’t actually maintain anything that adds support for Elementor. Although, generally Elementor functions with LifterLMS.

    It sounds like Elementor only allows templates for post types that support archives? In which case this isn’t really something we can fix. If we’re to add support for archives then we expose functionality we don’t intend to expose.

    Archives display a paginated list of all posts of the given post type. For example, the “Blog page” in default WordPress is the “blog” post type archive page. This lists all your blog posts.

    The “Course catalog” page is the course post type archive. It lists all your courses.

    A lesson archive page would list all your lessons which is *not* how lessons are intended to work. Thus we don’t enable them during post type registration.

    Update: Received the following from Elementor regarding the LifterLMS integration:

    Everything about this integration was developed by them, so we do not have any control over this integration.

    Can this be reviewed by someone from the Lifter team?

    We don’t have an elementor integration that we maintain. You may be referring to the 3rd party integration plugin, “Lifter Elements” which is developed by another team (Tangible plugins). If you’re looking for help with this integration plugin you can reach out to Tangible directly: https://tangibleplugins.com/products/lifter-elements/

    Hope that clears things up and let us know if you have any other questions

    Thread Starter rehtset

    (@rehtset)

    That does help, and I appreciate the thorough explanation. I expected this to be a problem with how Elementor’s Display Conditions read Lifter post types, but I figured I should do due diligence since Elementor asked me to contact y’all.

    Thank you for taking the time to assist. Hopefully, they will address this as I know this really limits control over how lesson design can be customized with their tool.

    You’re welcome @rehtset

    Have a great day! 🙂

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

The topic ‘Integration with Elementor Issue’ is closed to new replies.