Function to add DIV Class?
<p>I'm building a WordPress options panel.</p>

<p>In my options panel I added the following, this creates a Yes/No dropdown menu asking whether or not the user wants to display breacrumbs - <strong>I want to be able to hide (or simply not call) the breadcrumbs when a user selects no</strong>:</p>

<pre><code>array( "name" =&gt; "Display breadcrumbs on post pages?",
    "desc" =&gt; "Choose whether or not to display breadcrumbs, that is, the post trail.",
    "id" =&gt; $shortname."_breadcrumbs",
    "type" =&gt; "select",
    "options" =&gt; array("Yes", "No"),
    "std" =&gt; "Yes"),
</code></pre>

<p>Normally I would use something like this to call the above function:</p>

<pre><code>&lt;?php echo get_option('to_breadcrumbs'); ?&gt;
</code></pre>

<p>But breadcrumbs have their own function, and I call them like so:</p>

<pre><code>&lt;?php if (function_exists('dimox_breadcrumbs')) dimox_breadcrumbs(); ?&gt;
</code></pre>

<p><strong>One possible solution that could be applied in other uses would be to add a div class with the hide property around the function I am calling when "No" is selected.  Any help?</strong></p>
