Created
April 7, 2017 04:03
-
-
Save congthien/2c12c5c6f0395f7b5753af5f7cbe322f to your computer and use it in GitHub Desktop.
add section map title
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_custom_button($section_id){ | |
if ( $section_id == 'map') { | |
?> | |
<div class="section-title-area"> | |
<h2 class="section-title">Your title here</h2> | |
</div> | |
<?php } | |
} | |
add_action( 'onepress_section_before_inner', 'add_custom_button' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment