Today I have a problem with term.
I got slugs of a taxonomy called "destination".
Slugs : "new-york","paris","london".
Name for each slug: "New York","Paris","London".
I want to show term name by slugs.
How can I get them?
Thanks a lot.
Hi,Sorry I fixed this problem.I try some codes and found this code work.
$destname = get_term_by('slug',$dest,'destination');