Created
September 17, 2019 08:30
-
-
Save braddalton/7bd698e1009de74897b32cedce25756c to your computer and use it in GitHub Desktop.
Add button using PHP code in Genesis
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
add_action( 'genesis_header_right', 'hook_header_right' ); | |
function hook_header_right() { | |
echo '<a class="button" href="http://example.com">Click Button</a>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment