terms with spaces in nicename
-
First off, thanks for the plugin Dan!
I’ve got a custom taxonomy that contains one- & two- word terms. I was wondering what would be the best way to correct the following:
if i do this in my page template:
do_shortcode("[dg $current_tax=$current_term descriptions=true images=true localpost=false order=ASC orderby=menu_order]")then two-word terms are giving me the error:
word1 is not a valid term name in taxonomy1. word2 is not a valid term name in 0.whereas the single-word terms are working perfectly.
Now I understand why it’s doing this, but I’m hoping there’s a way around this (via encapsulation maybe?) without changing the terms to single-word, as they’re supposed to be human-readable.
Let me know if I should be asking this somewhere more related to shortcodes in general. Thanks!
The topic ‘terms with spaces in nicename’ is closed to new replies.