'.$title.'


'; $values = array(); $details = array(); $option_name = 'sitepad_global_meta_tags'; if(isset($_REQUEST['submit'])){ // Check nonce check_admin_referer( 'sitepad-options' ); $allowed_meta = array('site_title', 'meta_author', 'meta_contact', 'meta_copyright', 'meta_description', 'meta_keys'); foreach($allowed_meta as $meta_key){ if(!empty($_REQUEST[$meta_key])){ $details[$meta_key] = $_REQUEST[$meta_key]; } } // The option already exists, so we just update it. update_option( $option_name, wp_unslash( $details ) ); echo '

'.__('The SEO options updated successfully !').'

'; } $values = get_option( $option_name ); echo '
'. wp_nonce_field('sitepad-options') .'

'. __('There are some pre defined variables:- $site_title, $page_title, $post_type, $author, $email.').'

'. __('Site Title') .' :
'. __('Author') .' :
'. __(' Contact') .' :
'. __(' Copyright') .' :
'. __(' Description') .' :
'. __(' Keywords') .' :

'; include( ABSPATH . 'site-admin/admin-footer.php' );