Created
December 1, 2015 03:15
-
-
Save cjkoepke/9390813f474adbabd2a0 to your computer and use it in GitHub Desktop.
Add a blank tracker DIV to the end of an article in Genesis. For use with the Progress Bar tutorial on calvinkoepke.com
This file contains hidden or 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
<?php | |
//* Do NOT include the opening PHP tag | |
//* Add end of content tracker | |
add_action( 'genesis_after_entry_content', 'ck_content_tracker' ); | |
function ck_content_tracker() { | |
echo '<div id="end-of-content"></div>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment