[Plugin: TDO Tag Fixes] How to use wp_rewrite to include category in URL **fix
-
Thanks for this great plugin.
I’ve got
<?php if(function_exists('tdotf_cat_tag_cloud')) { tdotf_cat_tag_cloud('cat=42&smallest=100&largest=100&unit=%number=0&format=list'); } ?>
in my sidebar and it works great.
For the tag “sketching” in the category “news” it generates the link:
https://localhost/blog/index.php/category/news/?cattag=sketchingHowever
<php tdotf_the_tags('Tags: ', ', ', ' | '); ?>
is not working in the post metadata.
It generates the link
https://localhost/blog/index.php/category/?cattag=sketching
which returns a 404.The category name: /news/ seems to be missing in the URL. How can I get the function tdotf_the_tags to also write the category name in the URL?
I don’t know how to work with the wp_rewrite function. Can anyone help add the category name to the URL (just like the ‘tdotf_cat_tag_cloud’ does)? Many thanks.
- The topic ‘[Plugin: TDO Tag Fixes] How to use wp_rewrite to include category in URL **fix’ is closed to new replies.