I was just copying something from my index page...
I have plugins which replace regular WP tags. Instead of replacing the tags. I do something like:
<p id="prev_next_links">
<?php if (!function_exists('wp_pagenavi')) posts_nav_link(' | ', __('« Previous Page'), __('Next Page »')); echo "
"; ?>
<?php if (function_exists('wp_pagenavi')) wp_pagenavi(); ?>
</p>
That way, if my plugin is not activated, WP's regular tag will be used.
And here is what I have for theme-switcher...
<?php if (function_exists("wp_theme_switcher")) { ?>
<li>Themes
<?php wp_theme_switcher('dropdown'); ?>
</li>
<?php } ?>
It is a little different from many because I also wrap the li's - no since in having an empty line in my list if theme-switcher is deactivated. Get it?