• Hi there,

    is it allowed to create a theme options page with more than one form but just with one registered setting?

    Example

    <form method="post" action="options.php" enctype="multipart/form-data">
      <?php settings_fields( 'htmlkombinat_configuration' ); ?>
      <input type="text" name="option_one" value="">
      <input type="text" name="option_two" value="">
    </form>
    <form method="post" action="options.php" enctype="multipart/form-data">
      <?php settings_fields( 'htmlkombinat_configuration' ); ?>
      <input type="text" name="option_three" value="">
      <input type="text" name="option_four" value="">
    </form>

    Regards,

    Alex

Viewing 1 replies (of 1 total)
  • Yes you can so thing. Just have to register a new setting for each form. If you think about it… It all just one big array for each form.

Viewing 1 replies (of 1 total)
  • The topic ‘Theme options page – more than one form allowed?’ is closed to new replies.