Last active
July 21, 2017 04:08
-
-
Save congthien/d53d205badf6ca4a94e1202e152670ff to your computer and use it in GitHub Desktop.
add custom 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
function add_my_custom_section(){ | |
?> | |
<section id="my_section" class="my_section section-padding onepage-section"> | |
<div class="section-fullwidth"> | |
<div class="container"> | |
<div class="row"> | |
<!-- Your section content here --> | |
</div> | |
</div> | |
</div> | |
</section> | |
<?php | |
} | |
add_action( 'onepress_after_section_about', 'add_my_custom_section' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment