input in theme options don't save content
-
Hay, I’ve got a problem with my input theme options field. When I write something, after clicking “save” option shows on the frond-end but it desappear in the dashboard. What was the cause of this?
my code in theme-options.php
<tr valign="top"> <th scope="row"> <?php _e( '4 Columns Fourth Header' ); ?> </th> <td><input name="ds2_theme_options[col4_4h]" type="text" value="" <?php echo $options['col4_4h']; ?> /></td> </tr>
and I’m calling this
<article> <header> <div class="circle"><div class="ico-globe"></div></div> <h2><?php echo $options['col4_4h']; ?></h2> </header> <p> <?php echo $options['col4_4p']; ?> </p> </article>
- The topic ‘input in theme options don't save content’ is closed to new replies.