gillish

Learn every setting in Cairnstone’s block sidebar

Cairnstone adds its own settings to the sidebar on the right of the block A piece of a page, such as a paragraph, a picture or a button. In WordPress you build a page by putting blocks one after another. editor. This article goes through every one of them: what each control does, the choices it offers, and how to undo it. What you see depends on the block you select and on where you edit it, so the article starts there.

On this page:

Where the settings show

Select a block and the sidebar shows two tabs: Settings (the gear) and Styles (the half circle). Cairnstone works in two places, and the tabs hold different things in each.

A Hero block in the editor, and its Settings tab with the Hero and Cairnstone data panels, the CAIRNSTONE group's Visibility and Schema rows, and the Visibility, Interactions, Schema and Advanced panels.
The Settings tab of a Hero, with Cairnstone’s panels under the block’s own.

In Cairnstone → Blocks, where you build your own blocks

  • The Styles tab is Cairnstone’s own: the state buttons, then Color, Typography, Border, Shadow, Filters, Size & spacing, Advanced and CSS, with a Reset Look button at the foot. It is the one place to style a block here.
  • The Settings tab holds the block’s own settings, then Cairnstone’s panels.

In a regular post or page

  • The Styles tab keeps WordPress’s own controls: Color (Text, Background, Link), Typography, Dimensions and Border. Cairnstone’s state buttons and look panels do not show here.
  • The Settings tab holds the same Cairnstone panels as in Cairnstone → Blocks.
The same Hero's Styles tab side by side: in Cairnstone's block workspace with the state buttons and the ready-made colour sets, and in a regular post with WordPress's own Color and Typography panels.
The Styles tab in Cairnstone → Blocks (left) and in a regular post (right).

Cairnstone’s panels in the Settings tab

On every block, a plain WordPress Paragraph included, the Settings tab shows:

  • Cairnstone data, on the blocks that can fill their text from your site. It sits right under the block’s own settings.
  • A small CAIRNSTONE group with two summary rows, Visibility and Schema, each with its current setting, for example “Visibility · Show to everyone” and “Schema · Off”. Click a row to open that panel.
  • Visibility: who sees this block, and when.
  • Interactions: what the block does when a visitor clicks it, points at it or scrolls to it.
  • Schema: what search engines are told about the block. A few blocks have nothing to describe and show no Schema panel, for example the Button, Image, Table, Tabs, Pricing Cards and Comparison Table.
  • Advanced: WordPress’s own fields for an extra CSS class and extra CSS.

WordPress’s own Image block opens on its Content tab, which holds only the image fields. Open its Settings tab to find the Cairnstone panels.

A block you built, placed in a post

When you place a block you built in Cairnstone → Blocks into a post or page, select it and the sidebar shows its Visibility, Interactions and Schema, so you can decide on this page who sees it. Select something inside it and you can rewrite the words, swap the images and change that part’s own settings, and move or remove parts. Its look (the colours, shadows and the looks for each state) stays as you designed it; change that in Cairnstone → Blocks.

The Styles tab: a look for every state

Everything in this section is in Cairnstone → Blocks. For a step-by-step start, see Style a block in the Styles tab.

At the top of the tab sits WordPress’s own block style picker (on a Paragraph: Default, Display, Subtitle, Annotation). Below it you may see a WordPress panel named Typography that says “All options are currently hidden”. You can leave it alone: Cairnstone’s own Typography section is further down.

State buttons

A block can look one way at rest and another way when a visitor points at it, tabs to it or presses it. Five buttons sit at the top of the tab:

  • Default: the look at rest. Every other state starts from it.
  • Hover: when the visitor moves the mouse over the block.
  • Focus: when the visitor tabs to the block with the keyboard.
  • Active: while the visitor is clicking or pressing the block.
  • Disabled: when the block is turned off. The mouse and keyboard do not trigger it, so a block keeps its normal look unless it is set that way.

Pick a state, then change any control below. A state you leave alone looks exactly like Default. A small dot appears on each state that has its own settings, and the line under the buttons counts them (“1 change.”) with a link to reset that state only, for example Reset Hover.

Copy styles from copies one state’s settings into the state you are editing. It shows once another state has settings of its own.

