Wordpress Theme Options Values
<p>I am designing a wordpress website with theme options:</p>

<p>In my theme options I have code that looks like this:</p>

<pre><code>    $class = (isset($this-&gt;field['class']))?$this-&gt;field['class']:'regular-text';

    echo '&lt;ul id="'.$this-&gt;field['id'].'-ul"&gt;';

    if(isset($this-&gt;value) &amp;&amp; is_array($this-&gt;value)){
        foreach($this-&gt;value as $k =&gt; $value){
            if($value != ''){

                echo '&lt;li&gt;&lt;input type="text" id="'.$this-&gt;field['id'].'-'.$k.'" name="'.$this-&gt;args['opt_name'].'['.$this-&gt;field['id'].'][]" value="'.esc_attr($value).'" class="'.$class.'" /&gt; &lt;a href="javascript:void(0);" class="nhp-opts-multi-text-remove"&gt;'.__('Remove', 'nhp-opts').'&lt;/a&gt;&lt;/li&gt;';
</code></pre>

<p>It displays a text field in my theme options panel, and I am able type in it and save it.</p>

<p>Here is my problem, I changed my code to add a text area with the options, and it looked something like this:</p>

<pre><code>    $class = (isset($this-&gt;field['class']))?$this-&gt;field['class']:'regular-text';

    echo '&lt;ul id="'.$this-&gt;field['id'].'-ul"&gt;';

    if(isset($this-&gt;value) &amp;&amp; is_array($this-&gt;value)){
        foreach($this-&gt;value as $k =&gt; $value){
            if($value != ''){

                echo '&lt;li&gt;&lt;input type="text" id="'.$this-&gt;field['id'].'-'.$k.'" name="'.$this-&gt;args['opt_name'].'['.$this-&gt;field['id'].'][]" value="'.esc_attr($value).'" class="'.$class.'" /&gt; &lt;textaread id="'.$this-&gt;field['id'].'-'.$k.'" name="'.$this-&gt;args['opt_name'].'['.$this-&gt;field['id'].'][]" class="'.$class.'"&gt;'.esc_attr($value).'&lt;/textarea&gt; &lt;a href="javascript:void(0);" class="nhp-opts-multi-text-remove"&gt;'.__('Remove', 'nhp-opts').'&lt;/a&gt;&lt;/li&gt;';
</code></pre>

<p>Now when I go to my theme options panel, both boxes are there, but if i type something different in each one and save it. Both boxes are displayed to showing the exact same thing. Is there a way I can fix this?</p>
