gillish

Keep a word list

A word list holds words and their explanations for the whole site. You explain a word once, and you can use it on as many pages as you like. A reader clicks or taps the word and sees the explanation in a small panel.

Change an explanation in the list, and every page that uses the word shows the new text. For example, add Lumen with the explanation A unit that says how much light a lamp gives. Use it on ten product pages, and you only need to change it in one place.

The list is part of Gillish Core. Install and turn on Gillish Cairnstone first. Its Define term puts the words on your pages, and Gillish → Word list is in the menu while Cairnstone is on. If you turn Cairnstone off, your words stay saved, and the menu comes back when you turn it on again. Editors, Authors and Contributors can pick a word from the list when they write, and only administrators can change the list.

Add a word

  1. Open Gillish → Word list.

  2. In Word, type the word. It can be up to 100 characters.

  3. In Explanation, type what it means. It can be up to 500 characters. Keep it short, as it opens in a small panel. Plain text only: bold, links and other formatting are removed.

  4. Press Add word.

You see Word saved. The word is now under Your words, in order from A to Z.

Each word can be in the list once, and capital letters do not count: Lumen and lumen are the same word. If the word is there already, you see This word is already in the list. Change the one that is there. What you typed stays in the form. If a field is empty, you see Fill in both the word and its explanation.

Use a word on a page

  1. Open the page in the block editor.

  2. Select the word in your text.

  3. In the toolbar above the block, open the small arrow for more text options and choose Define term.

  4. Under Use a word from your list, pick the word.

  5. Press Save in the small panel, then save the page.

On the page, the word is now one a reader can click or tap to see its explanation. The word in your text can differ from the word in the list. For example, mark lumens in a sentence and pick Lumen.

If the list has the word you selected, it is picked for you. If you write in the explanation field instead, the text becomes your own and no longer follows the list. Explain a word in your text has more on marking a word.

Change a word

  1. Open Gillish → Word list.

  2. Press Change on the word’s row. The word and its explanation move up into the form.

  3. Change the text and press Save changes. To stop without saving, press Cancel.

Every page that uses the word now shows the new explanation. The text you marked on a page stays as it is. If your site keeps saved copies of its pages, clear them so that readers see the change.

Delete a word

  1. Open Gillish → Word list.

  2. Tick the box on each word you want to delete. To tick every word on the page, tick the box at the top of the table.

  3. Press Delete ticked.

  4. Core asks first, for example Delete 2 words? This cannot be undone.

  5. Press Yes, delete. To keep the words, press Cancel.

You see, for example, 2 words deleted. A page that uses a deleted word keeps working: it shows the explanation the word had when you picked it. The same happens if you switch Core off.

How an explanation looks

When a reader clicks a word, its explanation opens in a small panel. At first the panel takes its colours from 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.: it is a shade lighter or darker than the page, so it stands out. You can choose your own colours instead. They apply to every page of the site.

You can choose three sets of colours. Each set has a panel colour, a text colour and an edge colour.

  • On light pages: used where the page behind the word is light. You must fill in this set when you choose your own colours.
  • On dark pages: used where the page behind the word is dark, for example when your theme is in dark mode. You can leave it off.
  • High contrast: used when the reader has turned on high contrast on their computer or phone, or when your theme says high contrast is on. You can leave it off.

The panel looks at the page behind the word each time it opens, and picks the set that fits. If you leave a set off, the colours for light pages are used there too.

Choose your own colours

  1. Open Gillish → Word list and go down to How an explanation looks.

  2. Pick Choose my own colours. The colour sets show below it.

  3. Under On light pages, pick a Panel colour, a Text colour and an Edge colour. Click a colour box to open the colour picker.

  4. To use other colours on dark pages, tick Use these colours under On dark pages and pick its three colours. Do the same under High contrast if you want that set. On a wide screen the three sets sit side by side; on a narrow screen they sit one under the other.

  5. Press Save look.

You see Look saved. Pages show it the next time they load. Under each set you saved, a small sample shows how the panel will look. If your site keeps saved copies of its pages, clear them so that readers see the new colours.

Core checks that the text can be read on the panel. If the text colour is too close to the panel colour, nothing is saved, and you see a message that names the set, for example On dark pages: the text colour is too close to the panel colour, so some visitors cannot read it. Pick a darker or lighter text colour and save again. The colours you picked stay in the form.

If an edge colour is close to its panel colour, the colours are saved, and you see a note that the edge is hard to see. That is fine if you want no edge.

To go back to your theme’s colours, pick Use the theme’s colours and press Save look. Your own colours are then removed.

The same panel is used for Cairnstone’s footnotes, so they get the same colours.

Next, read Explain a word in your text.