Patterns
Patterns are ready-made groups of blocks. Insert one, then replace its words and images with your own.
On this page
Insert a section pattern
- Open a page in the block editor.
- Select the plus button at the top left, then open Patterns.
- Browse a Haldane category or search for a pattern title listed below.
- Select the pattern to insert it, then edit its blocks.
- Preview and save the page.
Theme patterns use core WordPress blocks and work without Haldane Toolkit. Each insertion is editable on its own. If you save a pattern as a synced pattern, later changes to that synced pattern affect all its uses.
Create a page from a full-page pattern
- Open Pages → Add New Page and enter a page title.
- Open Patterns and choose the Full pages category.
- Insert one full-page pattern into an empty page.
- In the page settings, choose Landing page for either Home layout. Choose Full page pattern for the other starter pages.
- Replace the sample content, check button links and publish.
- For a home page, open Settings → Reading, choose a static front page and select the page you made.
Full-page patterns already contain their opening heading. Using the normal Pages template can show an extra title. The room teaser patterns contain sample content; use the toolkit's Rooms block when you want a listing that updates as you publish rooms.
The pattern library
The titles below match the English pattern library. The short name in brackets identifies the pattern file. Template patterns marked template use are used inside templates or parts and are hidden from the normal page inserter. Edit them through the Site Editor instead.
Hero
- Coast hero
hero-cover. A wide coastal cover image, heading, text and buttons. - Fading gallery hero
hero-slideshow. An opening gallery with the Fading slideshow style and playback controls. - Split hero
hero-split. A heading and introduction alongside an image. - Page introduction with image
page-header-image. A page title and introduction with an opening image. - Simple page introduction
page-header. A simple page title and text introduction.
About and story
- Days around the coast
features-three. Three illustrated introductions to activities around the hotel. - An introduction to the house
intro-statement. An opening description of the property with room to write in your own voice. - The hotel in numbers
stats. A short row of property facts and numbers. - Meet your hosts
team-or-hosts. An introduction to the people welcoming guests.
Rooms
- Thoughtful everyday details
amenities. A divided list of room and hotel amenities. - Accommodation listings
hidden-accommodations(template use). The accommodation Query Loop used by MotoPress listing templates. - Rooms in alternating rows
room-rows. Editable sample room introductions in alternating image and text rows. - Three rooms to make your own
rooms-cards. Three editable sample room cards with images and links.
Dining
- Lunch and supper menus
dining-menu-two-columns. Two side-by-side menus for lunch and supper. - Seasonal dining menu
dining-menu. A list of dishes, descriptions and prices. - Dining beside the sea
media-text-left. Dining image on the left with text and a link beside it. - Restaurant opening hours
opening-hours. A simple restaurant hours list.
Spa and wellness
- A quieter afternoon
media-text-right. Wellness text with an image on the right. - Spa treatment list
spa-treatments. A text-first treatment list with durations and prices.
Gallery
- Coastal gallery to browse
gallery-carousel. A horizontal image gallery with browsing controls. - Six views of Haldane
gallery-grid. A regular six-image gallery. - An afternoon in pictures
gallery-mosaic. An uneven image grid for a more varied gallery. - Coastal panorama
image-band. A wide panoramic image between page sections.
Reviews
- House notes and press enquiries
awards-press. Space for factual house information and a press contact. Add only claims you can support. - One guest’s stay
review-large. One prominent guest quotation. Replace the sample with a real, permitted review. - Guest notes
reviews-quotes. A set of sample guest notes. Replace them with real reviews you have permission to publish.
Offers
- Three ways to stay
offers-cards. Three sample packages with descriptions and links. Replace all rates and terms.
Contact and location
- Speak with the house
contact-details. Contact text and links for a contact section. - Useful things to know
faq. Expandable questions using core Details blocks. - Finding your way here
getting-here. Travel information and a placeholder location image. This illustration is not an interactive map. - A coast to get to know
location-highlights. A list of nearby places and travel details.
Calls to action
- Plan a stay at Haldane
cta-booking. A booking invitation with a button linked to #book. - Notes from the house
cta-newsletter. An invitation to receive news. Its starter button opens an email enquiry; connect your subscription service yourself.
Journal
- Journal heading
hidden-blog-heading(template use). The journal index introduction. - Comments
hidden-comments(template use). The post comments area and reply form. - No results
hidden-no-results(template use). A message shown when a search or query has no results. - Post details
hidden-post-meta(template use). Post date, author and terms beneath a post heading. - Journal cards
hidden-posts-grid(template use). The journal Query Loop card layout. - More from the journal
hidden-related-posts(template use). A list of other journal posts after an article. - Search heading
hidden-search-heading(template use). A heading and search form for search results. - Journal sidebar
hidden-sidebar(template use). Journal search, categories and recent posts for the sidebar template. - Latest from the journal
posts-latest. A Query Loop showing recent journal posts automatically.
Full pages
- Page not found
hidden-404(template use). Missing-page message and search form. - A house on the hillside page
page-about. A complete About page with property story, facts and hosts. - Let us help you plan your stay page
page-contact. A complete Contact page using core blocks for contacts and travel information. - A table open to the coast page
page-dining. A complete Dining page with images, menu sections and hours. - Follow the coast a little further page
page-experiences. A complete Experiences page with activity introductions and local information. - The house, the hill and the sea page
page-gallery. A complete Gallery page with several image arrangements. - Home with fading gallery
page-home-alternative. The second complete Home page, beginning with a fading image gallery. - Home with coastal cover
page-home. The main complete Home page, beginning with a coastal cover image. - Make a little more of your stay page
page-offers. A complete Offers page with package cards and booking links. - Rooms with space to settle in page
page-rooms. A complete Rooms page with editable sample room sections. - An afternoon to yourself page
page-spa. A complete Spa page with treatment information and images.
Header
- Header: centred logo
header-centered(template use). Shared header with centred site identity and navigation areas. - Header: over image
header-overlay(template use). Shared header for placement over a hero image. - Header
header(template use). Shared header with site identity on the left.
Footer
- Footer: minimal
footer-minimal(template use). The short shared footer layout. - Footer
footer(template use). The full shared footer with booking, contacts, navigation and the mobile booking bar.
Haldane Toolkit patterns
These four patterns appear in the Haldane category while Haldane Toolkit is active. They contain toolkit blocks.
- Booking band (
haldane-toolkit/booking-band): an illustrated cover section with a Booking bar. - Rooms showcase (
haldane-toolkit/rooms-showcase): a heading and a live listing of three published rooms. - Room detail sections (
haldane-toolkit/room-detail-sections): gallery, facts, description, highlights, booking card and other rooms. Use it in a room template where a current room is available. - Contact, map and enquiry (
haldane-toolkit/contact-map-enquiry): hotel contacts, a click-to-load map and an enquiry form.
Room facts and galleries need a room context. To make a general Rooms page, insert a Rooms block or the Rooms showcase pattern instead of Room detail sections.
Useful block styles
Select a block and open its Styles panel to try its supplied styles. Galleries include Mosaic, Carousel and Fading slideshow. Lists include Checks, Divided and Two columns. Buttons include Outline, Light outline and Text with arrow. Images have a Rounded option; Groups have Card and Menu item options. Columns can use Divided, Separators can use Short, Quotes can use Large, Post Terms can use Pills, and Details blocks can use Frequently asked question.