Skip to content

Instantly share code, notes, and snippets.

Jamie Wahlin jwahlin

  • BambooHR
  • Highland, Utah
View GitHub Profile
@jwahlin
jwahlin / custom_progress_bar.php
Last active Oct 23, 2019
Combine Formidable stats with SKT Skillset shortcode
View custom_progress_bar.php
add_shortcode( 'custom_progress_bar', 'add_custom_progress_bar' );
function add_custom_progress_bar( $atts ) {
if (
! isset( $atts['user'] ) || ! isset( $atts['goal'] ) || ! isset( $atts['year_month'] )
|| ! isset( $atts['title'] ) || ! isset( $atts['goal_id'] )
) {
return '';
}
// Get total amount completed for the current month
You can’t perform that action at this time.