{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 }}?> Gualala : Sea Ranch, Gualala Vacation Rentals
Sea Ranch, Gualala Vacation Rentals
Gualala

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]

Sea Perch Summer Specials Still Available!

Sea Perch Summer Specials Still Available!

Welcome to Coasting Home, Inc.! This is: Sea Perch Studio 1 Bathroom Max Occ. 2 No Dogs Kids not recommended Guest Reviews Enjoy this 1.3 acre Ocean Front home on the beautiful Mendocino County Coast. You will see Sea Birds of all species; seals and sea lions cruise past while the serenity of the ocean absorbs you. The comfort of the living room provides a propane fireplace, and satellite... [Read more about this property]

Gualala Point View

Gualala Point View

Welcome to Coasting Home, Inc.! This is: Gualala Point View 3 Bedrooms 2 Baths 8 max No Dogs Kids OK Guest Reviews **Taking reservations now for this newly remodeled home!Stay tuned as we put the finishing touches on and post new pictures here.Get your summer reservations in today!** First time guests receive $100 discount! Introductory rates…these won’t last! Book soon! Above,... [Read more about this property]

Escape

Escape

Welcome to Coasting Home, Inc.! This is: Escape 2 Bedrooms + Studio 3 Baths 10 max NO Dogs Kids OK Guest Reviews “Escape” as an action word describes a get-away. As a descriptive word, “Escape” might be a hideout. Either way you use it, “Escape” should be on your wish-list for your next Gualala vacation home. Patiently built with great attention to detail and with many unique,... [Read more about this property]

Coral Cove

Coral Cove

Welcome to this lovely ocean-side getaway! The location of this home west of Highway One provides invigorating, panoramic ocean views. Coral Cove is light, contemporary and provides a modern home in a dramatic setting. 2 Bedrooms 1.5 Baths 6 max NO Dogs Read More →

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]

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]

Serendipity

Serendipity

Welcome to Coasting Home, Inc.! This is: Serendipity 2 Bedrooms 2 Baths 8 max (4 adults + 4 kids) no Dogs Kids Recommended Guest Reviews This four-star home is in a quiet neighborhood just a couple blocks from town. Two bedrooms, two baths, 4 adults and up to 4 kids. Hot tub on the deck and propane BBQ. The living room, dining area, and kitchen all face the dramatic view. Mission-style... [Read more about this property]

Ocean’s Window

Ocean’s Window

Welcome to Coasting Home, Inc.! This is: Ocean’s Window 2 Bedrooms 1.5 Baths 4 max Dogs OK Best for Kids over 8 Guest Reviews Seclusion Sunlight Fragrant fir and redwood glades Hot tub, decks BBQ Oh! Did we mention the great ocean view? Ocean’s Window is ready for you to settle right in! Light a fire in the woodstove and get dinner simmering in the kitchen, then you can... [Read more about this property]

Dew Point

Dew Point

Welcome to Coasting Home! This is Dew Point: 3 Bedrooms 2 Baths 6 max no Dogs Kids OK Guest Reviews Here warmth and elegance abound in every detail. Crafted in the mid-90s, “Dew Point” is an exclusive oceanfront 3-bedroom, 2-bathroom contemporary home. Careful attention to design details and comfort is evident in every room. The roomy kitchen has a 6-burner gas range and spectacular... [Read more about this property]

Sea Gate

Sea Gate

Welcome to Coasting Home, Inc.! This is Sea Gate:  3 Bedrooms 2 Baths 6 max no Dogs Best for Adults Guest Reviews       What do you think of when you hear a name like “Sea Gate”? Here is a home that not only wraps its arms around you, it throws open its doors and windows to the freshness and light that accompany life on the coast. Escape to Sea Gate and get lost in... [Read more about this property]

Ebbtide

Ebbtide

Welcome to Coasting Home, Inc.! This is Ebbtide: 2 Bedrooms 2 Baths 4 max no Dogs Best for Adults Guest Reviews Ebbtide is breathtakingly perched at the edge of a rugged point overlooking a private sandy cove, and provides unparalleled vistas to the horizon day or night.   Beautifully designed, incorporating solar concepts, this 2 bedroom/2 bath home is the epitome of casual class.  There... [Read more about this property]

Voyager’s Paradise

Voyager’s Paradise

Welcome to Coasting Home! This is Voyager’s Paradise: 3 Bedrooms 2 Baths 10 max no Dogs Best for Kids over 15 Guest Reviews Deck view with your very own viewfinder just like on the boardwalk!  See whales or just enjoy the sun on this spacious deck. Master bedroom with queen bed and white water views with access to hot tub deck. This beautifully decorated home boasts items from... [Read more about this property]

Redwood House

Redwood House

Welcome to Coasting Home, Inc.! This is: Redwood House 1 Bedroom + Loft 1 Bath 4 max no Dogs Best for Adults Guest Reviews Secluded in the Redwoods above Anchor Bay, this north-coast chalet provides absolute privacy. Appointed with warm tones, authentic native American works, and complimented by the huge brick fireplace in the living room. Curl up on the window seat and enjoy the sunshine... [Read more about this property]

Tidewood

Tidewood

Welcome to Coasting Home! This is Tidewood: 3 Bedrooms + Den 2 Baths 6 max Dogs OK Kids OK Guest Reviews The living room area provides plenty of seating and a propane fireplace, so that you can curl up on the couch and watch the ocean. The den is located off of the living room, and has a large TV with a DVD/VCR player. The kitchen is every family’s delight, with plenty of counter... [Read more about this property]