function blogger_query_vars_filter( $vars ) { $vars[] = "blogger"; return $vars; } add_filter('query_vars', 'blogger_query_vars_filter'); function blogger_template_redirect() { global $wp_query; $blogger = $wp_query->query_vars['blogger']; if ( isset ( $blogger ) ) { wp_redirect( get_wordpress_url ( $blogger ) , 301 ); exit; } } add_action( 'template_redirect', 'blogger_template_redirect' ); function get_wordpress_url($blogger) { if ( preg_match('@^(?:https?://)?([^/]+)(.*)@i', $blogger, $url_parts) ) { $query = new WP_Query ( array ( "meta_key" => "blogger_permalink", "meta_value" => $url_parts[2] ) ); if ($query->have_posts()) { $query->the_post(); $url = get_permalink(); } wp_reset_postdata(); } return $url ? $url : home_url(); } Up North Captured Moments: Happy Birthday!

Happy Birthday!

Birthdays are special no matter what your age. Today, I'm excited to be celebrating another year of life with my wonderful friends and family.  While the boys have more festivities in store this evening, I was blessed with a wonderful card from them already...signed by every student in their respective third and fifth grade classes!  Love these boys to pieces and can't wait to see what else they have in store.  In the meantime, just wanted to let you all know that ´╗┐we had five new card designs arrive this past week and "Happy Birthday" is one of them!  (Inside: Enjoy and Celebrate your day) We'll be sharing the others with you here shortly and on our facebook page.  Also...just a heads up, we have an exciting giveaway coming up here soon! Just need to finish a few details. Did you know that January is "National Thank You Month"?  The perfect time to send someone an "Up North" thank you, don't you think?  Stay tuned!

All the Best,
Shannon aka the Birthday Girl :-)