You can try the states in the editor. Point at the block on the canvas, and it shows its real Hover look. To see Focus, Active or Disabled, pick that state button, and the canvas shows the block in that state while you style it.

A dental clinic's Book an appointment button in the editor, with Hover picked in the Styles tab, the line 4 changes and Reset Hover, and Copy styles from.
Hover picked, with four changes of its own.

Reset Look, at the foot of the tab, resets the look on this block.

A worked example, a button that lifts, dips and shows a ring: Buttons that answer back.

Color

  • A ready-made set: one pick fills the background, text and link colour: Default, Blue, Red, Amber, Contrast and Neutral; for dark pages Deep Blue, Deep Red and Deep Amber; or Custom to set your own below. Neutral follows your page: no background, and your page’s own text and link colours. Inside any set, links in the text are underlined, also when your theme The design of your whole site: its fonts, colours and where the menu and footer go. You pick it under Appearance, then Themes. removes underlines.
  • Background color, Text color and Link color: each opens your theme’s colours, a colour picker and Clear.
  • Block opacity: from 0 to 100 %, 100 to start. It fades the whole block, content and all.
Pricing Cards in the editor with the Blue colour set picked: the buttons, the recommended band, the ticks and the prices turn blue, and the cards stay light.
The ready-made colour sets, on a set of pricing plans.

Follow the theme, or set your own

With nothing chosen, a block already follows your theme: its text takes the theme’s text colour, and its background stays see-through. A few blocks wear their own look instead: Pricing Cards and Comparison Table, Code Snippet, Modal, Callout and Affiliate Disclosure.

When you do choose a colour or a text size, it is one of two kinds, and the kind decides what happens when your theme changes later.

  • From the theme, the block follows. Pick one of your theme’s colours, or a size under Theme size, and the block keeps the link to the theme. Change that colour or size in the theme, and every block that uses it changes with it.
  • Your own, the block stays. Pick a colour in the colour picker, or type a number in Font size, and the block keeps exactly that, whatever the theme does later.

The ready-made sets (Blue, Amber and the others) belong to Cairnstone and keep their colours when the theme changes. When you change your theme, check that text is still easy to read on its background.

How to set this up for a brand colour: Change your brand colour once.

A Tip callout on a dark background in the editor, with the Background color popover open on the theme's Contrast colour.
Pick one of your theme’s colours and the block stays linked to it: change it in the theme, and the block changes too.

Typography

Three features under a heading, Why homes choose us, in the editor, and the Typography section of the Styles tab with Format, Alignment, Case, Font, Weight, Theme size, Font size, Line height and Letter spacing.
The Typography section, on a row of features.
  • Format: four buttons you can combine: B (bold), I (italic), U (underline) and S (strikethrough).
  • With U or S on: Line style (Solid, Dashed, Dotted, Double, Wavy), Line color, Line thickness and Underline offset (the gap between the text and the line). For a double line, a bigger thickness also widens the gap between the two lines.
  • Alignment: Auto, Left, Center, Right or Justify. Left and right follow the reading direction, so they swap in right-to-left languages.
  • Case: Off, UPPER, lower or First (a capital at the start of each word).
  • Font: Default or one of your site’s fonts.
  • Weight: only the weights the chosen font has, from Thin (100) to Black (900).
  • Theme size: one of your theme’s text sizes, or Custom to use the font size below.
  • Font size: the size of the text, with a unit button (see Units below).
  • Line height: the space between lines of text.
  • Letter spacing: the space between each letter.
  • Line indent: indents the first line of a paragraph.
  • Text balancing: Default, Balanced (evens out the line lengths, best for headings) or Pretty (improves the last line, so a paragraph does not end on one short word).
  • Limit lines: cuts the text off after this many lines with an ellipsis, so cards in a row stay the same height. 0 turns it off.
  • Content position: Auto, Top, Middle or Bottom: where the content sits when the block is taller than it. Give the block a Minimum height or an Aspect ratio first.
  • Scale text with screen size: the font size you set is used on wide screens, and the text shrinks smoothly on narrow ones, never below a readable size.
  • Drop cap: enlarges the first letter of the first paragraph, like a magazine. Size (lines) sets how many lines tall the letter is.
  • On the Button block: Vertical text stands the label up as a column with upright letters, and Rotate text tilts it from -180 to 180 degrees.
A House rules card with a Read more link drawn with a wavy orange underline, and the Typography section with B and U on, Line style Wavy, Line thickness and Underline offset.
A link with a wavy underline.
A paragraph about saving money with a large first letter in the editor, and the Drop cap switch on with Size (lines) at 3.
A drop cap three lines tall.
A vertical Part two label beside a paragraph in the editor, and the Button's Vertical text switch on with Rotate text at 0.
Vertical text, on the Button block only.

Units

Every size field has a small unit button beside its label, and each one offers only the units that make sense for it (for example rem, px and em for Font size, and px, rem, vh and % for Minimum height).

You do not have to think about units. Type a plain number like 35 and Cairnstone draws 35 pixels and saves a size that grows with the reader’s own text-size setting. The note under the field says so, for example “Saved as 2.1875rem. Grows with text size.” Type 35px or 2rem and the unit button switches with it. A decimal comma works too. If the field cannot read what you typed, or the number is out of range, it tells you how to write it and keeps the old value.

A Reveal block about roasted coffee in the editor, and the Font size field with the rem unit button, 35 typed, and the note Saved as 2.1875rem. Grows with text size.
Type 35 and the field explains what it saved.

Work in, under Settings → Site defaults, sets the unit the size fields start in for the whole site: rem (recommended) or px.

Border

  • Border width, Border style (Off, Solid, Dashed, Dotted, Double), Border color and Border opacity.
  • Corner radius, with Set each corner for four separate corners.
  • Set each side splits the border into top, right, bottom and left; Use one border joins them again.
  • Outline width, Outline style, Outline color and Outline offset. An outline is drawn just outside the block and takes up no space, so turning it on never moves anything. The offset pushes it out, or pulls it inwards with a negative number. It makes a good focus ring.
A Download for Mac button with a dark ring around it in the editor, and the Border section in the Focus state with Outline width 3, Outline style Solid and Outline offset 3.
An outline as a focus ring, set in the Focus state.

Shadow

  • Elevation: None, Low, Medium, High or Floating, a layered depth that lifts the block off the page.
  • Drop shadow: a shadow the block casts outwards. Pick Soft, Medium, Strong or Glow, or Custom to set Horizontal, Vertical, Blur, Spread and colour yourself.
  • Inner shadow: a shadow inside the box, for a pressed-in look.
  • Text shadow: a shadow on the block’s text, not its box.

Elevation and a drop shadow stack.

A customer quote card lifted by a shadow in the editor, and the Shadow section with Elevation None and the Drop shadow set to Strong.
A Strong drop shadow on a testimonial.

Filters

Blur, Brightness, Contrast, Saturation, Grayscale, Sepia and Invert change the whole block. Background blur blurs what is behind the block, for a frosted-glass look; the block must be a little see-through (Block opacity under 100 %) for it to show. Filters can differ per state, so a block can turn sharp or colourful only when a visitor points at it.

A see-through panel with the title How to fold dumplings over a cooking photo, the photo blurred behind it, and the Filters section with Background blur at 14.
Background blur: a frosted panel over a photo.
A photo of a glazed vase in black and white in the editor, and the Filters section with Grayscale at 100.
Grayscale at 100 turns a photo grey.

Size & spacing

  • Padding and Margin: per side, or linked top and bottom, left and right.
  • Minimum height (at least this tall) and Height (exactly this tall; taller content can be cut off).
  • Minimum width, Width (exactly this wide; it will not shrink on narrow screens) and Maximum width (never wider, still narrows on small screens).
  • Position: where the block sits when it is narrower than its column: as the theme places it, Start, Center or End.
  • Aspect ratio: Auto, 1:1, 4:3, 3:2, 16:9, 21:9, 3:4, 2:3 or 9:16, so the block keeps its shape as the page resizes.
  • Overflow: what happens when content is bigger than the block: Visible, Hidden, Clip, Scroll or Auto.
  • Stacking order: which block is in front when blocks overlap. A higher number is in front, a lower or negative one behind.
  • Isolate layer: keeps the block and what is inside it on their own layer, so nothing inside overlaps the blocks around it.
  • Stick to the top: the block stays at the top of the window while the page scrolls past it, then lets go at the end of its section.
  • On Cairnstone’s Image block: Media fit (Cover, Contain, Fill, None, Scale down) sets how the picture fills its box, and Focal point (Center, Top, Bottom, Left, Right or a corner) decides which part stays in view when it is cropped.
A booking box with a heading, a line and a button in the editor, and Size & spacing with Padding 40 and 40, Margin and Minimum height 340.
Padding and a minimum height on a box.
The vase photo cropped square in Cairnstone's Image block, and Size & spacing with Stacking order, Isolate layer, Stick to the top, Media fit Cover (crop to fill) and Focal point Top.
Media fit and Focal point, on the Image block.

Advanced

  • Gradient: a blend of a Start color and an End color at an Angle, over the background.
  • Transform: Move sideways, Move up / down, Scale, Rotate, Slant sideways and Slant up / down, around a Pivot point. A small lift and a slightly bigger size on Hover make a button rise to meet the pointer.
  • Transition: how fast the block eases from one state to another, in milliseconds, one value for the whole block. 0 is an instant change.

For visitors who have asked their device for less motion, the movement snaps into place while colours, shadows and opacity still fade gently.

A Start the free lesson button in the editor, and the Advanced section in the Hover state with Move up / down at -6, Scale at 108, Pivot point Centre and Transition.
A button that rises and grows on hover.

CSS

If you write your own CSS, this panel lists the style names the block uses on the page. Save the block once to see them.

A Counter showing 12,500+ meals served, and the CSS panel listing the block's style names under Every Counter block and From WordPress, each with a Copy button.
The CSS panel lists the block’s style names.

Visibility: who sees a block, and when

Visibility is in the Settings tab on every block, in Cairnstone → Blocks and in regular posts alike. Its line reads “Who sees this block, and when”. For a walk-through with examples, see Show different content to different visitors.

The switch and the rules

Two buttons sit at the top: Show to everyone, the default, and Only under certain conditions. The second opens a search field, “Show this block when…”, above twenty ready-made rules in five groups. Type a word to filter them. Click a rule to pick it, then fill in what it needs. Pick another rule goes back to the list. Until a rule’s value is filled in, the summary row says so, for example “Only in (not filled in yet)”.

A Tip callout in the editor, and the Visibility panel with Only under certain conditions on, the Show this block when search field, and the Device and Audience & auth rules.
The ready-made rules, in groups.

Device

These read the device the visitor says they are on, so a narrow browser window on a computer still counts as desktop.

  • Only on mobile, Only on tablet, Only on desktop
  • Only on mobile and tablet, Only on tablet and desktop

Audience & auth

  • Only for logged-in users, Only for logged-out users
  • Hide from administrators, Show only to administrators

Location & time

  • Only in [Country], Not in [Country] and Only in [list of countries]: pick one country, or add several to the list.
  • Only between [time] and [time] (local time): two whole hours, 09:00 to 17:00 to start, on the visitor’s own clock. If the start is later than the end, the rule runs past midnight, so 22:00 to 02:00 means the night.

Country rules need Gillish Node (free) with its country detection on. Until it is, the panel shows “Country can’t be detected on this site yet.” with a link to the settings, and country rules never match: an “Only in” rule hides the block, a “Not in” rule shows it.

A customer quote in the editor, and the Visibility panel with Only in Norway, the summary row Only in Norway, and the notice Country can't be detected on this site yet with Open settings.
A country rule, and the notice shown until Gillish Node detects the country.

Traffic source

  • Only from [referrer host]: the visitor came from that site, for example facebook.com.
  • Only from [UTM source]: the link carried that UTM source, for example newsletter.
  • Hide from search engines, Show only to search engines.

Behaviour

  • Show to first-time visitors: the visitor’s first visit.
  • Show to returning visitors: the second visit onwards.
  • Show to frequent visitors: from the sixth visit.

Visits are counted in a cookie that lasts a year, and only when the visitor has accepted preference cookies (or the site has no cookie banner). Without a count, these rules never match.

When the rule is checked

Under the switch you choose When to apply this visibility rule: the site’s default, After the page loads (in the visitor’s browser) or Before the page is sent (on your server). If your site uses a cache Saved copies, such as copies of your pages, that make the site load faster. After a change, you may have to clear them before visitors see the new version. plugin An add-on you install in WordPress to give your site new features. Gillish Cairnstone and Gillish Core are plugins., a host cache or a CDN, pick After the page loads; the panel warns you when you pick the other. Some rules always use one way: a time rule is always checked in the browser, and a rule about the visitor’s role or search engines always on the server.

Show this visitor the same result for 30 days keeps a visitor on the first result they got. The number of days is a site setting.

Custom rules

Build custom rule, under the list, opens the rule builder for anything the ready-made rules do not cover.

  • Match all or Match any: every row must hold, or one is enough.
  • Each row is a signal, an operator and a value. + Add rule adds a row, + Add group adds a group with its own Match all or any, up to three levels deep.
  • The 19 signals: Device type, Operating system, Browser, Language, Logged in, User role, Country, Local hour, Day of the week, Date, Date, every year, Referrer, UTM source, UTM medium, UTM campaign, Search engine crawler, Visit count, Has sent a form and Has a quiz result.
  • The operators: is, is not, is one of, is not one of, contains, matches pattern, is more than, is less than, is between and is not between. Each signal offers the ones that fit it.
Three features in the editor, and the custom rule builder with Match all and two rows, Device type is Mobile and UTM source is newsletter, with + Add rule and + Add group.
A custom rule with two conditions.

After a form or a quiz

Two signals follow what the visitor does on your site, and they need no other plugin:

  • Has sent a form: type the form’s name as it stands in the Form block‘s settings.
  • Has a quiz result: type the quiz’s name for any result, quiz-name:result-name for one result, or quiz-name:passed for a test they passed. See the Quiz block.

A block with such a rule appears the moment the form is sent or the quiz is finished, without a reload, and is still there on the visitor’s later visits.

A You know the basics callout in the editor, and a custom rule Has a quiz result contains first-aid-quiz:passed, with its help text.
A block that shows after a passed quiz.

Remove a rule

  • Remove one row or group of a custom rule with its × or Remove group.
  • Remove everything with Show to everyone, or with Reset Visibility at the foot of the panel, which also sets the timing choices back.

Interactions: make a block react

Interactions is in the Settings tab on every block. Each interaction reads as one sentence: when something happens on this block, do something to this block or another one. For examples, see Make a block react with Interactions.

Add an interaction

Click Add interaction. A small window opens with three parts, When, Then and Target, and a Done button.

A Meet our dentists button, and the interaction window with When (Click, Hover, Focus, Keyboard, When a set share of this block is in view), Then (the four state toggles, Navigate, CSS, Property) and Target.
The When, Then and Target parts of a new interaction.

When

  • Click: the visitor clicks the block.
  • Hover: the pointer enters the block.
  • Focus: the block gets keyboard focus. A plain block is made focusable for this.
  • Keyboard (Enter / Space): the visitor presses Enter or Space while the block, or something inside it, has focus.
  • When a set share of this block is in view: the share of the block on screen passes a number in Fire at, scrolling in or out. 0.5 means half the block is visible; several numbers can be listed with commas.

Then

  • Toggle hover state, Toggle focus state, Toggle active state and Toggle disabled state: switch on the look you styled for that state. With Hover and Focus, the state is on while the pointer or focus is on the block and off after; with the scroll trigger, it is on while the block is in view.
  • Scroll to the target: the page glides to the target block. Visitors who have asked for less motion get an instant jump.
  • Set a CSS variable …: writes a CSS variable (a name starting with –) on the target, with a value and an optional unit, for styles that read it.
  • Save a visitor signal: saves a named value in the visitor’s browser, which other blocks can react to.
  • Set a bound property …: writes a value to a post field. It only works for logged-in users who may edit other people’s posts, and only they see it in the list.

+ Add another action adds more steps to the same trigger. They run in order.

Target

  • This block, the default, or Another block.
  • Click to target: click any block on the canvas to make it the target. Press Esc to cancel.
  • Pick from list: choose the block from a list of the blocks in the post.
The same button's interaction with Scroll to the target, Another block, Currently targets #team, Click to target and Pick from list.
Scroll to the target: a click glides the page to the team.

The list of interactions

Each saved interaction shows as one row, for example “When Click → Toggle active state”, with a dot that is green when it is set up. Click the row to edit it. Its More actions menu has Move up, Move down, Duplicate, Test and Delete; a deleted row can be brought back with Undo.

