add_action('wp_head', function () {
if (is_admin() || wp_doing_cron()) return;
$site = home_url('/');
$graph = [];
/* =====================================================
* REPUTATION ENGINE (GLOBAL)
* ===================================================== */
function pog_get_reputation_score() {
global $wpdb;
$tm_avg = $wpdb->get_var("
SELECT AVG(rating)
FROM {$wpdb->prefix}tourmaster_review
");
$tm_count = $wpdb->get_var("
SELECT COUNT(*)
FROM {$wpdb->prefix}tourmaster_review
");
$tm_avg = $tm_avg ? (float) $tm_avg : 0;
$tm_count = $tm_count ? (int) $tm_count : 0;
$tripadvisor_rating = 4.8;
$tripadvisor_count = 30;
$tourradar_rating = 5.0;
$tourradar_count = 69;
$sum = 0;
$weight = 0;
if ($tm_count > 0) {
$sum += $tm_avg * $tm_count;
$weight += $tm_count;
}
if ($tripadvisor_count > 0) {
$sum += $tripadvisor_rating * $tripadvisor_count;
$weight += $tripadvisor_count;
}
if ($tourradar_count > 0) {
$sum += $tourradar_rating * $tourradar_count;
$weight += $tourradar_count;
}
if ($weight == 0) {
return ["rating" => 4.9, "count" => 0];
}
return [
"rating" => round($sum / $weight, 2),
"count" => $weight
];
}
$rep = pog_get_reputation_score();
/* =====================================================
* ORGANIZATION (GLOBAL ENTITY)
* ===================================================== */
$graph[] = [
"@type" => "TravelAgency",
"@id" => $site . "#org",
"name" => "PICTOURS OF GREECE",
"url" => $site,
"aggregateRating" => [
"@type" => "AggregateRating",
"ratingValue" => $rep["rating"],
"reviewCount" => $rep["count"],
"bestRating" => "5",
"worstRating" => "1"
],
"sameAs" => [
"https://www.tripadvisor.com/",
"https://www.tourradar.com/"
],
"knowsAbout" => [
"Private tours in Greece",
"Peloponnese tours",
"Athens cultural tours",
"Luxury small group travel"
]
];
/* =====================================================
* WEBSITE
* ===================================================== */
$graph[] = [
"@type" => "WebSite",
"@id" => $site . "#website",
"name" => "PICTOURS OF GREECE",
"url" => $site,
"publisher" => [
"@id" => $site . "#org"
],
"potentialAction" => [
"@type" => "SearchAction",
"target" => $site . "?s={search_term_string}",
"query-input" => "required name=search_term_string"
]
];
/* =====================================================
* TOURS (PRODUCT)
* ===================================================== */
if (is_singular('tour')) {
$id = get_the_ID();
$url = get_permalink($id);
$product = [
"@type" => "Product",
"@id" => $url . "#product",
"name" => get_the_title($id),
"description" => pog_meta_desc($id),
"url" => $url,
"image" => get_the_post_thumbnail_url($id, 'full') ? [
"@type" => "ImageObject",
"url" => get_the_post_thumbnail_url($id, 'full')
] : null,
"brand" => [
"@type" => "Brand",
"name" => "PICTOURS OF GREECE"
],
"category" => "Small Group Greece Tours",
"additionalProperty" => [
[
"@type" => "PropertyValue",
"name" => "Group Size",
"value" => "2–6 people"
],
[
"@type" => "PropertyValue",
"name" => "Type",
"value" => "Luxury Small Group Tour"
]
],
"offers" => [
"@type" => "Offer",
"price" => get_post_meta($id, 'tourmaster-tour-price', true),
"priceCurrency" => "EUR",
"availability" => "https://schema.org/InStock"
],
"mainEntityOfPage" => [
"@id" => $url
],
"isPartOf" => [
"@type" => "CollectionPage",
"name" => "Greece Tour Packages",
"url" => home_url('/tours/')
],
"about" => [
"@type" => "Thing",
"name" => "Private guided tours in Greece"
]
];
$graph[] = $product;
/* =====================================================
* FAQ (TOUR-SPECIFIC)
* ===================================================== */
$graph[] = [
"@type" => "FAQPage",
"@id" => $url . "#faq",
"mainEntity" => [
[
"@type" => "Question",
"name" => "What is the group size?",
"acceptedAnswer" => [
"@type" => "Answer",
"text" => "Groups are limited to 2–6 people for a personalized experience."
]
],
[
"@type" => "Question",
"name" => "Are meals included?",
"acceptedAnswer" => [
"@type" => "Answer",
"text" => "Yes, breakfast and selected meals are included depending on itinerary."
]
],
[
"@type" => "Question",
"name" => "Can I book airport transfer?",
"acceptedAnswer" => [
"@type" => "Answer",
"text" => "Yes, private airport transfers can be added during booking."
]
],
[
"@type" => "Question",
"name" => "What is the cancellation policy?",
"acceptedAnswer" => [
"@type" => "Answer",
"text" => "Free cancellation is available up to 60 days before departure."
]
]
]
];
/* Breadcrumb */
$graph[] = [
"@type" => "BreadcrumbList",
"@id" => $url . "#breadcrumb",
"itemListElement" => [
[
"@type" => "ListItem",
"position" => 1,
"name" => "Home",
"item" => home_url('/')
],
[
"@type" => "ListItem",
"position" => 2,
"name" => "Tours",
"item" => home_url('/tours/')
],
[
"@type" => "ListItem",
"position" => 3,
"name" => get_the_title($id),
"item" => $url
]
]
];
}
/* =====================================================
* POSTS (TOURIST ATTRACTION)
* ===================================================== */
if (is_singular('post')) {
$id = get_the_ID();
$url = get_permalink($id);
$graph[] = [
"@type" => "TouristAttraction",
"@id" => $url . "#place",
"name" => get_the_title($id),
"description" => pog_meta_desc($id),
"url" => $url,
"image" => get_the_post_thumbnail_url($id, 'full') ? [
"@type" => "ImageObject",
"url" => get_the_post_thumbnail_url($id, 'full')
] : null
];
$graph[] = [
"@type" => "BreadcrumbList",
"@id" => $url . "#breadcrumb",
"itemListElement" => [
[
"@type" => "ListItem",
"position" => 1,
"name" => "Home",
"item" => home_url('/')
],
[
"@type" => "ListItem",
"position" => 2,
"name" => "Places",
"item" => home_url('/blog/')
],
[
"@type" => "ListItem",
"position" => 3,
"name" => get_the_title($id),
"item" => $url
]
]
];
}
/* =====================================================
* OUTPUT
* ===================================================== */
echo '';
}, 99);
add_action('after_setup_theme', function () {
remove_image_size('neve-blog');
}, 100);
ELAFONISSI BEACH | PICTOURS OF GREECE
ELAFONISSI BEACH
Elafonissi Beach: Experience Crete’s Pink Sand Paradise, Where Turquoise Waters Meet Pink Shores for an Unforgettable Coastal Escape
Located on the southwestern coast of Crete, Elafonissi Beach is one of the island’s most breathtaking destinations. Known for its unique pink-tinged sand and shallow turquoise waters, this coastal gem offers a perfect mix of exotic beauty and relaxed island vibes. The beach connects to a small islet just offshore, often reachable by foot through a shallow lagoon, especially in summer.
Why Is the Sand Pink?
The pink hue of the sand comes from crushed seashells and coral , giving Elafonisi its distinctive and almost magical appearance. While not all areas of the beach are vividly pink, the soft blush of color near the shoreline is enough to make it one of the most photogenic beaches in the world.
A Protected Natural Reserve
Elafonissi is part of the Natura 2000 protected network , which means it is safeguarded due to its rare flora and fauna. The area is home to:
Endemic plants
Migratory birds
Caretta caretta (loggerhead sea turtles) nesting grounds
Visitors are asked to respect marked paths and avoid disturbing the fragile ecosystem.
Things to Do at Elafonissi Beach
Whether you’re visiting for a few hours or spending the whole day, there’s plenty to enjoy:
Relax and Swim
The shallow, clear waters are ideal for children and casual swimmers. Lay back on the soft sand or rent a sunbed and umbrella for extra comfort.
Snorkeling
Bring your gear and explore the underwater life around the lagoon—small fish and natural rock formations make it fun for all ages.
Walk to the Islet
At low tide, a sandbar connects the beach to a small island covered with dunes and wildflowers. It’s perfect for a scenic walk or photos.
Grab a Snack
There are seasonal beach shacks and cantinas nearby offering snacks, drinks, and essentials.
EXPLORE MORE All
Athens & Attica
Central Greece
Crete
Cyclades
Epirus
Peloponnese
All
Archaeological Site
Beach
Castle
City Attraction
Cultural Heritage
Gastronomy
Hidden Gem
Hiking
Historical Landmark
Monastery
Mountain Destination
Museum
Natural Landmark
Story
Sunset Spot
Viewpoint
Village
Winery