Created
February 18, 2019 17:16
-
-
Save DigitalEssence/5b39dd8dcacb942a67174bc11e5fd287 to your computer and use it in GitHub Desktop.
WordPress - Enfold - PHP - Add Div using functionand add_action
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
// Simple function to add a div | |
// Note, the display is set to none so it is only visible in the source code | |
function custom_stuff(){ | |
?> | |
<div style="display:none">Find this</div> | |
<?php | |
} | |
add_action('wp_footer', 'custom_stuff'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment