Hey @axwellion,
Do you mean ‘Glossary’ when you say ‘Dictionary’ ?
If so, the glossary could be placed anywhere you want since you can insert it’s short-code ‘[tooltipy_glossary]‘ in the page or post of your choice.
Does this look helpful ?
Thanks
-
This reply was modified 7 years, 11 months ago by
Jamel.Z.
Hi Jamel. I am sorry my question was not clear enough. No, I was not referring to the glossary location. I did create a glossary in a page with a controlled folder location. It is located here: https://essentialguidetocryptocurrency.com/getting-started/glossary/. So that is good. But it is the location of the dictionary keywords themselves that I can’t seem to control. Each keyword appears to be created as a “post” and so each defined keyword definition is located in the post permalink path.
For example, my post permalink structure is that all posts are under “/news” on my website. And that means that all keyword definitions are also located in this permalink path. For example, the keyword “receive address” definition is located here: https://essentialguidetocryptocurrency.com/news/dictionary/receive-address/
It is not a big deal but, if easily possible, then I would like to put the keyword definitions under a different path then the path to all other posts. I would like to put all keywords under the glossary location like this: https://essentialguidetocryptocurrency.com/getting-started/glossary/distionary.
Thanks
Matt
Hey Matt @axwellion,
If I exactly get what you wanted to do with your keyword permalinks, I guess these steps should probably help (the 3rd step is very important) :
- Please update your Tooltipy version to the one on this commit on GitHub :
https://github.com/lebleut/tooltipy/commit/9ba3ff03825b773e7558cf0bfb00f9ad14c0c8e6 It will be on this repository ASAP by the way
- Then edit your theme’s
functions.php file and add these lines :
add_filter('tltpy_post_type_args', function($args){
$new_rewrite_slug = 'getting-started/glossary/dictionary';
$args['rewrite'] = array('slug' => $new_rewrite_slug);
return $args;
});
- Flush your permalinks (To let your site be aware of the new rewrite rule for your tooltips)
It worked perfectly for me 🙂
Ah! how to flush permalinks ?
- In the main menu find “Settings > Permalinks”.
- Scroll down if needed and click “Save Changes”.
Regards,
Jamel 😉
-
This reply was modified 7 years, 11 months ago by
Jamel.Z.
-
This reply was modified 7 years, 11 months ago by
Jamel.Z.
I am sorry I didn’t see your response until now Jamel. Thank you. I will try this. Is this version in github divergent from your main published version?
Matt