admin管理员组

文章数量:1395329

Good day, I'm currently working with a new plugin which creates a custom post type for different rooms and I'm trying to create a custom template using Toolset, but other content is automatically prepended to my layouts on Toolset. I cannot see any extra code in toolset.

By default the plugin shows two pieces on the ROOM page. 1. Join button and 2. Recordings List

Toolset Homepage

single-bbb-room.php

even though creating a single-bbb-room.php works for removing the sidebar, author and comments, it seems the plugin is automatically adding shortcodes to the page contents. I cannot see how it would be doing that.

** ANY HELP WOULD BE GREATLY APPRECIATED. **

Good day, I'm currently working with a new plugin which creates a custom post type for different rooms and I'm trying to create a custom template using Toolset, but other content is automatically prepended to my layouts on Toolset. I cannot see any extra code in toolset.

By default the plugin shows two pieces on the ROOM page. 1. Join button and 2. Recordings List

Toolset Homepage

single-bbb-room.php

even though creating a single-bbb-room.php works for removing the sidebar, author and comments, it seems the plugin is automatically adding shortcodes to the page contents. I cannot see how it would be doing that.

https://github/blindsidenetworks/wordpress-plugin_bigbluebutton

** ANY HELP WOULD BE GREATLY APPRECIATED. **

Share Improve this question asked Apr 4, 2020 at 6:24 Cullen CarstensCullen Carstens 112 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

The plugin is using a filter on the_content in line 300 of /includes/class-bigbluebutton.php

   // Display join room form.
            $this->loader->add_filter( 'the_content', $plugin_public, 'bbb_room_content' );

So you can probably add the following to your functions.php:

remove_filter( 'the_content', 'bbb_room_content' );

本文标签: custom post typesMaking a Template for a CPT created by a plugin