The Glossary functionality allows you to create a list of items with labels and values and use it as often as you need. You won’t have to type in the same values on and on – the created list can be used for different multi-choice fields and forms.
For example, let’s assume that you have a website with recipes — the one where users can post their recipes via the front-end form, selecting ingredients and other options. And you, as admin, want to edit the recipes posted by the users or add your own.
With the Glossaries feature, you can fill in the ingredients just once and use them later wherever you need them, for instance, in forms or the Listing Grid. Or, use this functionality to filter recipes by the previously added ingredients. So you don’t need to complete the ingredients several times in different places.
Also, you can use glossary values in the Admin Filters functionality.
Let’s start building a glossary. Head to WordPress Dashboard > JetEngine and open the Glossaries tab. In this directory, you can create, edit, or delete glossaries.
Press the “New Glossary” button to add a new item.
The Name and Data Source fields appear. So, complete the title and open the drop-down menu to pick between two options, “Set items manually” and “Get items from uploaded file.”
Manual items source
Let’s select the first “Set items manually” option to see what settings become available for adjusting.
Hit the “New field” button. It allows you to set every value manually.
Here, you can complete the following fields:
- Field Value — complete the value stored in the database. Pay attention that this value should only contain Latin letters, numbers, “-” and “_” characters.
- Field Label — fill in the label displayed as the item title;
- Is checked (selected) — activate this toggle to make the value checked automatically in the post editing area.
Once the item is adjusted, push the “New field” button as many times as you need new items in the glossary. Mind that you can copy items and delete them by pressing the special buttons or move them to change the order.
Uploaded files source
Now select the “Get items from uploaded file” source to see the fields available for customization.
- File to Get Data From — press the “Select file” button to upload the ready-made .csv or .json files as the data source;
- Value Column — complete this field with the value column name in case there are more than two columns in the uploaded file;
- Label Column — similarly to the previous field, complete this field with a label column name if there are more than two columns in the File to Get Data From value. Otherwise, if there are only two fields representing Value and Label, you can leave both fields empty.
After you upload the needed files and complete the mentioned fields, click the “Save” button.
That’s it; now you know how to create a glossary with the JetEngine plugin. Feel free to use it for the convenient WordPress website work systematization.