gillish

Author: Gjellis

  • Prepare your privacy policy for Cairnstone

    Prepare your privacy policy for Cairnstone

    Cairnstone suggests text for your privacy policy, works with WordPress’s tools for data requests, and asks your cookie banner before it keeps visit counts, campaign tags and the other things a visitor did not choose themselves. For every Gillish plugin on one page, see What Gillish stores about your visitors.

    Add Cairnstone to your privacy policy

    1. Go to Settings → Privacy, open Policy Guide and find Gillish Cairnstone.

    2. Copy each part under the matching heading in your own policy. The guide uses the same headings as WordPress’s suggested policy.

    WordPress's Privacy Policy Guide with the Gillish Cairnstone section open and its suggested text.
    Cairnstone’s part of the Privacy Policy Guide.

    The text lists the cookies and browser storage Cairnstone uses, what visitors’ browsers and accounts remember, what Cairnstone keeps on your server, and when video, audio and maps load from other websites. It follows the blocks 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. and settings you have switched on, and WordPress tells you when it changes.

    When someone asks for their data

    Use Tools → Export Personal Data and Tools → Erase Personal Data. The choices Cairnstone remembered with the person’s account are included, and so is every quiz they passed, in a Quiz block or in a video. These tools find people by e-mail, so they cover people with an account. For a visitor who is not logged in, what Cairnstone remembers stays in their own browser, and they remove it by clearing their cookies and site data.

    What Cairnstone keeps on your server

    • Quiz limits: a quiz that lets each visitor take it only so often, when it counts by address, keeps a scrambled code made from the visitor’s IP address, never the address itself. The code is removed when the limit runs out. For a quiz that may be taken only once, it stays, because that is the limit. To stop abuse, every quiz also keeps, by default, such a code for one minute after a visitor checks an answer or finishes.
    • AI assistant requests: the record of what AI assistants asked also holds requests Cairnstone refused, including requests from people who are not logged in. It keeps no IP address, and each entry is deleted after 30 days.
    • Changing sections: the count of which version of a section was shown holds only the section, the version, the rule that chose it and the time. Nothing in it points to a visitor.

    Quiz answers are scored and then thrown away. What a visitor types in a form goes to Gillish Core, which keeps it; Cairnstone keeps only that the form was sent, in the visitor’s own browser.

    What loads from other websites

    A page with Cairnstone blocks loads nothing from other websites while it opens, unless you choose otherwise for a video or a map. By default, video, audio and maps wait for the visitor:

    • Maps load from OpenFreeMap or Google Maps when the visitor presses Show map. You can set a map to load as soon as the visitor accepts marketing cookies, or as soon as the page opens. With the last choice the map loads without asking, so the map’s service gets the visitor’s IP address, and Google Maps may set cookies, before the visitor has answered your cookie banner.
    • Video and audio from YouTube, Vimeo, Spotify and other services load when the visitor presses play. A background video loads with the page, and a player you set to wait for marketing consent loads as soon as the visitor agrees.

    Cairnstone does not show a cookie banner. It works with banners that support the free WP Consent API plugin An add-on you install in WordPress to give your site new features. Gillish Cairnstone and Gillish Core are plugins., such as Complianz, Cookiebot, CookieYes and iubenda. Install WP Consent API next to your banner: the banner writes the visitor’s answer there, and without it the banner has no way to tell Cairnstone anything. Cairnstone asks about three categories:

    • Marketing: the campaign tags from the link a visitor followed.
    • Preferences: how many times a visitor has been here, which version of a changing section they saw, their country, when a countdown that gives each visitor their own time started for them, and, in the video and audio players, where they stopped and their volume, speed and caption choices.
    • Anonymous statistics: the count of which version was shown, and the plays Cairnstone hands to Google Analytics or Matomo when you turn that on.

    Until a visitor agrees, Cairnstone treats these as unknown, as for a visitor who asks not to be tracked. Campaign tags in a link still count on the page the link opens. Where a visitor stopped in a video or recording, and their player choices, stay only until the tab closes. A countdown that gives each visitor their own time stays hidden, because it has no start time to count from. When a visitor says no, Cairnstone deletes what it kept, on the next page they open.

    The choices visitors make themselves are not asked about: closing a notice or a pop-up, ticking a checklist, sending a form or finishing a quiz. Cairnstone remembers these in the visitor’s own browser.

    Without such a banner, Cairnstone keeps everything as described here. The same holds when WP Consent API is installed but no banner has told it to ask visitors first.

    What happens to Cairnstone’s data when you delete the plugin is set on the Data tab; see Find your way in Cairnstone’s menu and settings.

    Next, read Use Cairnstone on a multilingual site.

  • Let an AI assistant build blocks

    Let an AI assistant build blocks

    You can connect an AI assistant, such as Claude or ChatGPT, to your site and ask it to build, change and publish blocks 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. for you. It works through your own AI client. Nothing it could change is open until you turn it on.

    Turn on AI assistants

    1. Go to Cairnstone → Settings → AI assistants.

    2. Switch on Let AI assistants draft Cairnstone blocks.

    3. Leave Let AI assistants publish on, or switch it off to check every change first.

    4. Install and activate an MCP adapter plugin on your site, such as WordPress’s own MCP Adapter. It gives the address your AI client connects to; look it up in the adapter’s documentation.

    5. Choose the WordPress user the assistant will act as. To read blocks, the user must be able to make saved blocks; to draft, change or publish blocks, it must be an Administrator.

    6. Under Users → Profile for that user, create an Application password. The assistant signs in with it as that user, and you can revoke it there at any time.

    7. In your AI client, add the adapter’s address as an MCP server, with the user name and the application password.

    Cairnstone's AI assistants settings: Let AI assistants draft Cairnstone blocks and Let AI assistants publish, both on, and View AI activity.
    The two switches for AI assistants.
    • Let AI assistants draft Cairnstone blocks, off to start with. Off, assistants can read your blocks and change nothing. Anyone who can make saved blocks on your site and connects a client can read them: each assistant reads every published block and its user’s own drafts, and for an Editor or an Administrator all blocks. On, they can also draft new blocks, change blocks and move blocks to the trash. Only people who can manage your site’s settings can turn it on.
    • Let AI assistants publish, on to start with, and in effect only while the first switch is on. It lets an assistant publish new blocks and changes to published blocks, and trash a published block that pages use. Off, assistants save drafts for you to publish, and leave published blocks as they are.

    Then you can say something like “draft an FAQ block about shipping”, and a new draft appears in your Cairnstone blocks list with an AI draft tag, ready for you to open, check and publish. The tag goes when you publish.

    What a published change does

    A change to a published block shows at once on pages that use the block itself, such as a page an assistant built. A copy placed in the editor keeps its own text and look; only Migrate existing instances changes it (see Change a block that is already in use). A page that places a block that is not published shows nothing there until the block is, so publish the block first and the page second.

    Before it publishes, an assistant can try a change without saving: Cairnstone checks that the block shows and lists every page that uses it. Each published change keeps the earlier version, so you or the assistant can put it back. The 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. of every page that uses the block is refreshed (WordPress’s own cache, and LiteSpeed Cache when it is installed). A block that fails shows nothing instead of breaking the page, and the error goes to the site’s error log.

    The AI activity log

    Cairnstone → AI activity lists every call an assistant made in the last 30 days: the time, the account, what it did and the result. IP addresses and browser details are not recorded. Filter by Reading or Drafting, by result (OK, Denied, Invalid, Error), and by 7 days or 30 days. View on a row shows exactly what the assistant sent and what it got back, and Export CSV downloads the list.

    The AI activity screen with four read calls, all OK, the filters for type, result and period, and Export CSV.
    The AI activity log.

    Next, read Prepare your privacy policy for Cairnstone.

  • Set default hints for form fields

    Set default hints for form fields

    A Field 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. can show a short line of help text under its label, called a hint, such as “We only use it to send the guide”. You can write it on each field, in the block’s Hint setting, or set it once for every field of a kind.

    Set default hints

    1. Go to Cairnstone → Settings → Site defaults and find Default field hints.

    2. Fill the box for each kind of field you want: Text, Email, Phone, Web address, Number, Long text or Password.

    3. Click Save Changes.

    Default field hints under Cairnstone's Site defaults, with hints filled in for Email and Phone.
    Default field hints in Cairnstone’s settings.

    Every field of that kind with no hint of its own then shows your text, the fields you built before too. A hint written on a single field always wins. The boxes start empty, so the fields you have built keep what they have.

    To have some fields of a kind with a hint and some without, leave that kind’s default empty and write the hint on the fields that need one.

    A hint is help, not a label: it stays in view while the visitor types, and a screen reader A program that reads the screen aloud, for people who cannot see it well. They move around the page with the keyboard and hear what is there. reads it out with the field. Give every field a label of its own.

    Next, read Let an AI assistant build blocks.

  • Change a block that is already in use

    Change a block that is already in use

    When you save a change to a published 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., Cairnstone compares the block before and after. Every copy you place in a post from the inserter holds its own copy of the block, whether you edited it there or not. So a change reaches the copies already in posts only through the choices below, never by itself. What a post changed in its copy, such as its own image, caption, text or link, stays. One kind of copy follows the block: a block written into a page with nothing inside it, as an AI assistant or an import writes it, shows the block as it is saved now and changes with it.

    When only the look changes

    A change to the look alone is anything you set in the Styles tab: colours, spacing, borders, type, the style of a part. The look is set only in the block, never in a post, so a copy with its own content has nothing to lose. When you save such a change and posts hold copies with their own content, a notice at the top of the editor says how many and names up to three. It offers two choices, and it stays until you pick one, even if you save again.

    • Bring the new look to them: after you confirm, every block inside your block gets its new look on each copy. Their images, text and links stay as they are. Blocks are matched from the top, so when your block is a frame, such as a Container that holds each post’s own content (an Accordion in one post, a Button Group in another), the frame takes the new look and what the post put inside it stays exactly as it is. A copy whose outer blocks no longer match yours is left as it was, and the message afterwards names it.
    • Leave them as they are: after you confirm, the notice closes and the copies keep the look they have. You can change the look again later.

    When the structure changes

    Some changes alter the block’s structure: adding, removing or moving a block inside it, or changing which settings a block inside it stores. The look does not count. When you save such a change and posts use the block, a warning appears at the top of the editor. It says how many posts use the block, names up to three, and offers three choices. Each asks you to confirm first.

    The three choices

    • Cancel and edit: puts the block back to its last saved version. No post changes. Adjust your change and save again.
    • Migrate existing instances: updates every post that uses the block, published, draft, pending, private or scheduled, in every post type. If you only added parts, each post keeps its own content and gets the new parts, and the new look comes along. If you removed or moved something, each copy gets the new layout, and the content written inside it is reset; the confirmation says so. A post whose copy has no clear place for the new parts does not get them. If its outer blocks still match yours, such as a frame holding the post’s own content, it takes the new look and keeps everything inside; otherwise it is left as it was. The message after names both kinds. One run updates up to 200 posts; if more remain, run it again.
    • Publish as a new block: asks for a new slug The last part of a page’s web address, made from its title. For a page called About us, the slug is often about-us. (small letters, numbers and hyphens), saves your change as a second block under that slug, and puts the original back. Both blocks are in the inserter. A slug that exists already, or breaks the rules, is turned away.

    If you are unsure, Publish as a new block is the safe choice: nothing changes on your pages, and you get a second block to work on.

    The notice that a block in use has changed, with the buttons Cancel and edit, Migrate existing instances and Publish as a new block.
    The three choices when a block in use changes.

    Next, read Choose the right layout block.

  • Fill a block from your page’s fields

    Fill a block from your page’s fields

    Cairnstone data lets a 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. show a value from the page it sits on, such as its title or a price field. You type the value once on each page, and the block shows it, so one block serves many pages.

    You write a field tag where the value should go, such as {Title}. A heading Welcome to {Title} shows “Welcome to Garden Tools” on a page called Garden Tools. You can use several tags in one text, such as {Title} by {Author}, and the words around them are yours.

    Insert a field

    1. Open a block you built in the Block workspace, or a post or page.

    2. Select a block that offers it: Hero, Testimonial, Button, Counter, Discount Banner, Author Bio, Audio or Video, or WordPress’s Paragraph.

    3. Open the Cairnstone data panel, right under the block’s own settings.

    4. In the row for the text you want, pick a field under Insert a field to put its tag in the text.

    5. Type around the tag, and save.

    A Button whose text holds the page title as a field tag, with Insert a field in the Cairnstone data panel.
    A field tag in a Button’s text.

    To remove a field, delete its tag like any other word.

    The fields you can pick

    • This post: Title, Excerpt, Date, Last modified, Link, Author, Post format.
    • This post’s category, the page’s first category: Name, Slug, Description.
    • Your own fields: type the field’s name in braces, such as {price}. WordPress’s Custom Fields box, under Screen Options when you edit a post, shows a post’s fields. Text in braces that is not a field stays as you typed it. A field that is empty, or whose name starts with an underscore, is not filled in; the tag stays as typed.

    An image row offers the page’s Featured image, one of your own fields that holds an image address, or an image from another block on the page.

    Fields from your field plugin

    If your site uses Advanced Custom Fields (ACF), Secure Custom Fields (SCF), Meta Box, Pods, JetEngine or Toolset, your fields show by their labels in the Cairnstone data panel, in a group with the plugin An add-on you install in WordPress to give your site new features. Gillish Cairnstone and Gillish Core are plugins.‘s own name. Any block can show them: text, choices, yes or no, dates, and pictures with their alt text. Link fields work in all of them but JetEngine.

    Meta Box, Pods, JetEngine and Toolset: their tags start with a short name for the plugin, such as {mb:phone}, {pods:phone}, {je:phone} or {toolset:phone}. The alt text of a picture works the same way: {mb:photo:alt}, {pods:photo:alt}, {je:photo:alt} or {toolset:photo:alt}. Pick the field in the panel, and the tag goes in by itself. A Pods link field gives its address and its words: {pods:name} and {pods:name:title}. From JetEngine, Custom Content Types are not read. From Toolset, fields on a post are read, but repeatable field groups, user fields and term fields are not.

    In Meta Box, key-value pairs show as text, such as size: M, fit: slim. Text lists and fieldsets show as joined text. A map or OpenStreetMap field shows its position, such as 59.91, 10.75. A background field gives its picture, and a video field the address of its first file. In Pods, an avatar field shows as a picture.

    Which plugin: the rest of this section is about the free ACF, ACF PRO and SCF. It works with all three, unless it says Needs ACF PRO or SCF.

    Advanced Custom Fields keeps each new field out of the editor until you allow it. Edit the field, open its Presentation tab and turn on Allow Access to Value in Editor UI. A field that is off shows greyed out in the panel, marked as turned off, and shows nothing in the editor or on the page. Fields made before Advanced Custom Fields 6.3.6 count as on.

    • Text: a text field, a number or a date goes into any text. Pick it under Insert a field, or type its name in braces, such as {price}.
    • Image: an image field fills an image setting. The picture takes its alt text from your media library by itself. Alt text is the words that describe a picture to screen readers A program that reads the screen aloud, for people who cannot see it well. They move around the page with the keyboard and hear what is there. and to search engines. Alt text you write in the block goes first.
    • Link: a link field gives two entries: its address, and (the words) for its text. To type the words yourself, write {cta:title}.
    • Page Link: gives the address of the page.
    • Embed: gives the address, for the link in an Audio or Video block. In text you see the address, not a player.
    • Group: the fields inside a group show one by one. To type one yourself, write the group’s name, an underscore and the field’s name, such as {details_price}.
    • Checkbox, Select, Radio and Button Group: these show the words of the choice, not the value stored behind it. Several choices show with commas between them, such as Rack, Lock. A choice you later remove from the field shows its stored value. The field’s Return Format setting does not change what shows.
    • True or false: shows Yes or No.
    • Taxonomy: shows its categories or tags with commas between them, such as Outdoor, Tents. This works in Meta Box and Pods too.
    • Google Map: {map} gives the address, {map:lat} the latitude and {map:lng} the longitude.
    • Icon picker: shows a picture when it holds a media file or an address.
    • Clone, which needs ACF PRO or SCF: the fields inside show one by one, under the names the plugin gives them.

    A field called title shows your field: {title}. {Title}, with a capital T, is still the post’s title. A password field never shows on the page. A post locked with a password shows no values from these fields.

    Repeater, Gallery, Relationship, Post Object and Flexible Content fields hold rows, so they have their own block, Field Rows, further down this page.

    A few field types stay out on purpose: user and password fields, icon fields that only hold an icon’s name (in Meta Box and JetEngine), the SCF menu field and the Pods comment field.

    Needs ACF PRO or SCF: you can keep a value for the whole site on an options page, such as your phone number. These fields show in the panel under Site settings, with your plugin’s name after it, and with tags that start with option, such as {option:phone} or {option:cta:title}. They fill any block on any page, also a page with no post behind it, and you see the value in a saved block under Cairnstone → Blocks too. The same switch in the Presentation tab applies. These tags only reach your Advanced Custom Fields fields, so {option:admin_email} stays as typed.

    Meta Box, Pods and JetEngine can keep such values on a settings page too. They show under the same group, and their tags are {mb:option:phone}, {pods:option:page.phone} and {je:option:phone}. In the Pods tag, page is the name of your settings page in Pods. They fill any block, and a list on such a page can fill Field Rows.

    A settings page in Meta Box needs its MB Settings Page extension. A settings page in Pods is closed to visitors until you make it public in Pods. Until then, its fields are grey in the panel.

    In a post or page, click a block in the editor and you see the tag, such as {price}, so you can change it. Click away and you see the value. In a saved Cairnstone block, under Cairnstone → Blocks, there is no page to read from, so you see the tag and an empty picture box. Built-in fields such as {Title} show as written in the editor.

    The panel also works on the Image block, Before and After, the photo in Author Bio and Testimonial, the Hero’s two button links, and the Audio and Video links.

    Show rows with Field Rows

    A field with rows holds a list, such as your team, the pictures of a gallery or a set of related posts. The Field Rows block takes one layout and repeats it for every row. These fields have rows:

    • A list you fill in: a Repeater field in ACF PRO, SCF or JetEngine, or a cloned group in Meta Box, which needs its paid MB Group extension. A row can hold several values. A cloned single field in Meta Box or a repeatable field in Pods or Toolset holds one value a row, {row:value}.
    • A gallery: a Gallery field in ACF PRO or SCF, a picture field in Meta Box that holds several pictures, a file field in Pods that holds several files, or a gallery field in JetEngine.
    • Related posts: a Relationship field in the free Advanced Custom Fields, ACF PRO or SCF, a Post Object field in ACF PRO or SCF, a post field in Meta Box, a relation to posts in Pods, or a posts field in JetEngine.
    • Categories and tags: a Taxonomy field in ACF, SCF, Meta Box or Pods.
    • Flexible Content: in ACF PRO or SCF. A row offers the fields of every layout, and {row:layout} names the layout of that row.
    • Key-value pairs: in Meta Box. Each row gives {row:key} and {row:value}.

    The block shows in the block list only on a page with such a field. The free Advanced Custom Fields has no Repeater or Gallery field, so lists and galleries need ACF PRO or SCF there.

    Show the rows of a field

    1. In a post or page, add the Field Rows block.

    2. Under Field with rows, choose your field.

    3. The block fills itself with a first row, with a block for each value in it.

    4. Change that row as you like, with any blocks. It repeats for every row of the field.

    5. Save, then view the page.

    While you edit, you see your real rows, up to 12. You change the first one. The others are previews.

    In any block inside, a tag that starts with row reads the current row: {row:name}. A picture or a link goes one step further: {row:photo:alt} or {row:link:title}. The data panel lists them in a group called This row. Outside a row, such a tag stays as typed.

    A gallery starts on the Gallery look, with even square tiles. Each row gives {row:image}, {row:image:alt} and {row:caption}.

    Related posts start as a card with the picture, title, excerpt and a Read more button. Each row gives {row:image}, {row:image:alt}, {row:title}, {row:excerpt}, {row:date} and {row:url}. A draft or private post stays out for visitors. A post with no picture draws no picture.

    Categories and tags give {row:title}, {row:excerpt} and {row:url} in each row. A category or tag from a taxonomy without public pages stays out.

    A picture bound to a row takes its alt text from the media library. A field inside a row with Allow Access to Value in Editor UI off shows greyed out and prints nothing.

    Select the block to find its settings:

    • Look: Cards, Lines, Gallery or Plain. It starts on Cards, or on Gallery when you pick a field of pictures.
    • Columns: the most columns that fit, from 1 to 6. It starts on 3. A narrow screen shows fewer by itself, so there is nothing to set for each device. Three columns at 1280 pixels wide become one at 320.
    • Show at most: how many rows to show. 0 shows them all.
    • Skip the first: how many rows to leave out at the start.
    • Sort by: a value in the row. None keeps the order of the field. Turn on Highest or last first to start from the other end.
    • Show only rows by: a value in the row to look in. Under That holds, type a word, such as chef. Capital letters do not matter.
    • Last row first: turns the order around.
    • Text when there are no rows: leave it empty to show nothing.

    A Repeater inside a row can have its own Field Rows block. A Repeater on an options page works too. A post locked with a password shows no rows until the visitor enters the password.

    The editor shows the same rows, in the same order, as the page. You cannot show the rows in a carousel.

    In a paragraph, heading or list

    Field tags work in a regular Paragraph, Heading or List on any post or page too, with no panel: use Insert a field in the text toolbar, or type the tag. A Code block and the Code Snippet block leave tags as plain text, so you can show one as an example.

    Tags also work in the lists inside a block, such as an FAQ answer, a checklist item, a table cell or a plan’s features. Use Insert a field in the text toolbar, or type the tag. The editor shows the values there too, as the page does.

    A colour or a size from a field

    Every colour in the Styles tab has a From a field choice under its picker, for a field that holds a colour such as #1a7f5a. The swatch and the block in the editor show what the field holds for that post, and the page paints it. A field that holds anything but a colour paints nothing.

    The five size controls in the Styles tab (minimum height, height, minimum width, width and maximum width) have the same From a field choice under the slider, for a field that holds a number. The unit is the one picked on the control, so a field holding 240 draws 240px, or 240% if you pick %. The line under the control shows what the field holds for that post. A field with text in it draws nothing.

    Show or hide a block by a field

    A field’s value can decide what a visitor sees. A stock count of 0 can hide a buy button, or swap a card for its sold-out look. See Show content to different visitors.

    A worked example: one price for many pages

    Show each page its own price

    1. Give your product pages a “price” field, for example with WordPress’s Custom Fields.

    2. In the Block workspace, open your block and click into a Hero’s subheading, or use a plain Paragraph.

    3. Type {price} where the number should show, or add your own words around it.

    4. Save the block.

    5. Each product page now shows its own price. Change it on a page, and the block follows.

    A button’s link takes a web address, or, with Gillish Node, a short link tag such as [node id="XX"], and points to that managed link’s address. A tag that matches no link leaves the button without a link.

    Site-wide tags from Gillish Core

    Gillish Core adds tags for values that are the same on every page, written in square brackets: [today] for today’s date, [sitename] for your site name, [c] for the copyright year, and more. Type them in any Cairnstone text, such as a heading, a button, a plan name or a table cell. They fill in on the page, in the editor’s preview, and in a block you export to another site; in the editor you see the tag as you typed it. They need Gillish Core active, with that tag on; otherwise the tag shows as the text you typed, and the page stays whole.

    Turn the panel off

    The Cairnstone data panel is on to start with. To hide it, go to Cairnstone → Settings → Integrations and switch off Bind block text to your data. Blocks that already show a value keep showing it, and tags typed in a paragraph, heading or list keep working.

    Next, read Change a block that is already in use.

  • Add structured data with the Schema panel

    Add structured data with the Schema panel

    The Schema panel adds structured data to a 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., so search engines can read what it holds. For some types, Google can show a rich result in search, such as a recipe card with cooking time and ratings, or a product with its price.

    Add structured data to a block

    1. Select the block and open Schema in the sidebar.

    2. Switch it on.

    3. Pick a type: Article, Product, FAQ, HowTo, Event or Recipe. Library blocks come with the right type picked.

    4. Fill the fields that appear below the type.

    5. Save, and check the status line at the bottom of the panel.

    An FAQ block with its Schema panel open, listing the question and answer pairs.
    The Schema panel on an FAQ block.

    A block with nothing to describe, such as a Button, a Code Snippet, a Counter or an Image, has no Schema section, and neither do Pricing Cards and the Comparison Table. Google shows no rich result for FAQ and HowTo, so for those two the data describes the page to search engines without a special display.

    The fields

    Each required field is in one of three states:

    • Filled: you typed a value.
    • Filled from the block, such as Auto-filled from Heading: the field reads from the block’s own content (its heading, price or date) and follows it when you change the block.
    • Required: there is no value yet.

    FAQ takes question and answer pairs, HowTo takes steps, and Recipe takes ingredients and steps, each as a list of cards with + Add and Remove row. A removed card is gone; add it again with + Add. Optional fields, and a For developers: custom code field, sit under More options.

    The status line

    • Ready for rich results as Product schema. (with the type you picked): the data is sent. A Test in Rich Results link opens Google’s test for the page in a new tab.
    • Search engines can read this block as FAQ schema. Google no longer shows it as a rich result. for FAQ and HowTo.
    • Not shown in search results.: the panel is off.
    • Pick a type to start.: on, with no type yet.
    • 2 required fields missing. See Details., with the number (one reads 1 required field missing): fill the fields marked Required. If nothing is filled in, nothing is sent.
    The bottom of the Schema panel: Ready for rich results as Product schema, Test in Rich Results, and See what search engines get.
    The Schema panel’s status line.

    See what search engines get shows in plain words what search engines will read, such as “Search engines will see this as a product.”, with each field and a Still needed line for what is missing.

    FAQ, How-to and pricing blocks

    • The FAQ and How-to blocks send their own structured data from your questions or steps, with nothing to fill in. Turn the Schema panel on and it takes over, and the block’s own data goes quiet, so nothing is sent twice. When your SEO plugin An add-on you install in WordPress to give your site new features. Gillish Cairnstone and Gillish Core are plugins. already adds FAQ or how-to data to the page, the blocks leave their own out too, so search engines get one answer. Empty fields send nothing.
    • A Comparison Table with a rating row sends one entry per column that has a name and a rating, with its price. The switch is Publish the ratings as review data in the block’s settings, on to start with. Neither block has a Schema panel. Pricing Cards sends no structured data.

    On a post that uses your block

    When a post holds a block you built with schema set up in the Block workspace, the panel shows Using Article schema (set in Cairnstone blocks editor) (with its type). To give one page its own price, headline or date, click Override for this instance. Back to inheriting from Cairnstone blocks undoes that.

    Next, read Fill a block from your page’s fields.

  • Make a block react with Interactions

    Make a block react with Interactions

    The Interactions panel makes a 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. react to what a visitor does, with no code. Each interaction reads as a sentence: When something happens, Then do something. It is in the sidebar’s Settings tab on every block.

    Add an interaction

    1. Select the block.

    2. In the sidebar’s Settings tab, open Interactions and click Add an interaction.

    3. Under When, pick what starts it.

    4. Under Then, pick what happens.

    5. Save the post or block.

    The Interactions panel for a Button with one rule: when it is clicked, toggle its active state.
    An interaction on a Button.

    When

    The visitor clicks the block (Click), points at it (Hover), tabs to it (Focus), or presses Enter or Space on it (Keyboard (Enter / Space)). Or, as the page scrolls, a set share of the block comes into view: When a set share of this block is in view, with Fire at from 0 to 1 (0.5 is half the block).

    Then

    • Turn one of the block’s states on or off, so a look you styled for that state comes to life (see Style a block in the Styles tab).
    • Scroll to the target: the page glides to another block, for example from a button to a section further down. Choose Another block, then click Click to target and click the block on the canvas (Esc cancels), or choose it from Pick from list. Visitors who prefer less motion get an instant jump.
    • Save a visitor signal that the Visibility panel can read later.
    • Set a bound value, or write a style variable on a target. Setting a bound value needs an account that can edit other people’s posts, such as an Editor.

    Change or pause interactions

    Each interaction shows as one row, such as “When Click → Scroll to the target”. Click the row to change it, or use its menu to test it in the editor, duplicate it, move it up or down, or delete it. Test all interactions tests every one in the editor. The Active switch at the top pauses every interaction on the block without deleting any.

    Next, read Add structured data with the Schema panel.

  • Style a block in the Styles tab

    Style a block in the Styles tab

    Cairnstone’s Styles tab styles any 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. in the Block workspace, blocks from other plugins An add-on you install in WordPress to give your site new features. Gillish Cairnstone and Gillish Core are plugins. too. Open it in the sidebar. A block can have one look at rest and another when a visitor points at it, tabs to it, presses it, or when it is turned off.

    Style a block

    1. In the Block workspace, select the block.

    2. Open the Styles tab in the sidebar.

    3. Pick a state at the top: Default, Hover, Focus, Active or Disabled.

    4. Set the controls below. A small dot lights on each state that has its own look.

    5. Save the block. Point at it on the canvas to see its Hover look. To see Focus, Active or Disabled, pick that state at the top.

    The Styles tab for a Button with the Hover state picked and the colour sets below it.
    The Styles tab, here on the Hover state.

    The states

    • Default: the look at rest. Every other state starts from it and changes only what you set.
    • Hover: while the visitor’s mouse is over the block.
    • Focus: when a block that can take keyboard focus, such as a button or a link, is reached with the keyboard. A paragraph or a box never gets it.
    • Active: while the visitor clicks or presses the block.
    • Disabled: when the block is marked as turned off. The mouse and keyboard never set it.

    The controls

    Every control can differ per state, unless the line says otherwise.

    • Colour set: a named set (Blue, Red, Amber, Contrast and Neutral, with Deep Blue, Deep Red and Deep Amber for dark pages, and your own from Site defaults) that sets background, text and link colour in one pick. Neutral has no colours of its own and follows your page. 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. Change any single colour after.
    • Background, Text and Link colour, each on its own: a swatch from your theme (the block follows the theme) or Custom (the block keeps the colour you choose). See Follow the theme, or set your own. A block with no link, such as a Button, has no Link colour.
    • Typography: Theme size picks one of your theme’s text sizes and follows the theme, like a theme colour; choose Custom, or type a number in Font size, for a size of your own. Then font, weight, size, line height, letter spacing, first-line indent, underline, capitals and italic; text alignment that follows the reading direction; Scale text with screen size; Drop cap on a paragraph, with its size in lines; on the Button block, Vertical text and Rotate text; Content position (top, middle or bottom of the box); Text balancing for headings; the style, colour, thickness and offset of an underline or strikethrough; and Limit lines, which cuts the lead paragraph after a number of lines so cards stay the same height.
    • Border and Outline: border width, style, colour and opacity, for all sides or each side, with a corner radius for all corners or each one; and an outline just outside the block that takes no space, with width, style, colour and offset. Useful as a hover or focus ring.
    • Shadows: a Drop shadow outside the box (Soft, Medium, Strong, Glow, your own, or Custom with offset, blur, spread and colour), an Inner shadow for a pressed-in look, a Text shadow on the text, and an Elevation list: None, Low, Medium, High or Floating.
    • Filters: blur, brightness, contrast, saturation, grayscale, sepia and invert, and Background blur for a frosted-glass look behind a see-through block. Each state can have its own.
    • Media fit (image / video), on the Image block, under Size & spacing: Cover (crop to fill), Contain (fit, no crop), Fill (stretch), None or Scale down, with a focal point for Cover and Contain that stays in view. One setting for the whole block.
    • Size & spacing: padding and margin per side; type 0 on every side to take the space away, and Reset brings the block’s own back. Minimum height, which can differ per state; Height, Width, Minimum width, Maximum width, Position and Stick to the top; and, for the whole block, Aspect ratio, Overflow (Visible, Hidden, Clip, Scroll or Auto), Stacking order for overlapping blocks and Isolate layer.
    • Block opacity, in the Color section: 0 to 100%.

    The Advanced panel adds a Gradient background between two colours at an angle, a Transform (lift, scale and rotation, for example a button that nudges up on hover), and a Transition, one speed for the whole block that makes every change glide. For visitors who asked their device for less motion, the movement snaps into place while colours and shadows still fade.

    Follow the theme, or set your own

    Every colour and text size you set is one of two kinds. The kind decides what happens when your theme changes later, for example to a new brand colour, a new text size, or a dark or high-contrast style.

    • From the theme, the block follows. Pick a colour from your theme’s swatches, or a size from Theme size. The block keeps the link to the theme, not the colour or size it has today. Change that colour or size in the theme, and every block that uses it changes with it, in every post.
    • Your own, the block stays. Pick Custom and choose a colour, or type a number in Font size, and the block keeps exactly what you set, whatever the theme does later. What you set yourself always wins over the theme, on any block or part.

    A Colour set (Blue, Amber and the others) belongs to Cairnstone, not to your theme, so it keeps its colours when the theme changes. Spacing, borders, corners and the rest are always your own numbers. Set nothing, and the block takes the theme’s text colour and font, as any block on the page does.

    Choose per block. For a block you place in many posts, theme colours and theme sizes let one change in the theme reach every copy. Use your own value where a block must look the same whatever the theme does. A size typed as a number is your own value, even when it matches a theme size: to make the block follow the theme, pick the swatch or the theme size again. When the theme changes, check that text is still easy to read on its background, because a block that follows the theme takes the new colours without asking.

    Sizes and units

    Each size field shows its unit on a small button beside it: px, rem, em or %. Type a plain number like 35 and Cairnstone stores the form that grows with a reader’s own text size, and says so under the field. Type 35px to switch unit, or paste a size like 1.5rem. If a field cannot read what you typed, it says so and keeps the old value. Cairnstone → Settings → Site defaults → Working unit sets the unit fields start in.

    The weight list shows only the weights your chosen font has. The text sizes you set grow for a reader who has asked their browser for larger text.

    What the page gets

    Your styles save with the block. Nothing is written to your theme files. At the foot of the tab, the read-only CSS section lists the stable class names the block carries on the published page, each copied with one click, so you can target the block in your own CSS. It reads from the saved block, so it refreshes when you save.

    Next, read Make a block react with Interactions.

  • Learn every setting in Cairnstone’s block sidebar

    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.

  • Build your own block

    Build your own block

    Cairnstone lets you build your own blocks 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.. You put one together once from any blocks you like, and it shows up in the block inserter of every post and page.

    Build a block

    1. Go to Cairnstone → All Cairnstone blocks and click Add new Cairnstone block, or click New block on the Dashboard.

    2. Give it a title. The title is the block’s name in the inserter.

    3. Build the block in the editor, the same way you build a page. You can use Cairnstone blocks, WordPress’s own blocks and blocks from other plugins, nested as you like.

    4. Click Publish.

    A Cairnstone block being built: a Container holding a heading, a paragraph and a Button, with the List View open beside it.
    Building a block in the block editor.

    Your block now sits in the inserter under Cairnstone My blocks, on every post and page. Only a published block is there; a draft is not. When you change it later, the copies you place from then on get the change; see Change a block that is already in use.

    Write the text

    Cairnstone’s content blocks, such as FAQ, Hero, How-to, Testimonial and Author Bio, take their text right in the block, the way you type a normal paragraph. Select a few words and you get the formatting toolbar you have anywhere in WordPress: bold, italic, underline, links and the tools other plugins An add-on you install in WordPress to give your site new features. Gillish Cairnstone and Gillish Core are plugins. add. Settings such as layout, colours and visibility stay in the sidebar. A button label, such as a Hero’s call to action, takes plain text only, because a button is a link already.

    Preview the block

    To see the block on a real page in a new tab, open the View menu at the top of the editor and click Preview Cairnstone block, or click Preview live in the sidebar. Save the block first: until it is saved, the menu entry reads Preview Cairnstone block (save first), and pointing at Preview live says “Save the post to preview.”

    The editor's View menu open: Desktop, Tablet, Mobile and Preview Cairnstone block.
    Preview Cairnstone block in the View menu.

    Style it and set who sees it

    In the Block workspace, the sidebar holds Cairnstone’s panels for the look of each part, who sees it, what it does on a click, and, on most blocks, what search engines read. See Learn every setting in Cairnstone’s block sidebar.

    Next, read Learn every setting in Cairnstone’s block sidebar.