I want to detect the taxonomy term from my site url. For exampe if u consider this url, http://xxxxyyzzz.com/medicines/tablets/ I can detect the taxonomy 'medicines' but am unable to detect the taxonomy term 'tablets' using this code..
if(is_tax( 'medicines', 'tablets'))
{
echo "You are on tablet page";
}