Workouts

[insert_php] $args = array( ‘posts_per_page’ => -1, ‘category’ => 5, ‘orderby’ => ‘date’, ‘order’ => ‘ASC’ ); $myposts = get_posts( $args ); foreach ( $myposts as $post2 ) : $postLink = get_permalink($post2->ID); $thumbnail_id = get_post_thumbnail_id($post2->ID); $thumbnail_url = wp_get_attachment_image_src($thumbnail_id,’thumbnail-size’, true); $image = $thumbnail_url[0]; $heading = $post2->post_title; $subHeading = $post2->post_excerpt; $overlayCode = “”; if(current_user_can(‘mepr-active’,’rule: 16′)) { $overlayCode = ‘
‘; } else { $overlayCode = ‘Lock icon for non-members‘; } echo ‘
‘; echo ‘
‘.$overlayCode.’
‘; echo ‘
‘; echo ‘
‘; echo ‘

‘.$heading.’

‘; echo ‘
‘.$subHeading.’
‘; echo ‘
‘; echo ‘
‘; endforeach; [/insert_php]

Named Workouts

Our named workouts are for those who want to test their fitness. It’s a good idea to do one named workout per week. All workouts are designed to be done for time, with an hour being a solid benchmark to start. Keep track of your times and be your own competition.

[insert_php] $args = array( ‘posts_per_page’ => -1, ‘category’ => 10, ‘orderby’ => ‘date’, ‘order’ => ‘ASC’ ); $myposts = get_posts( $args );foreach ( $myposts as $post2 ) : $postLink = get_permalink($post2->ID); $thumbnail_id = get_post_thumbnail_id($post2->ID); $thumbnail_url = wp_get_attachment_image_src($thumbnail_id,’thumbnail-size’, true); $image = $thumbnail_url[0]; $heading = $post2->post_title; $subHeading = $post2->post_excerpt; $overlayCode = “”; if(current_user_can(‘mepr-active’,’rule: 16′)) { $overlayCode = ‘
‘; } else { $overlayCode = ‘Lock icon for non-members‘; } echo ‘
‘; echo ‘
‘.$overlayCode.’
‘; echo ‘
‘; echo ‘
‘; echo ‘

‘.$heading.’

‘; echo ‘
‘.$subHeading.’
‘; echo ‘
‘; echo ‘
‘; endforeach; [/insert_php]