Created
May 15, 2017 20:48
-
-
Save thomasplevy/003077d6f857aba3ee1e453d617c415f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // don't copy this line to your functions.php file | |
add_action( 'lifterlms_before_main_content', 'my_content_wrapper_open', 10 ); | |
add_action( 'lifterlms_after_main_content', 'my_content_wrapper_close', 10 ); | |
function my_content_wrapper_open() { | |
echo '<section class="my-wrapper-class" id="main">'; | |
} | |
function my_content_wrapper_close() { | |
echo '</section>'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // don't copy this line to your functions.php file | |
remove_action( 'lifterlms_before_main_content', 'lifterlms_output_content_wrapper', 10 ); | |
remove_action( 'lifterlms_after_main_content', 'lifterlms_output_content_wrapper_end', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment