CM Tooltip (CMTG) - How To - Include Glossary Category In the Term Permalink
How To Include Glossary Category In the Term Permalink
It is possible to include the glossary category in the term permalink.
First thing we need to do, is to install an additional free plugin that allow to edit permalinks for custom post types. You can use for this, for example, the plugin Custom Post Type Permalinks.
We need it, to make the custom post structure work on the next step.
Now we need to edit the glossary term permalink. Navigate to Admin Dashboard → CM Tooltip Glossary → Settings tab.
Head to the General Settings tab.
Find the option Glossary Terms Permalink:
And add /%glossary-categories% to the glossary, so it would look like this: glossary/%glossary-categories%
There can be anything else instead of glossary, as you can change it according to your needs. For example:
So, anyway, you just need to add /%glossary-categories% after it to include a category to the term pemalink.
Then click the button Save Changes on the bottom of the page.
Configuring is done. Now you can see above the settings, that the format of the Glossary Term link now contains a category.
Make sure that all your terms belong to some category, otherwise you and your users won't be able to open term pages without categories.