'Copyright Since (start date goes here)', 'intro_text' => '
Add text here or just delete it in the Theme Options area of the Dashboard if you dont want any.
', 'single_text' => 'Add text here or just delete it in the Theme Options area of the Dashboard if you dont want any.
', 'page_text' => 'Add text here or just delete it in the Theme Options area of the Dashboard if you dont want any.
', 'magnet_text' => 'Use this area to highlight something important you want to draw your visitors attention to, or just remove it in the Theme Options area in the backend.
', 'blog_title' => 'Latest Headlines', 'side_heading' => 'Side Menu', 'side_nav' => 'Side Menu', 'search_form' => true , 'author_credits' => true); if ( is_admin() ) : // Load only if we are viewing an admin page function thePriority_register_settings() { // Register settings and call sanitation functions register_setting( 'thePriority_theme_options', 'thePriority_options', 'thePriority_validate_options' ); } add_action( 'admin_init', 'thePriority_register_settings' ); // Store layouts views in array $thePriority_layouts = array( 'stylearray_default' => array( 'value' => 'stylearray_default', 'label' => 'Default' ), 'stylearray_blue' => array( 'value' => 'stylearray_blue', 'label' => 'LinkedIn Blue' ), 'stylearray_purple' => array( 'value' => 'stylearray_purple', 'label' => 'Purple' ), ); function thePriority_theme_options() { // Add theme options page to the addmin menu add_theme_page( 'Theme Options', 'Theme Options', 'edit_theme_options', 'theme_options', 'thePriority_theme_options_page' ); } add_action( 'admin_menu', 'thePriority_theme_options' ); // Function to generate options page function thePriority_theme_options_page() { global $thePriority_options, $thePriority_categories, $thePriority_layouts; if ( ! isset( $_REQUEST['updated'] ) ) $_REQUEST['updated'] = false; // This checks whether the form has just been submitted. ?>