Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #970676

    Good morning

    I was wondering if you may be able to help me please. I have installed a LearnDash LMS plugin on my website which has Enfold theme, but when I go to create courses and lessons, I don’t get the option to use the Advanced Builder.

    Can you please let me know how I can apply the theme to my courses, lessons and topics.

    I have done a bit of research and saw an article which talks about creating custom posts. But I am not really sure how to do that.

    I have added the website details and my login information below.

    Many many thanks
    Ivana

    #970751

    Hey Ivana,

    There’s no easy way to integrate the Advanced Builder in custom post types created by the LearnDash LMS plugin. It’s probably possible but would require quite a lot of work and testing and is beyond the scope of our support forum. I’d recommend to hire a freelancer for this task.

    Best regards,
    Dude

    #971045

    Thank you for getting back to me Dude. I understand and will look for someone who may be able to help me.

    #971077

    Hello Ivana,
    I have a website setup with Learndash and Enfold for a client and this code in my child-themes functions.php gives us the editor:

    /* Adds PageBuilder to LearnDash Post Typs  */
    add_filter('avf_builder_boxes', 'add_builder_to_posttype');
    function add_builder_to_posttype($metabox)
    {
    	foreach($metabox as &$meta)
    	{
    		if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout')
    		{
    			$meta['page'][] = 'sfwd-courses';
    			$meta['page'][] = 'sfwd-lessons';
                            $meta['page'][] = 'sfwd-topic';
    		}
    	}
    	return $metabox;
    }

    Hope this helps!!
    Regards
    Gregor

    • This reply was modified 6 years, 5 months ago by gregorh.
    #971093

    Hi Gregor

    You are a star!!! Thank you. That worked.

    I so appreciate your help.

    Ivana

    #971104

    Hi Ivana,
    you’re welcome, glad I could help you!
    Best regards
    Gregor

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘LearnDash Plugin’ is closed to new replies.