Skip to content

Instantly share code, notes, and snippets.

@cjkoepke
Created December 1, 2015 03:17
Show Gist options
  • Save cjkoepke/b90f84edc079f58b0a79 to your computer and use it in GitHub Desktop.
Save cjkoepke/b90f84edc079f58b0a79 to your computer and use it in GitHub Desktop.
Add a progress bar to your Genesis child theme.
<?php
//* Do NOT copy the opening PHP tag
//* Add progress bar
add_action( 'genesis_before', 'ck_progress_bar_markup' );
function ck_progress_bar_markup() {
echo '<div class="progress-bar"><div class="progress-bar-inner"></div></div>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment