Using Drupal 7, I want to create a simple block that will be on all taxonomy term pages that will show the first parent of the current term (there will be a tree of parents, but I want just the next highest).
The below code works to pull the current term name, but I'm unsure how to go about pulling the parent term of this term page.
$current = taxonomy_term_load(arg(2));
if ($current):
echo $current->name;
endif;
Any suggestions?