• Resolved kskerp

    (@kskerp)


    Hi,

    I am using the Page Builder plugin in conjunction with my Namaste! LMS plugin.

    The Namaste! LMS plugin uses types called ‘Namaste_lesson’ and ‘Namaste_course’ which are basically ‘posts’.

    By editing lines 116&117 of the settings.php page to include the types:
    // Post types
    $defaults[‘post-types’] = array(‘page’, ‘post’, ‘namaste_course’, ‘namaste_lesson’ );

    I am able to edit the panels inside the ‘posts’.

    I was wondering if you could give me any advice as to if there are any other locations I should instantiate these types so that the page builder plugin works seamlessly?

    https://ww.wp.xz.cn/plugins/siteorigin-panels/

Viewing 1 replies (of 1 total)
  • Thread Starter kskerp

    (@kskerp)

    I did find a solution.

    add_filter( ‘the_content’, ‘siteorigin_panels_filter_content’ );

    This command located in ‘siteorigin-panels.php’ on line 854 was creating a default $priority =10.

    By editing the add_filter command so that the $priority=1, the add_filter command that is called from the Namaste! LMS plugin is no longer having its permissions overwritten.

    I edited the command to the following:

    add_filter( ‘the_content’, ‘siteorigin_panels_filter_content’, ‘1’, ‘1’);

    I thought I would leave this incase anyone is trying to use the Namaste plugin in connection with this page builder plugin.

Viewing 1 replies (of 1 total)

The topic ‘Adding additional types question’ is closed to new replies.