Test fires the trigger on the block and lights up the row, to check it is set up. Test all interactions does the same for every row in turn. The effect itself shows on the page, not in the editor, so look at the page to see it.

The Active switch at the top pauses every interaction on the block without deleting any.

The interaction row When Click, Scroll to the target, with its More actions menu open: Move up, Move down, Duplicate, Test and Delete.
A saved interaction and its menu.

Schema: tell search engines what a block holds

Schema adds structured data to a block: a short, hidden description that search engines and AI assistants can read. For some types Google can then show a rich result, such as a recipe card or a product with its price. For more, see Add structured data with the Schema panel.

Switch it on and pick a type

Switch on Describe this block to search engines, then pick a type:

  • Article schema: for blog posts, news, editorial.
  • Product schema: for items you sell (with price, availability).
  • FAQ schema: for question-and-answer blocks.
  • HowTo schema: for step-by-step instructions.
  • Event schema: for upcoming events (with date, location).
  • Recipe schema: for cooking instructions (with ingredients, steps).

Most blocks start with the panel off. The FAQ and How-to blocks come with their own type picked, and the Hero starts with Article switched on.

A Product Card for a cast-iron pan, and the Schema panel switched on with the six types and Product schema picked, its Required fields below.
The six schema types, with Product picked.

Fill in the details

The fields for the type appear right under the picker. Empty fields are skipped.

  • Article: Headline, Author, Published date, Modified date, Cover image URL A web address, such as https://example.com/contact/. It is what you type in the browser to open a page..
  • Product: Name, Description, Price, Currency code, Availability, Brand, Image URL.
  • FAQ: question and answer pairs.
  • HowTo: Title and steps, each with a title and instructions.
  • Event: Name, Start date, End date, Location, Organizer.
  • Recipe: Name, Author, Cook time, ingredients and instruction steps.

A field marked Required still needs a value. On a Hero, a field tagged Auto-filled from Heading (or from the cover image) is read from the block itself; you can still type your own value, and yours wins. A Hero’s Author and dates cannot be read from the block, so type them.

A Hero for language courses, and its Article schema with Headline auto-filled from the heading, an Author typed, two dates marked Required, Cover image URL auto-filled, and the line 2 required fields missing.
Filled, auto-filled and required fields on a Hero.

For questions, steps and ingredients, + Add adds a row and × removes one at once (the editor’s Undo brings it back). A row counts once one of its fields is filled.

A three-step recipe how-to in the editor, and Recipe schema with Name, Author, Cook time and three ingredient rows, each with a remove button, and + Add.
Ingredients as rows in Recipe schema.

More options holds the extra fields for the type, each marked Optional, and For developers: custom code for anything the fields do not cover.

Check it

The line at the foot of the panel tells you where you stand:

  • “Not shown in search results.” The panel is off.
  • “Pick a type to start.”
  • “1 required field missing. It is marked Required above.”
  • “Ready for rich results as Product schema.” with a Test in Rich Results ↗ link, which opens Google’s test for the published page. On a draft it opens the test empty, for you to paste the address.
  • For FAQ and HowTo: “Search engines can read this block as FAQ schema. Google no longer shows it as a rich result.” There is no test link for these two.

See what search engines get shows in plain words what the block will tell them, for example “Search engines will see this as a product.”, the filled fields, and a “Still needed:” line.

The cast-iron pan's Product schema with every field filled, the line Ready for rich results as Product schema with Test in Rich Results, and See what search engines get opened.
Ready for rich results, and what search engines will get.

FAQ, How-to and the pricing blocks

  • The FAQ and How-to blocks send their own data already, from their own switches (on to start). Switch the Schema panel on and it takes over; the block’s own copy goes quiet, so nothing is sent twice.
  • Pricing Cards sends no data. The Comparison Table sends one product rating per named, rated column when it has a rating row, from its own switch Publish the ratings as review data.

In a regular post

When a block you built in Cairnstone → Blocks already has a type, a regular post shows “Using Article schema (set in Cairnstone blocks editor)”. Override for this instance opens the panel for this one copy; Back to inheriting from Cairnstone blocks returns to the block’s own setting.

