How do you make an A to Z glossary page in WordPress without a plugin, and does it sort Turkish letters like Ç, Ğ, İ and Ş correctly?
In short:In Wiozen Theme's Guide (GEO) design a glossary is a post category: you add each term as a post in that category, and the theme lists the category page from A to Z with a letter bar and letter headings. When the site language is Turkish, terms are sorted by the 29-letter Turkish alphabet, so Ç, Ğ, Ö, Ş and Ü keep their own places and I and İ are separate letters. The page exists only in the Guide design; in any other design the glossary category is an ordinary category page.
How does the glossary page work?
There is no separate glossary plugin or custom post type. The glossary is a post category you choose, and the terms are ordinary posts in it. The post title is the term, and the post excerpt is the short definition shown in the list. A term's own page is a normal post page, where you can write the definition as long as you like.
When you open the category page, the theme sorts the terms by title, groups them by letter and puts a letter bar at the top. Clicking a letter scrolls to that letter's heading. Letters with no terms look faded in the bar and aren't links. Child categories of the glossary category count as part of the glossary.
Setup step by step
- Under Appearance › Wiozen Theme, pick the Guide (GEO) design on the Designs tab. Design selection happens in the theme panel; the end of this article says how the panel opens.
- Under Posts › Categories, create a category. Name it "Glossary" and keep its slug as
glossaryorsozluk; the theme recognizes both on its own. To use another category, pick it from the Glossary category list in the Glossary card on the Settings tab. The "No glossary" option there turns the glossary off. - Add a new post for each term. Put the term in the title, a one-sentence definition in the Excerpt field, tick the glossary category and publish.
- Open the category page. With default permalinks the address is
yourdomain.com/category/glossary/; add it to your menu or link to it from a page.
To see how it looks first, the Demo content tab adds 9 glossary terms along with the Guide design's demo guides; one click removes them when you're done. More on removing demo content in this article.
The excerpt appears next to the term in the list. If you leave it empty, WordPress takes a snippet from the start of the post, but writing the definition yourself gives a cleaner result.
How are Turkish letters sorted?
The theme doesn't use the order the query returns; it re-sorts every term in its own alphabet. When the site language is Turkish (Settings › General › Site Language), the order is: A, B, C, Ç, D, E, F, G, Ğ, H, I, İ, J, K, L, M, N, O, Ö, P, R, S, Ş, T, U, Ü, V, Y, Z. That's 29 letters, and each gets its own heading.
I and İ are kept apart. Lowercase "ı" becomes I in capitals and lowercase "i" becomes İ, so "ılık" lands under I and "ilaç" under İ. Q, W and X aren't in the Turkish alphabet; they show in the bar only when a term starts with that letter. Terms that start with a digit or a symbol are gathered under "#" at the very end of the list.
A few details:
- Symbols at the start of a title, such as quotes or brackets, are skipped. "(Apk) file" goes under A.
- Letters with a circumflex such as Â, Î and Û go under the base letter: "âlem" is under A.
- A space sorts before every letter. "Ağ geçidi" comes before "ağaç".
- Letter heading anchors look like
#letter-cand#letter-c-2. Ç gets the-2because C already usesletter-c; Ğ, İ, Ö, Ş and Ü work the same way.
All of this depends on the site language being Turkish. If the site language is English the theme uses the 26-letter alphabet: Ç goes under C, Ş under S, and İ and I aren't separated. For a glossary of Turkish terms, set the site language to Turkish.
Where does the glossary show up?
The category page shows the letter bar and the grouped list. The list is on one page and works up to 500 terms. With more terms the theme falls back to an ordinary paged list, with no letter bar or headings.
The Guide design's front page comes with a Glossary module. It shows the letter bar and the first terms in alphabetical order; the bar's letters link to the matching heading on the category page. You set the number of terms between 8 and 40 on the Customize tab, with 16 as the default.
Terms stay out of the guide lists. The front page's latest, recently updated and most commented lists leave out the glossary category and its children, and the related posts under a guide don't show glossary terms either. When you're reading a glossary term itself, the related list works normally.
Limits
- The letter bar and grouping exist only in the Guide (GEO) design. The News, Technology, Finance and Food designs have neither the glossary setting nor the A–Z view.
- The theme doesn't print structured data; if you want a schema such as DefinedTerm for the terms, add it through your SEO plugin.
- Sorting is by title. There's no way to reorder by hand; if you change a title, the term moves.
Why a glossary helps a guide site is covered in the article on building a guide site that AI answers cite.
What do you need to pick the Guide design?
The theme is a free download and works on unlimited sites. Choosing a design and the Settings tab live in the theme panel, which opens once you connect the site to your Wiozen account; there's no fee or top-up. On a site that was never connected the theme opens in the News design and the glossary view doesn't appear. What happens if the license lapses is in a separate article.
Frequently asked questions
Do Ç, Ğ, Ö, Ş and Ü sort after Z?
My site language is English but the terms are Turkish. Does sorting break?
Why are Q, W and X missing from the bar?
Can I use the glossary in the News or Finance design?
Where do terms that start with a digit appear?
To build your own glossary, download Wiozen Theme for free and try the Guide design.
Download free