• Leo Blanchette

    (@leoclipartillustrationcom)


    It seems everything is set up correct. But nothing takes. What am I doing wrong?

    <?php
    //register our settings
    
    if ( is_admin() ){ // admin actions
      add_action( 'admin_menu', 'add_launch_pad_menu' );
      add_action( 'admin_init', 'register_launch_pad_settings' );
    } else {
      // non-admin enqueues, actions, and filters
    }
    function register_launch_pad_settings() {
    
    	register_setting( 'launch_pad_settings-group', 'launch_pad_logo_link');
    
    	}
    
    function launch_pad_general_settings() {
    
        settings_fields( 'launch_pad_settings-group' ); 
    
    	?>
    
        <table class="form-table">
    
            <th scope="row">Logo</th>
            <td>
            <input type="text" name="launch_pad_logo_link" value="<?php echo get_option('launch_pad_logo_link'); ?>" /><br />
            *Paste url from media uploader here.
            </td>
    
        </table>
    
        <?php
    
    	}
    
    launch_pad_general_settings();
    ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Update Options, Stuck’ is closed to new replies.