// Re-filter content area for Enfold full width add_filter( 'the_content', 'my_enfold_blocked_wrappers', 101 ); function my_enfold_blocked_wrappers( $content ) { if ( wpmem_is_blocked() && ! is_user_logged_in() ) { $content = ' <div class="main_color container_wrap_first container_wrap fullsize"> <div class="container"> <div class="template-page content av-content-full alpha units"> <div class="post-entry post-entry-type-page post-entry-8201"> <div class="entry-content-wrapper clearfix"> ' . $content . ' </div></div>'; // Are extra closing divs needed for all the above? I'm not sure. } return $content; }
Not sure what to do with this code?
You're not a "coder" and don't know what to do? Don't worry! Code Snippets are the basic building blocks of WordPress customization, and once you know the basics, they are simple to use.
Here are some free articles to get you started:
- Using Code Snippets from the Site
- Using a code snippets plugin
- The functions.php File
- Create a plugin file for custom functions
- Create a child theme
- Do not modify plugin files!
For "hands on" help, consider a plugin support subscription or the Pro Bundle.