[Support request] ENABLE CODE SNIPPET Via "Elements > Editing functions.php file possible

Home Forums Support [Support request] ENABLE CODE SNIPPET Via "Elements > Editing functions.php file possible

Home Forums Support ENABLE CODE SNIPPET Via "Elements > Editing functions.php file possible

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1191068
    Jimmy

    Below is a code snippet provided by LearnDash (learning management software I’m using for my courses), and it makes a slight change to how LearnDash post types are registered.

    Essentially, it adds the feature that Elementor needs in order to use courses, lessons & topics as single templates in Elementor.

    https://ldx.design/enable-elementor-templates-learndash/

    The 1st picture has the code on the author using the Code Snippets plugin.
    I’m wondering how to enable this using Elements (via GeneratePress) and what the settings are following their directions (see 2nd screenshot).
    Please let me know if you have any advice on how to do this only through Elements OR need to do as the URL instructions state via Code Snippets

    #1191148
    Leo
    Staff
    Customer Support

    Hi there,

    The hooks element module cannot be used to edit the function.php file.

    You would need to use one of these methods to add the code:
    https://docs.generatepress.com/article/adding-php/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.