A Hero in a regular post, with the Schema panel reading Using Article schema (set in Cairnstone blocks editor) and Override for this instance.
In a post, the block uses its own schema.
The same Hero after Override for this instance: Back to inheriting from Cairnstone blocks, the type picker and the Article fields.
Overridden for this one copy.

Cairnstone data: fill a block from the page it sits on

Cairnstone data puts live values from your site into a block’s text, so one block can show the right title, date or price on every page. For a worked example, see Fill a block from your page’s fields.

Field tags

Type a field name in curly braces where the value should go. A heading of Welcome to {Title} shows “Welcome to Summer Sale” on a page titled Summer Sale. Several tags can sit in one text, as in {Date} by {Author}, and capitals do not matter. In the editor you see the tag as you typed it; the value fills in on the page.

A Hero whose heading reads Welcome to, followed by the Title field tag in curly braces, in the editor, and the Cairnstone data panel with Heading and Subheading rows, each with Insert a field, and Show advanced fields.
A field tag in a Hero heading, as the editor shows it.

The panel

On the blocks that support it, the Cairnstone data panel sits right under the block’s own settings. It has one row per text, each with an Insert a field menu that drops a tag into that text:

  • This post: Title, Excerpt, Date, Last modified, Link, Author, Post format.
  • This post’s category: Name, Slug, Description (from the post’s first category).

The panel shows on the Hero, Button, Discount Banner, Testimonial, Author Bio, Counter, Countdown, Progress Bar, Share Buttons, Video and Audio blocks, and on WordPress’s own Paragraph, Heading and Button. Some blocks keep more rows, such as button texts and links, behind Show advanced fields at the foot of the panel.

The Insert a field menu open on the Hero's Heading row, with This post (Title, Excerpt, Date, Last modified, Link, Author, Post format) and This post's category (Name, Slug, Description).
The fields the menu offers.

Your own fields

The menu lists the built-in fields. For a field your theme or a plugin added, type its name in braces, like {price}. The field must belong to the page that shows the block. A name that is not a real field, or a field with no value, stays exactly as you typed it, so ordinary braces in your text are safe.

Images

An image row, such as the Hero’s Cover image, works a little differently. Choose Featured image, Custom field (a field holding an image address) or Another block on this page. The row then reads “Reading from: Featured image”. If the page has no featured image, the block shows its own picture.

The Hero's Cairnstone data panel with Show advanced fields on: Primary button text, Secondary button text and Cover image with Pick where to read from.
The extra rows, with the cover image row last.
The Cover image row's menu open: This post (Featured image, Custom field) and Other (Another block on this page).
Where a cover image can come from.

Tags in plain WordPress blocks

You do not need a Cairnstone block. A tag typed straight into a WordPress Paragraph, Heading, List, Verse or Pullquote fills in the same way. Code blocks are left alone on purpose, so an example like {title} in a Code Snippet stays as written.

A Button’s link can be a web address, a field tag such as {Link}, or a short link from Gillish Node (free), written like [node id="63"]. If the short link cannot be found, or Node is not active, the button keeps its text and drops its link rather than lead to a blank page.

Turn the panel off

Under Settings → Integrations, switch off Bind block text to your data and the panel disappears from every block. Tags already in your text keep filling in.

Gillish Cairnstone's Settings on the Integrations tab, with Detect visitor country off, and Open images in a lightbox and Bind block text to your data switched on.
The switch that shows or hides the panel on every block.

Site-wide tags from Gillish Core

Field tags read from the page a block sits on. For values that are the same on every page, such as today’s date, your site name or the copyright symbol, Gillish Core (free) adds tags in square brackets, like [today], [sitename] and [c]. Turn on Core’s Dynamic Tags and the tags you want first; Use Dynamic Tags lists them all.

  • Type them straight into a Cairnstone block’s text, or a WordPress Paragraph or Heading, and mix them with your own words and field tags.
  • They fill in on the published page and in a block you place in a post. In the editor you see the tag as you typed it.
  • If Core is off, or the tag is not turned on, the tag shows as the text you typed. The page never breaks.
A Discount Banner whose text ends Prices as of, followed by Core's today tag in square brackets, shown as typed in the editor, and its Cairnstone data panel.
A Core tag as the editor shows it; with Gillish Core on, the page shows the date.

Next, read Style a block in the Styles tab.

Trails

Cairnstone