Skip to content

Commit

Permalink
Merge pull request #17 from redgreenbird-media/develop
Browse files Browse the repository at this point in the history
Fixed #16
  • Loading branch information
redgreenbird authored May 17, 2022
2 parents 325315b + f004e70 commit dd3827f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions team-members.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
// Include Dependencies
include_dependencies();

// This filter hinders the rendering process of line breaks
add_filter('tiny_mce_before_init', function ($options) {
$options['wpautop'] = false;
return $options;
});
remove_filter('the_content', 'wpautop');
remove_filter('the_excerpt', 'wpautop');

// Initialize the Plugin
$team_member_manager = new TeamMemberManager();
$team_member_shortcode_manager = new ShortcodeManager();
Expand Down

0 comments on commit dd3827f

Please sign in to comment.