This PRO shortcode will generate an index for your Glossary that will create an indexed page, similar to the example below, for all your key terms.
The output of this shortcode is cached every day with the use of Transients, to clean that we suggest to use the Transient Cleaner plugin.
Optional parameters for the shortcode
Regulates how the term will be linked to the relative anchor: either within the same list or to another page.
If true, (default)
the term will be linked to the relative page.
the term will be linked to a dedicated archive page that groups all terms beginning with that letter.
If true, will not print the term’s link.
Regulates the visibility of the letters that have no terms relating to them.
If true, (default)
the index will show all letters, including the ones that contain no terms.
the index will show only the letters that correspond to the glossary’s terms.
Allows you to filter your results through an established classification. For example, let’s say you wish to classify your key terms as “fruits” or “vegetables.” You create your taxonomies (fruits, vegetables) and then you group your key terms as either one or the other. So your “vegetables” list will be created by this shortcode:
(and the same will be true for fruits , etc.)
The default value is the standard graphic like now, else the new value is “grid” that show all of them in a grid.
If true, will print the excerpt near every term.
If true, will print the content near every term.
It will show only the words that start with the letters specified in this parameter, in this case A and R.
The optional parameters can be combined in any way you can find most useful. Only as an example, should I wish to create an index page that groups all vegetables, and in such page show all the letters in the alphabet, regardless to whether they correspond to a term or not, my shortcode would look like this:
[glossary-list anchor=false empty=true taxonomy=fruits]