Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wpf_register_metabox( 'options', 'aioseo', 'All in one SEO', 1 );
- wpf_register_metabox( 'options', 'scripts', 'Theme Scripts', 2 );
- wpf_register_metabox( 'options', 'robots', 'General Settings', 3 );
- wpf_register_metabox( 'options', 'info', 'Theme Information', 4 );
- wpf_register_option( 'aioseo', 'title', 'checkbox', array( 'label' => 'Append site name to page titles' ) );
- wpf_register_option( 'aioseo', 'robots', 'checkbox', array( 'label' => 'Choose which title to use' ), $options );
- wpf_register_option( 'general', 'general-stuff', 'select', array( 'label' => 'Display post types:' ), array( 'Post', 'Page', 'Attachment' ) );
- wpf_register_option( 'general', 'pf', 'checkbox', array( 'label' => 'Enable Post Formats' ) );
- wpf_register_option( 'general', 'wnm', 'checkbox', array( 'label' => 'Use <code>wp_nav_menu</code>' ) );
- wpf_register_option( 'scripts', 'wpf-scripts', 'textarea', array( 'label' => 'Insert <code>wp_head</code> scripts here:', 'attr' => array( 'rows' => 5 ) ) );
- wpf_register_option( 'scripts', 'wpf-scripts2', 'textarea', array( 'label' => 'Insert <code>wp_footer</code> scripts here:', 'attr' => array( 'rows' => 5 ) ) );
- wpf_register_option( 'info', 'wpf-info', 'custom', $info );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement