{file}.php]if(!function_exists('get_post_templates')) {function get_post_templates() { $themes = get_themes(); //an array of all themes in the /themes directory $theme = get_current_theme(); //the current, active theme $templates = $themes[$theme]['Template Files']; //a list of all the current theme's template files $page_templates = array (); foreach ((array)$templates as $template ) { //this loop returns all the "post templates" $template_data = implode( '', file( WP_CONTENT_DIR.$template )); $name = ''; if ( preg_match( '|Single Post Template:(.*)$|mi', $template_data, $name ) ) { $name = $name[1]; } if ( !empty( $name ) ) { $post_templates[trim( $name )] = basename( $template ); } } return $post_templates; //return the array of Post Templates}}//build the dropdown itemsfunction page_templates_dropdown() { global $post; $post_templates = get_post_templates(); foreach ($post_templates as $template_name => $template_file) { //loop through templates, make them options if ($template_file == get_post_meta($post->ID, '_wp_post_template', true)) { $selected = ' selected="selected"'; } else { $selected = ''; } $opt = ''; echo $opt; }}//Filter the single template value, and replace it with//the template chosen by the user, if they chose one.add_filter('single_template', 'get_post_template');if(!function_exists('get_post_template')) {function get_post_template($template) { global $post; $custom_field = get_post_meta($post->ID, '_wp_post_template', true); if(!empty($custom_field) && file_exists(TEMPLATEPATH . "/{$custom_field}")) { $template = TEMPLATEPATH . "/{$custom_field}"; } return $template;}}//Everything below this is for adding the extra box//to the post edit screen so the user can choose a template//Adds a custom section to the Post edit screenadd_action('admin_menu', 'pt_add_custom_box');function pt_add_custom_box() { if(get_post_templates() && function_exists( 'add_meta_box' )) { add_meta_box( 'pt_post_templates', __( 'Single Post Template', 'pt' ), 'pt_inner_custom_box', 'post', 'normal', 'high' ); //add the boxes under the post }} //Prints the inner fields for the custom post/page sectionfunction pt_inner_custom_box() { global $post; // Use nonce for verification echo ''; // The actual fields for data entry echo '

'; echo '
';}//When the post is saved, saves our custom dataadd_action('save_post', 'pt_save_postdata', 1, 2); // save the custom fieldsfunction pt_save_postdata($post_id, $post) { // verify this came from the our screen and with proper authorization, // because save_post can be triggered at other times if ( !wp_verify_nonce( $_POST['pt_noncename'], plugin_basename(__FILE__) )) { return $post->ID; } // Is the user allowed to edit the post or page? if ( 'page' == $_POST['post_type'] ) { if ( !current_user_can( 'edit_page', $post->ID )) return $post->ID; } else { if ( !current_user_can( 'edit_post', $post->ID )) return $post->ID; } // OK, we're authenticated: we need to find and save the data // We'll put the data into an array to make it easier to loop though and save $mydata['_wp_post_template'] = $_POST['_wp_post_template']; // Add values of $mydata as custom fields foreach ($mydata as $key => $value) { //Let's cycle through the $mydata array! if( $post->post_type == 'revision' ) return; //don't store custom data twice $value = implode(',', (array)$value); //if $value is an array, make it a CSV (unlikely) if(get_post_meta($post->ID, $key, FALSE)) { //if the custom field already has a value... update_post_meta($post->ID, $key, $value); //...then just update the data } else { //if the custom field doesn't have a value... add_post_meta($post->ID, $key, $value);//...then add the data } if(!$value) delete_post_meta($post->ID, $key); //and delete if blank }}?> Three Star : Sea Ranch, Gualala Vacation Rentals
Sea Ranch, Gualala Vacation Rentals
Three Star

Silvermist

Silvermist

Welcome to Coasting Home, Inc.! This is: Silvermist 3 Bedrooms 2 Baths 6 max NO Dogs Kids OK Guest Reviews Silvermist offers peace and quiet while giving everyone in your party of up to 6 a place to relax and unwind. Come and experience the treasures that The Sea Ranch has to offer from this gem of a vacation home! Located on Sea Stack, in Unit 35C this home provides great access to the... [Read more about this property]

Seagaze

Seagaze

Welcome to Coasting Home, Inc.! This is: Seagaze 3 Bedrooms 2 Baths 5 max Dogs OK Kids OK Guest Reviews Warm and peaceful, this cedar-built home is centrally located between Gualala and Anchor Bay. Gualala boasts restaurants, shops, galleries and groceries. Anchor Bay offers two restaurants, a great little market with huge wine department, and a marvelous beach. The deck has a hot tub,... [Read more about this property]

Lee

Lee

Welcome to Coasting Home, Inc.! This is the Lee House… 3 Bedrooms 2 Baths 6 max no Dogs Kids OK Guest Reviews WOW! Oceanfront and contemporary! Lee offers exceptional value for a classic Sea Ranch family vacation. The kids will love the wildlife, the sounds and smell of the ocean, and this is the perfect area for bike riding, kite flying and picnics on the bluff! The living room... [Read more about this property]

Artsea

Artsea

Welcome to Coasting Home, Inc.! This is: Artsea 2 bedrooms + loft 3 bathrooms 5 people max Dogs OK Kids Welcome Guest Reviews “Artsea” is one of those one-of-a-kind homes that Sea Ranch is so well known for. Modernist components blend with traditional north coast materials and styling. The owners are artistic and have a great sense of color and space. You’ll enjoy quality... [Read more about this property]

Oden’s Ohana

Oden’s Ohana

Welcome to Coasting Home, Inc.! This is: Oden’s Ohana 2 Bedrooms 2 Baths 6 max NO Dogs Kids OK Guest Reviews Bring your family to Oden’s (chief Norse god) Ohana (Hawaiian for “family”) located just a couple miles north of Gualala. Come… Unwind…. Relax… The beach access is just a short hike away, there are tons of hiking trails in the area and you can also kayak the... [Read more about this property]

Holmes

Holmes

Welcome to Coasting Home, Inc.! This is Holmes: 3 Bedrooms 2 Baths 6 max no Dogs Kids OK Guest Reviews Early Sea Ranchers got to select from among some of the best meadow locations. The Holmes house is no exception. This west meadow site on Bluff Reach boasts extraordinary white water ocean views, as well as a vast expanse of pastoral open space. Spacious ocean view deck opens the whole... [Read more about this property]

Brisas del Mar

Brisas del Mar

Welcome to Coasting Home! This is Brisas del Mar: 3 Bedrooms 3 Baths 6 max no Dogs Kids OK Guest Reviews “Brisas del Mar.” Just imagine gentle breezes, the sound of the surf on the sandbar below, and the fresh fragrance of sea air with a hint of fir and pines. Then, as you enter this simple-looking home, you discover the rich warmth and sizzle of a sophisticated villa. Blending the... [Read more about this property]

Pilar

Pilar

Welcome to Coasting Home, Inc.! This is: Pilar 2 Bedrooms + office 2 Baths 6 max Dogs OK Kids OK Guest Reviews Medieval construction methods meet 21st Century styling and amenities right here on the northern Sonoma coast! Pilar is an elegant example of Post and Beam construction. The house was built by local artisan and Timberpeg builder Michael Thomas, with a lot of hands-on participation... [Read more about this property]

Rosebud

Rosebud

Welcome to Coasting Home, Inc.! This is Rosebud: 3 Bedrooms 2 Baths 6 max Dogs OK Kids OK Guest Reviews     A roomy and bright west meadow home, “Rosebud” is perfectly situated for relaxing family and friends to visit and enjoy some of the best coastal trails and beach access points. Just a short hike to Shell Beach, where sea lions can often be observed, and a great beach for... [Read more about this property]

Pacific Vista

Pacific Vista

Welcome to Coasting Home, Inc.! This is: Pacific Vista 2 Bedrooms + Office 2 Baths 6 max Dogs OK Kids OK Guest Reviews Aptly named, “Pacific Vista” offers soothing blue water views of the ocean from this east-of-One setting. Deer, rabbits and wild birds inhabit this meadow-like area, and the rare and dramatic cove called Hearn Gulch is an easy hike away. The house is approximately... [Read more about this property]

Robin’s Nest

Robin’s Nest

Welcome to Coasting Home, Inc.! This is: Robin’s Nest 3 Bedrooms 2 Baths 6 max Dogs OK Kids OK Guest Reviews Robin’s Nest is a charming three bedroom, two bath home with pretty ocean views and is within walking distance to Shell Beach. This home is great for your family of up to six, and boasts a hot tub, fireplace and flat screen TV. The beautifully updated kitchen and living... [Read more about this property]

Campo del Mar

Campo del Mar

Welcome to Coasting Home, Inc.! This is Campo del Mar: 2 Bedrooms 2 Baths 4 max no Dogs Kids OK Guest Reviews   The view deck off the dining room is perfect for cocktails and the sunset, or just listening to the bird calls and enjoying the moment. Campo del Mar enjoys a lovely, open meadow setting and sparkling blue water views. The newest pool is just a few minutes south, the golf course... [Read more about this property]

Anam Cara

Anam Cara

Welcome to Coasting Home, Inc.! This is Anam Cara: 3 Bedrooms 2 Baths 8 max Dogs OK Kids OK Guest Reviews The newly added spa and courtyard area at Anam Cara, now offers the ultimate vacation. Relax and gaze at the ocean, while enjoying the large spa. The location of this traditional Sea Ranch home is perfect! Easy beach access; great coastline and ocean views. The views from the yard... [Read more about this property]

Kiva

Kiva

Welcome to Coasting Home, Inc.! This is Kiva: 2 Bedrooms 2 Baths 2 max no ab divers no Dogs Best for Adults Guest Reviews Ready for a long, tall Sea Ranch with a twist of Southwest? “Kiva” is the next best thing if you can’t make it to Sedona this weekend! Getting away also means losing some of those work-week boundaries; no cubicles or bustling lobbies here! Just open the large... [Read more about this property]

Moonshadow

Moonshadow

Welcome to Coasting Home, Inc.! This is Moonshadow: 3Bedrooms 2Baths 6 max no Dogs Kids OK Guest Reviews A perfect spot for a hot tub! This lovely garden courtyard provides privacy and is filled with fragrant flowers. A small deck off the living room provides space for morning coffee or a place to sit with a good book. Moonshadow offers a VCR and DVD player along with cable TV in the... [Read more about this property]

Sea Ranch, Gualala Vacation Rentals