@forgewp/compiler 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +4 -0
- package/bin/sync-hooks.js +221 -0
- package/lib/blueprints.js +12 -1456
- package/lib/functions-builder.js +244 -1
- package/lib/generate-theme.js +121 -0
- package/lib/hydration-scanner.js +147 -0
- package/lib/markup-processor.js +5 -0
- package/lib/render-theme.mts +19 -2
- package/package.json +3 -2
- package/templates/PresetsStyle.tsx +74 -0
- package/templates/SEO.tsx +109 -0
- package/templates/forgewp-config.ts +43 -0
- package/templates/menus.json +11 -0
- package/templates/mock-data.json +434 -0
- package/templates/wordpress.tsx +1297 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import wpConfig from "../../wp.config";
|
|
2
|
+
|
|
3
|
+
const IS_DEV =
|
|
4
|
+
typeof import.meta !== "undefined" &&
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import.meta.env?.DEV === true;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* PresetsStyle component — Internal system component.
|
|
10
|
+
*
|
|
11
|
+
* Dynamically injects WordPress-preset CSS Custom Properties and enqueues Google Fonts
|
|
12
|
+
* during local Vite development, keeping your styles perfectly in sync with WordPress.
|
|
13
|
+
* In production builds, this returns only the registry-aesthetic design tokens (like --radius)
|
|
14
|
+
* to keep shadcn components and theme variables responsive to your config.
|
|
15
|
+
*/
|
|
16
|
+
export function PresetsStyle() {
|
|
17
|
+
const themeStyle = wpConfig.style || "forgewp";
|
|
18
|
+
|
|
19
|
+
// Production build: only inject custom registry-aesthetic design properties
|
|
20
|
+
if (!IS_DEV) {
|
|
21
|
+
const prodCss = `
|
|
22
|
+
:root {
|
|
23
|
+
--radius: ${themeStyle === "forgewp" ? "0px" : "0.5rem"};
|
|
24
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
25
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
26
|
+
--radius-lg: var(--radius);
|
|
27
|
+
--border-width: ${themeStyle === "forgewp" ? "2px" : "1px"};
|
|
28
|
+
--border-color: ${themeStyle === "forgewp" ? "#09090b" : "#e4e4e7"};
|
|
29
|
+
--shadow-offset: ${themeStyle === "forgewp" ? "4px" : "0px"};
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
32
|
+
return <style dangerouslySetInnerHTML={{ __html: prodCss }} />;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Local development fallbacks for WordPress CSS presets
|
|
36
|
+
const colors = wpConfig.settings?.color?.palette || [];
|
|
37
|
+
const fontSizes = wpConfig.settings?.typography?.fontSizes || [];
|
|
38
|
+
const fontFamilies = wpConfig.settings?.typography?.fontFamilies || [];
|
|
39
|
+
const layout = wpConfig.settings?.layout || {};
|
|
40
|
+
const googleFonts = wpConfig.settings?.typography?.googleFonts || [];
|
|
41
|
+
|
|
42
|
+
// Parse and build Google Fonts href for dev injection
|
|
43
|
+
const fontsHtml = googleFonts.length > 0
|
|
44
|
+
? `<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
45
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
46
|
+
<link href="https://fonts.googleapis.com/css2?family=&{googleFonts.map(f => encodeURIComponent(f)).join("&family=")}&display=swap" rel="stylesheet">`
|
|
47
|
+
: "";
|
|
48
|
+
|
|
49
|
+
const devCss = `
|
|
50
|
+
:root {
|
|
51
|
+
${colors.map((c) => "--wp--preset--color--" + c.slug + ": " + c.color + ";").join("\n ")}
|
|
52
|
+
${fontSizes.map((f) => "--wp--preset--font-size--" + f.slug + ": " + f.size + ";").join("\n ")}
|
|
53
|
+
${fontFamilies.map((f) => "--wp--preset--font-family--" + f.slug + ": " + f.fontFamily + ";").join("\n ")}
|
|
54
|
+
${layout.contentSize ? "--wp--style--global--content-size: " + layout.contentSize + ";" : ""}
|
|
55
|
+
${layout.wideSize ? "--wp--style--global--wide-size: " + layout.wideSize + ";" : ""}
|
|
56
|
+
|
|
57
|
+
/* Registry Aesthetic Mode Custom Properties */
|
|
58
|
+
--radius: ${themeStyle === "forgewp" ? "0px" : "0.5rem"};
|
|
59
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
60
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
61
|
+
--radius-lg: var(--radius);
|
|
62
|
+
--border-width: ${themeStyle === "forgewp" ? "2px" : "1px"};
|
|
63
|
+
--border-color: ${themeStyle === "forgewp" ? "#09090b" : "#e4e4e7"};
|
|
64
|
+
--shadow-offset: ${themeStyle === "forgewp" ? "4px" : "0px"};
|
|
65
|
+
}
|
|
66
|
+
`;
|
|
67
|
+
|
|
68
|
+
return (
|
|
69
|
+
<>
|
|
70
|
+
{fontsHtml && <span dangerouslySetInnerHTML={{ __html: fontsHtml }} />}
|
|
71
|
+
<style dangerouslySetInnerHTML={{ __html: devCss }} />
|
|
72
|
+
</>
|
|
73
|
+
);
|
|
74
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as ReactHelmetAsync from "react-helmet-async";
|
|
3
|
+
import { useWpTitle } from "./wordpress";
|
|
4
|
+
|
|
5
|
+
const defaultKey = "default";
|
|
6
|
+
const ReactHelmetLib = (ReactHelmetAsync as any).Helmet
|
|
7
|
+
? ReactHelmetAsync
|
|
8
|
+
: (ReactHelmetAsync as any)[defaultKey] ?? ReactHelmetAsync;
|
|
9
|
+
const Helmet = (ReactHelmetLib as any).Helmet || React.Fragment;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* ForgeWP SEO — Internal system file. Do not delete.
|
|
13
|
+
*
|
|
14
|
+
* Use this component in `src/app/layout.tsx` to set global SEO defaults,
|
|
15
|
+
* and in individual page files to override them per-page.
|
|
16
|
+
*
|
|
17
|
+
* The ForgeWP compiler reads the props you pass here and injects them
|
|
18
|
+
* directly into the WordPress theme's <head> as native meta tags.
|
|
19
|
+
*
|
|
20
|
+
* @see https://forgewp.dev/docs/seo
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export interface SEOProps {
|
|
24
|
+
/** Page title — defaults to the WordPress post title via useWpTitle() */
|
|
25
|
+
title?: string;
|
|
26
|
+
/** Meta description for search engines and social cards */
|
|
27
|
+
description?: string;
|
|
28
|
+
/** Comma-separated keywords */
|
|
29
|
+
keywords?: string;
|
|
30
|
+
/** Open Graph title (falls back to title if omitted) */
|
|
31
|
+
ogTitle?: string;
|
|
32
|
+
/** Open Graph description (falls back to description if omitted) */
|
|
33
|
+
ogDescription?: string;
|
|
34
|
+
/** Absolute URL to the Open Graph image */
|
|
35
|
+
ogImage?: string;
|
|
36
|
+
/** Open Graph type — "website" for homepages, "article" for posts */
|
|
37
|
+
ogType?: string;
|
|
38
|
+
/** Twitter card type */
|
|
39
|
+
twitterCard?: string;
|
|
40
|
+
/** Twitter creator handle, e.g. "@username" */
|
|
41
|
+
twitterCreator?: string;
|
|
42
|
+
/** Canonical URL — tells search engines the preferred version of this page */
|
|
43
|
+
canonical?: string;
|
|
44
|
+
/** Set to true to prevent this page from being indexed by search engines */
|
|
45
|
+
noIndex?: boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* `<SEO>` — ForgeWP SEO manager.
|
|
50
|
+
*
|
|
51
|
+
* Drop this into your **layout.tsx** to set site-wide defaults.
|
|
52
|
+
* Then drop it into any **page file** to override for that specific template.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* // layout.tsx — global defaults (the compiler reads these for all pages)
|
|
56
|
+
* <SEO
|
|
57
|
+
* description="Your site tagline or description."
|
|
58
|
+
* keywords="WordPress, React, Tailwind"
|
|
59
|
+
* ogImage="https://yoursite.com/og-default.png"
|
|
60
|
+
* />
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* // single.tsx — per-page override (article-specific metadata)
|
|
64
|
+
* <SEO
|
|
65
|
+
* ogType="article"
|
|
66
|
+
* ogImage="https://yoursite.com/og-post.png"
|
|
67
|
+
* twitterCreator="@yourhandle"
|
|
68
|
+
* />
|
|
69
|
+
*/
|
|
70
|
+
export function SEO({
|
|
71
|
+
title,
|
|
72
|
+
description = "A WordPress theme built with ForgeWP — React & Tailwind CSS.",
|
|
73
|
+
keywords = "WordPress, React, Tailwind CSS, ForgeWP",
|
|
74
|
+
ogTitle,
|
|
75
|
+
ogDescription,
|
|
76
|
+
ogImage,
|
|
77
|
+
ogType = "website",
|
|
78
|
+
twitterCard = "summary_large_image",
|
|
79
|
+
twitterCreator,
|
|
80
|
+
canonical,
|
|
81
|
+
noIndex = false,
|
|
82
|
+
}: SEOProps) {
|
|
83
|
+
const wpTitle = useWpTitle();
|
|
84
|
+
const resolvedTitle = title ?? wpTitle;
|
|
85
|
+
|
|
86
|
+
return (
|
|
87
|
+
<Helmet>
|
|
88
|
+
{/* ── Primary ── */}
|
|
89
|
+
<title>{resolvedTitle}</title>
|
|
90
|
+
<meta name="description" content={description} />
|
|
91
|
+
{keywords && <meta name="keywords" content={keywords} />}
|
|
92
|
+
{noIndex && <meta name="robots" content="noindex, nofollow" />}
|
|
93
|
+
{canonical && <link rel="canonical" href={canonical} />}
|
|
94
|
+
|
|
95
|
+
{/* ── Open Graph ── */}
|
|
96
|
+
<meta property="og:type" content={ogType} />
|
|
97
|
+
<meta property="og:title" content={ogTitle ?? resolvedTitle} />
|
|
98
|
+
<meta property="og:description" content={ogDescription ?? description} />
|
|
99
|
+
{ogImage && <meta property="og:image" content={ogImage} />}
|
|
100
|
+
|
|
101
|
+
{/* ── Twitter ── */}
|
|
102
|
+
<meta name="twitter:card" content={twitterCard} />
|
|
103
|
+
<meta name="twitter:title" content={ogTitle ?? resolvedTitle} />
|
|
104
|
+
<meta name="twitter:description" content={ogDescription ?? description} />
|
|
105
|
+
{ogImage && <meta name="twitter:image" content={ogImage} />}
|
|
106
|
+
{twitterCreator && <meta name="twitter:creator" content={twitterCreator} />}
|
|
107
|
+
</Helmet>
|
|
108
|
+
);
|
|
109
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface ColorPreset {
|
|
2
|
+
name: string;
|
|
3
|
+
slug: string;
|
|
4
|
+
color: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface FontSizePreset {
|
|
8
|
+
name: string;
|
|
9
|
+
slug: string;
|
|
10
|
+
size: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface FontFamilyPreset {
|
|
14
|
+
name: string;
|
|
15
|
+
slug: string;
|
|
16
|
+
fontFamily: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface ForgeWPThemeConfig {
|
|
20
|
+
name: string;
|
|
21
|
+
slug: string;
|
|
22
|
+
version: string;
|
|
23
|
+
description: string;
|
|
24
|
+
textDomain: string;
|
|
25
|
+
/** Design aesthetic style — "forgewp" (sharp edges, high-contrast) or "shadcn" (smooth rounded modern) */
|
|
26
|
+
style?: "forgewp" | "shadcn";
|
|
27
|
+
// Design Tokens (Phase 5)
|
|
28
|
+
settings?: {
|
|
29
|
+
layout?: {
|
|
30
|
+
contentSize?: string;
|
|
31
|
+
wideSize?: string;
|
|
32
|
+
};
|
|
33
|
+
color?: {
|
|
34
|
+
palette?: ColorPreset[];
|
|
35
|
+
custom?: boolean;
|
|
36
|
+
};
|
|
37
|
+
typography?: {
|
|
38
|
+
fontSizes?: FontSizePreset[];
|
|
39
|
+
fontFamilies?: FontFamilyPreset[];
|
|
40
|
+
googleFonts?: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "⚡ ForgeWP Navigation Menus — Edit this file to add/remove links in local dev.",
|
|
3
|
+
"primary": [
|
|
4
|
+
{ "title": "Hotelvergleiche", "url": "/hotelvergleiche" },
|
|
5
|
+
{ "title": "Hotels", "url": "/hotels" },
|
|
6
|
+
{ "title": "Über uns", "url": "/about" }
|
|
7
|
+
],
|
|
8
|
+
"utility": [
|
|
9
|
+
{ "title": "Kontakt", "url": "/contact" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
{
|
|
2
|
+
"listicle": [
|
|
3
|
+
{
|
|
4
|
+
"id": 1,
|
|
5
|
+
"title": "Die 5 exklusivsten Berg-Spas & Wellness-Oasen der Alpen",
|
|
6
|
+
"excerpt": "Von schwebenden Pools bis hin zu alpiner Waldforschung: Entdecken Sie die luxuriösesten Wellness-Refugien inmitten schneebedeckter Alpengipfel.",
|
|
7
|
+
"content": "<p>Tief in den Bergen verbirgt sich eine neue Generation des alpinen Luxus. Diese fünf handverlesenen Wellness-Oasen vereinen kühne, minimalistische Holzarchitektur mit jahrhundertealten Naturheilverfahren. Erleben Sie beheizte Infinity-Pools, die direkt über schneebedeckten Schluchten zu schweben scheinen, und private Spa-Suiten mit exklusivem Blick auf die Dolomiten.</p>",
|
|
8
|
+
"date": "May 24, 2026",
|
|
9
|
+
"author": "Isabella von Habsburg",
|
|
10
|
+
"featuredImage": "https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=800&q=80",
|
|
11
|
+
"customFields": {
|
|
12
|
+
"read_time": "6",
|
|
13
|
+
"intro_text": "Die Alpen beherbergen einige der spektakulärsten Spa-Oasen der Welt. Hier präsentieren wir Ihnen fünf handverlesene Berg-Spas, die traditionelle alpine Heilkunst mit wegweisendem modernem Luxus verbinden.",
|
|
14
|
+
"related_hotels": [
|
|
15
|
+
2,
|
|
16
|
+
3,
|
|
17
|
+
4,
|
|
18
|
+
5
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"_terms": {
|
|
22
|
+
"category": [
|
|
23
|
+
{
|
|
24
|
+
"id": 1,
|
|
25
|
+
"slug": "wellness",
|
|
26
|
+
"name": "Wellness & Spa"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": 2,
|
|
30
|
+
"slug": "alps",
|
|
31
|
+
"name": "Alpen"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"post_tag": [
|
|
35
|
+
{
|
|
36
|
+
"id": 10,
|
|
37
|
+
"slug": "luxury",
|
|
38
|
+
"name": "Luxus"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": 11,
|
|
42
|
+
"slug": "relax",
|
|
43
|
+
"name": "Entspannung"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": 2,
|
|
50
|
+
"title": "Historische Juwele: Die romantischsten Paläste am Comer See",
|
|
51
|
+
"excerpt": "Eine Reise durch prächtige Renaissance-Gärten und private Ufer-Palazzi, in denen traditioneller italienischer Adel auf modernen Komfort trifft.",
|
|
52
|
+
"content": "<p>Der Comer See zieht seit Jahrhunderten Denker, Könige und Weltenbummler an. In dieser Auswahl historischer Palasthotels erwacht die Renaissance zu neuem Leben. Von legendären schwimmenden Pools auf dem kristallklaren Wasser bis hin zu seidenbespannten Schlafgemächern und üppigen botanischen Gärten bieten diese Juwele puren italienischen Glamour.</p>",
|
|
53
|
+
"date": "May 22, 2026",
|
|
54
|
+
"author": "Matteo Bianchi",
|
|
55
|
+
"featuredImage": "https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&w=800&q=80",
|
|
56
|
+
"customFields": {
|
|
57
|
+
"read_time": "9",
|
|
58
|
+
"intro_text": "Der Comer See ist das Epizentrum des italienischen 'Dolce Vita'. Entdecken Sie die prachtvollsten Paläste und luxuriösesten Unterkünfte an den Ufern dieses weltberühmten oberitalienischen Sees.",
|
|
59
|
+
"related_hotels": [
|
|
60
|
+
6
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"_terms": {
|
|
64
|
+
"category": [
|
|
65
|
+
{
|
|
66
|
+
"id": 3,
|
|
67
|
+
"slug": "romance",
|
|
68
|
+
"name": "Romantik"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": 4,
|
|
72
|
+
"slug": "italy",
|
|
73
|
+
"name": "Italien"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"post_tag": [
|
|
77
|
+
{
|
|
78
|
+
"id": 12,
|
|
79
|
+
"slug": "history",
|
|
80
|
+
"name": "Geschichte"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": 13,
|
|
84
|
+
"slug": "lake-como",
|
|
85
|
+
"name": "Comer See"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": 3,
|
|
92
|
+
"title": "Design-Hideaways: Südtirols schönste Chalet-Dörfer im Wald",
|
|
93
|
+
"excerpt": "Erleben Sie spektakuläre Holz-Chalets und futuristische Baumhäuser, die sich harmonisch in die unberührten Lärchenwälder schmiegen.",
|
|
94
|
+
"content": "<p>Die perfekte Balance zwischen rohem alpinen Design und luxuriösem Rückzugsort. In Südtirols dichten Wäldern verstecken sich exklusive Baumhäuser und private Holz-Chalets. Mit knisternden Kaminen, privaten Outdoor-Hot-Tubs und einer Architektur, die vollständig auf natürliche Materialien setzt, definieren diese Refugien das Thema Waldruhe neu.</p>",
|
|
95
|
+
"date": "May 20, 2026",
|
|
96
|
+
"author": "Elena Kofler",
|
|
97
|
+
"featuredImage": "https://images.unsplash.com/photo-1510798831971-661eb04b3739?auto=format&fit=crop&w=800&q=80",
|
|
98
|
+
"customFields": {
|
|
99
|
+
"read_time": "7",
|
|
100
|
+
"intro_text": "Erleben Sie die unberührte Natur Südtirols in exklusiven Design-Chalets und luxuriösen Lodges, die sich harmonisch in die wunderschöne Gebirgslandschaft der Dolomiten einfügen.",
|
|
101
|
+
"related_hotels": [
|
|
102
|
+
2,
|
|
103
|
+
5
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"_terms": {
|
|
107
|
+
"category": [
|
|
108
|
+
{
|
|
109
|
+
"id": 5,
|
|
110
|
+
"slug": "chalets",
|
|
111
|
+
"name": "Chalets"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": 6,
|
|
115
|
+
"slug": "design",
|
|
116
|
+
"name": "Design"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"post_tag": [
|
|
120
|
+
{
|
|
121
|
+
"id": 14,
|
|
122
|
+
"slug": "nature",
|
|
123
|
+
"name": "Natur"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": 15,
|
|
127
|
+
"slug": "south-tyrol",
|
|
128
|
+
"name": "Südtirol"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"hotel": [
|
|
135
|
+
{
|
|
136
|
+
"id": 1,
|
|
137
|
+
"title": "Grand Ferdinand Vienna",
|
|
138
|
+
"excerpt": "A sophisticated five-star design escape right on Vienna's historic Ringstraße, celebrating timeless Austrian hospitality with a modern twist.",
|
|
139
|
+
"content": "<p>Experience the grand elegance of Vienna at the Grand Ferdinand. From the stunning rooftop pool to the exquisite Austrian culinary classics at our dining salons, this design hotel celebrates beauty, history, and modern comfort without compromise.</p>",
|
|
140
|
+
"date": "May 23, 2026",
|
|
141
|
+
"author": "Editor-in-Chief",
|
|
142
|
+
"featuredImage": "https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1200&q=80",
|
|
143
|
+
"customFields": {
|
|
144
|
+
"rating": "4.8",
|
|
145
|
+
"price_range": "$$$",
|
|
146
|
+
"location": "Schubertring 10-12, 1010 Vienna",
|
|
147
|
+
"stars": "5",
|
|
148
|
+
"featured": "true",
|
|
149
|
+
"city": "Vienna",
|
|
150
|
+
"website": "https://grandferdinand.com",
|
|
151
|
+
"contact_email": "reservations@grandferdinand.com"
|
|
152
|
+
},
|
|
153
|
+
"_terms": {
|
|
154
|
+
"category": [
|
|
155
|
+
{
|
|
156
|
+
"id": 1,
|
|
157
|
+
"slug": "boutique",
|
|
158
|
+
"name": "Boutique"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"country": [
|
|
162
|
+
{
|
|
163
|
+
"id": 20,
|
|
164
|
+
"slug": "austria",
|
|
165
|
+
"name": "Austria"
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": 2,
|
|
172
|
+
"title": "Forestis Dolomites",
|
|
173
|
+
"excerpt": "Perched high in the Italian Alps, Forestis is an ultra-luxury sanctuary combining minimalist design with pristine nature and holistic wellness.",
|
|
174
|
+
"content": "<p>A place of retreat in the midst of pristine nature. Forestis Dolomites offers an shelter where time becomes tangible and wellness reaches peak mindfulness. Modern clean-line wood-and-glass suites open up to panoramic alpine peaks.</p>",
|
|
175
|
+
"date": "May 23, 2026",
|
|
176
|
+
"author": "Luxury Travel Writer",
|
|
177
|
+
"featuredImage": "https://images.unsplash.com/photo-1571896349842-33c89424de2d?auto=format&fit=crop&w=1200&q=80",
|
|
178
|
+
"customFields": {
|
|
179
|
+
"rating": "4.9",
|
|
180
|
+
"price_range": "$$$$",
|
|
181
|
+
"location": "Palmscheg 22, 39042 Bressanone",
|
|
182
|
+
"stars": "5",
|
|
183
|
+
"featured": "true",
|
|
184
|
+
"city": "South Tyrol",
|
|
185
|
+
"website": "https://www.forestis.it",
|
|
186
|
+
"contact_email": "info@forestis.it"
|
|
187
|
+
},
|
|
188
|
+
"_terms": {
|
|
189
|
+
"category": [
|
|
190
|
+
{
|
|
191
|
+
"id": 2,
|
|
192
|
+
"slug": "wellness",
|
|
193
|
+
"name": "Wellness & Spa"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"country": [
|
|
197
|
+
{
|
|
198
|
+
"id": 21,
|
|
199
|
+
"slug": "italy",
|
|
200
|
+
"name": "Italy"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": 3,
|
|
207
|
+
"title": "Schloss Elmau",
|
|
208
|
+
"excerpt": "A legendary spa retreat nestled deep in the Bavarian Alps. Celebrated worldwide for its cultural concerts, award-winning culinary arts, and pristine serenity.",
|
|
209
|
+
"content": "<p>Schloss Elmau offers an elite hospitality sanctuary for discerning travelers. With multiple award-winning spas, an in-house concert hall hosting world-renowned musicians, and beautiful mountain vistas, it represents the absolute pinnacle of luxury spa escapes.</p>",
|
|
210
|
+
"date": "May 23, 2026",
|
|
211
|
+
"author": "Senior Reviewer",
|
|
212
|
+
"featuredImage": "https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1200&q=80",
|
|
213
|
+
"customFields": {
|
|
214
|
+
"rating": "4.9",
|
|
215
|
+
"price_range": "$$$$",
|
|
216
|
+
"location": "In Elmau 2, 82493 Klais",
|
|
217
|
+
"stars": "5",
|
|
218
|
+
"featured": "true",
|
|
219
|
+
"city": "Bavarian Alps",
|
|
220
|
+
"website": "https://www.schloss-elmau.de",
|
|
221
|
+
"contact_email": "book@schloss-elmau.de"
|
|
222
|
+
},
|
|
223
|
+
"_terms": {
|
|
224
|
+
"category": [
|
|
225
|
+
{
|
|
226
|
+
"id": 2,
|
|
227
|
+
"slug": "wellness",
|
|
228
|
+
"name": "Wellness & Spa"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"country": [
|
|
232
|
+
{
|
|
233
|
+
"id": 22,
|
|
234
|
+
"slug": "germany",
|
|
235
|
+
"name": "Germany"
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": 4,
|
|
242
|
+
"title": "The Chedi Andermatt",
|
|
243
|
+
"excerpt": "A masterpiece of Alpine luxury where elegant Swiss style meets sleek Asian design. Features a dramatic indoor pool, exceptional sake selections, and ski-in convenience.",
|
|
244
|
+
"content": "<p>Surrounded by the natural beauty of the Swiss Alps, The Chedi Andermatt stands out with its bold architectural synthesis. Fine dark woods, soft leather, and warm fireplaces create a warm yet highly polished luxury chalet feel.</p>",
|
|
245
|
+
"date": "May 23, 2026",
|
|
246
|
+
"author": "Lifestyle Columnist",
|
|
247
|
+
"featuredImage": "https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?auto=format&fit=crop&w=1200&q=80",
|
|
248
|
+
"customFields": {
|
|
249
|
+
"rating": "4.8",
|
|
250
|
+
"price_range": "$$$$",
|
|
251
|
+
"location": "Gotthardstrasse 4, 6490 Andermatt",
|
|
252
|
+
"stars": "5",
|
|
253
|
+
"featured": "false",
|
|
254
|
+
"city": "Andermatt",
|
|
255
|
+
"website": "https://www.thechediandermatt.com",
|
|
256
|
+
"contact_email": "info@thechediandermatt.com"
|
|
257
|
+
},
|
|
258
|
+
"_terms": {
|
|
259
|
+
"category": [
|
|
260
|
+
{
|
|
261
|
+
"id": 5,
|
|
262
|
+
"slug": "chalet",
|
|
263
|
+
"name": "Chalets"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"country": [
|
|
267
|
+
{
|
|
268
|
+
"id": 23,
|
|
269
|
+
"slug": "switzerland",
|
|
270
|
+
"name": "Switzerland"
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"id": 5,
|
|
277
|
+
"title": "San Luis Retreat Hotel & Lodges",
|
|
278
|
+
"excerpt": "Exclusive wooden lodges and treehouses surrounding a private natural lake in the heart of South Tyrol. A perfect fusion of alpine luxury, absolute privacy, and cozy warmth.",
|
|
279
|
+
"content": "<p>A magical village of wooden chalets and treehouses hidden in a private 40-hectare larch forest. San Luis balances raw alpine style with world-class wellness, featuring heated pools flowing outdoors and private fireplaces in every lodge.</p>",
|
|
280
|
+
"date": "May 23, 2026",
|
|
281
|
+
"author": "Hideaway Expert",
|
|
282
|
+
"featuredImage": "https://images.unsplash.com/photo-1584132967334-10e028bd69f7?auto=format&fit=crop&w=1200&q=80",
|
|
283
|
+
"customFields": {
|
|
284
|
+
"rating": "4.7",
|
|
285
|
+
"price_range": "$$$",
|
|
286
|
+
"location": "Via Solaria 9, 39010 Avelengo",
|
|
287
|
+
"stars": "5",
|
|
288
|
+
"featured": "true",
|
|
289
|
+
"city": "South Tyrol",
|
|
290
|
+
"website": "https://www.sanluis-hotel.com",
|
|
291
|
+
"contact_email": "info@sanluis-hotel.com"
|
|
292
|
+
},
|
|
293
|
+
"_terms": {
|
|
294
|
+
"category": [
|
|
295
|
+
{
|
|
296
|
+
"id": 5,
|
|
297
|
+
"slug": "chalet",
|
|
298
|
+
"name": "Chalets"
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"country": [
|
|
302
|
+
{
|
|
303
|
+
"id": 21,
|
|
304
|
+
"slug": "italy",
|
|
305
|
+
"name": "Italy"
|
|
306
|
+
}
|
|
307
|
+
]
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"id": 6,
|
|
312
|
+
"title": "Villa d'Este",
|
|
313
|
+
"excerpt": "A Renaissance masterpiece situated on the shores of Lake Como. Boasting legendary floating pools, immaculate formal gardens, and unmatched old-world romance.",
|
|
314
|
+
"content": "<p>For centuries, Villa d'Este has been the destination of choice for royalty, artists, and movie stars. With its iconic floating swimming pool on the lake and pristine gardens, it remains the ultimate luxurious hotel in Northern Italy.</p>",
|
|
315
|
+
"date": "May 23, 2026",
|
|
316
|
+
"author": "Grand Tour Editor",
|
|
317
|
+
"featuredImage": "https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?auto=format&fit=crop&w=1200&q=80",
|
|
318
|
+
"customFields": {
|
|
319
|
+
"rating": "4.9",
|
|
320
|
+
"price_range": "$$$$",
|
|
321
|
+
"location": "Via Regina 40, 22012 Cernobbio",
|
|
322
|
+
"stars": "5",
|
|
323
|
+
"featured": "false",
|
|
324
|
+
"city": "Lake Como",
|
|
325
|
+
"website": "https://www.villadeste.com",
|
|
326
|
+
"contact_email": "reservations@villadeste.it"
|
|
327
|
+
},
|
|
328
|
+
"_terms": {
|
|
329
|
+
"category": [
|
|
330
|
+
{
|
|
331
|
+
"id": 4,
|
|
332
|
+
"slug": "adults-only",
|
|
333
|
+
"name": "Adults Only"
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"country": [
|
|
337
|
+
{
|
|
338
|
+
"id": 21,
|
|
339
|
+
"slug": "italy",
|
|
340
|
+
"name": "Italy"
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"_taxonomy_category": [
|
|
347
|
+
{
|
|
348
|
+
"id": 1,
|
|
349
|
+
"name": "Boutique",
|
|
350
|
+
"slug": "boutique",
|
|
351
|
+
"description": "Individuelle Boutique-Hotels mit Charakter",
|
|
352
|
+
"count": 3,
|
|
353
|
+
"meta": {}
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"id": 2,
|
|
357
|
+
"name": "Wellness & Spa",
|
|
358
|
+
"slug": "wellness",
|
|
359
|
+
"description": "Hotels mit erstklassigen Spa- und Wellnessangeboten",
|
|
360
|
+
"count": 4,
|
|
361
|
+
"meta": {}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"id": 3,
|
|
365
|
+
"name": "Familie",
|
|
366
|
+
"slug": "family",
|
|
367
|
+
"description": "Familienfreundliche Hotels",
|
|
368
|
+
"count": 2,
|
|
369
|
+
"meta": {}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"id": 4,
|
|
373
|
+
"name": "Nur für Erwachsene",
|
|
374
|
+
"slug": "adults-only",
|
|
375
|
+
"description": "Exklusiv für Erwachsene",
|
|
376
|
+
"count": 2,
|
|
377
|
+
"meta": {}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"id": 5,
|
|
381
|
+
"name": "Chalets",
|
|
382
|
+
"slug": "chalet",
|
|
383
|
+
"description": "Luxuriöse Chalets und alpine Unterkünfte",
|
|
384
|
+
"count": 1,
|
|
385
|
+
"meta": {}
|
|
386
|
+
}
|
|
387
|
+
],
|
|
388
|
+
"_taxonomy_country": [
|
|
389
|
+
{
|
|
390
|
+
"id": 20,
|
|
391
|
+
"name": "Österreich",
|
|
392
|
+
"slug": "austria",
|
|
393
|
+
"description": "Handverlesene Hotels in Österreich",
|
|
394
|
+
"count": 1,
|
|
395
|
+
"meta": {
|
|
396
|
+
"featured_image": "https://images.unsplash.com/photo-1512100901049-09e9f4253c13?auto=format&fit=crop&w=600&q=80",
|
|
397
|
+
"flag": "🇦🇹"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"id": 22,
|
|
402
|
+
"name": "Deutschland",
|
|
403
|
+
"slug": "germany",
|
|
404
|
+
"description": "Handverlesene Hotels in Deutschland",
|
|
405
|
+
"count": 1,
|
|
406
|
+
"meta": {
|
|
407
|
+
"featured_image": "https://images.unsplash.com/photo-1467269204594-9661b134dd2b?auto=format&fit=crop&w=600&q=80",
|
|
408
|
+
"flag": "🇩🇪"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"id": 23,
|
|
413
|
+
"name": "Schweiz",
|
|
414
|
+
"slug": "switzerland",
|
|
415
|
+
"description": "Handverlesene Hotels in der Schweiz",
|
|
416
|
+
"count": 1,
|
|
417
|
+
"meta": {
|
|
418
|
+
"featured_image": "https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=600&q=80",
|
|
419
|
+
"flag": "🇨🇭"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"id": 21,
|
|
424
|
+
"name": "Italien",
|
|
425
|
+
"slug": "italy",
|
|
426
|
+
"description": "Handverlesene Hotels in Italien",
|
|
427
|
+
"count": 3,
|
|
428
|
+
"meta": {
|
|
429
|
+
"featured_image": "https://images.unsplash.com/photo-1529260830199-42c24126f198?auto=format&fit=crop&w=600&q=80",
|
|
430
|
+
"flag": "🇮🇹"
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
}
|