Created
May 16, 2015 10:34
-
-
Save crumina/468b72612eac99e3ca1c to your computer and use it in GitHub Desktop.
[Onetouch] Add custom shortcode after header on all pages
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
/** | |
* Custom shortcode on all pages | |
* in header.php | |
* | |
* @since 1.0.0 | |
*/ | |
function shortcode_after_header () | |
{ | |
echo do_shortcode('[Your shortcode MUST be HERE]'); | |
} | |
add_action('reactor_content_before', 'shortcode_after_header', 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment