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

Basecamp

October 25, 2011 by · Leave a Comment 

Welcome to Coasting Home! This is Basecamp:

2 Bedrooms 2 Baths
4 max no Dogs Kids OK Guest Reviews

Welcome to “Basecamp!” A lofty setting above the little village of Anchor Bay, gazing through coastal redwoods at the ocean. The interior of this great get-away is styled for civilized relaxing for the most intrepid explorer. Rugged touches, and fun artwork add to the sense that you are definitely on vacation!

The kitchen is very well equipped and roomy enough for everyone to get in on the action. Satellite TV, great entertainment system and Internet access combined with the gas heatstove in the livingroom will make ‘roughing it’ very very easy.

First bedroom has queen bed and en suite full bathroom, plus slider to the view deck. Second bedroom has 2 twins which can easily be used as a single king-size bed. Second full bathroom in the hall. The hot tub is perched above the hillside and is private.

Access to Anchor Bay beach is included! Great for boogie boarding, ab diving, tidepooling, or simply a relaxing afternoon at the shore. It’s a short walk to the trail!


This house offers internet access.

Two Nights: $458

Taxes, linens, firewood and cleaning ALWAYS included.
Refundable security deposit required

One Week: $1124

Additional fees include:
$30 reservation fee
$65 dog fee (if applicable)
Please deduct $20 from the stated prices
if you choose to pay in advance by check.


Reserve This Property

Reserve This Property

Find Gualala Vacation Rentals on FlipKey


Leave a Review!

Print This Post Print This Post

Return to top

Back: Artsea

Next: Blue Dolphin

ocean

Pacific Vista

July 22, 2011 by · Leave a Comment 

Welcome to Coasting Home, Inc.! This is: Pacific Vista

2 Bedrooms + Office 2 Baths
6 max Dogs OK Kids OK Guest Reviews

Pacific Vista deck and ocean view

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 10-15 minutes north of Gualala on Iversen Road.

This is a spacious, relaxed and open single-level home that clearly invites the visitor to be at rest. The expansive greatroom holds a generously equipped kitchen, lovely dining area and very comfy living room. This all opens to the patio with a fantastic new hot tub. Perfect for easy outdoor BBQ-ing, dining, and gazing. Up to date furnishings and appointments make this the perfect home away from home!

The office provides a cable modem and printer for your convenience (you supply the laptop). Also in the office is a great futon which makes for easy sitting OR sleeping.

The guest room has a queen bed, and is just off the hallway from a full bathroom.
The huge master bedroom has a king bed, seating area, and door out to the patio. The ensuite bathroom is also very roomy, and offers dual sinks, and a large shower. This room enjoys the same lovely views as the greatroom.

Also included is a garage for guest use and a propane BBQ.
Your dog is welcome for an additional pet rent of $65.


This house offers internet access.

Your next stay is just a call away!

Call Us Now

Two Nights: $643

Taxes, linens, firewood and cleaning ALWAYS included.
Refundable security deposit required

One Week: $1708

Additional fees include:
$30 reservation fee
$65 dog fee (if applicable)
Please deduct $20 from the stated prices
if you choose to pay in advance by check.

Reserve This Property

Reserve This Property


Find
Gualala vacation rentals
on FlipKey

Print This Post Print This Post

Return to top

Back: Oden’s Ohana

Next: Pilar

ocean

Robin’s Nest

August 31, 2010 by · 1 Comment 

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 area are complimented by casual and cheery decor throughout to provide a welcoming and contemporary beach-house getaway. **Please Note: the owners absolutely do not allow ab divers at this home.**



The master bedroom has a queen bed and three-quarter bath. Second bedroom has a full bed, and third room has a comfy futon.





Enjoy outdoor seating on the spacious entry deck, while the sun shines, and take advantage of broad views. This meadow home is the perfect spot to gaze and relax! The hot tub courtyard is great for unwinding and leaving your cares behind.
Your well-behaved dog is welcome, pet fee applies, see below for more details.



Can you find the visitor perched in this photo?



This house offers internet access.

Your next stay is just a call away:

Call Us Now

Two Nights: $579

Taxes, linens, firewood and cleaning ALWAYS included.
Refundable security deposit required

One Week: $1479

Additional fees include:
$30 reservation fee
$65 dog fee (if applicable)
Please deduct $20 from the stated prices
if you choose to pay in advance by check.


Reserve This Property

Reserve This Property

Find Gualala Vacation Rentals on FlipKey

Print This Post Print This Post

Return to top

Back: Redwood House

Next: Rosebud

Sea Ranch, Gualala Vacation Rentals