'. __('Your theme settings were saved.', WP_THEME_SLUG ) .'

'); //Save the theme options //Loop through the $_POST checkboxes and set the corresponding wordpress options to true if they are checked //This method is more compact than using if/else for each method $fields = array( 'boilerplate_hide_admin_bar', 'boilerplate_hide_posts_menu', 'boilerplate_hide_pages_menu', 'boilerplate_hide_media_menu', 'boilerplate_hide_links_menu', 'boilerplate_hide_comments_menu', 'boilerplate_hide_profile_menu', 'boilerplate_hide_tools_menu', 'boilerplate_hide_comments_disabled', 'boilerplate_use_human_readable_dates', 'boilerplate_use_dynamic_descriptions', 'boilerplate_use_dynamic_suffixes' ); //Loop through the checkboxes and save their value foreach($fields as $field) { update_option($field, isset($_POST[$field])); } //The URL to the custom logo on the login page if ( isset($_POST['boilerplate_custom_logo_url'] ) && $_POST['boilerplate_custom_logo_url']!="" ) //Validate the URL before saving this option. Display an error if invalid. if ( is_valid_url($_POST['boilerplate_custom_logo_url']) ) update_option('boilerplate_custom_logo_url',$_POST['boilerplate_custom_logo_url']); else echo('

'. __('The logo URL is invalid. Other settings were saved.', WP_THEME_SLUG ) .'

'); else //If the field is empty, unset this variable update_option('boilerplate_custom_logo_url',''); //The dynamic suffixes to use if ( isset($_POST['boilerplate_dynamic_suffixes'] )) update_option('boilerplate_dynamic_suffixes',explode("\n", $_POST['boilerplate_dynamic_suffixes'])); //Split the suffixes into an array, and store it } } ?>

Blog name » Title. For search engines to find you, you should use a more descriptive title such as Title | Blog name | Title suffix. The suffix appended to your post titles should describe the purpose of your website.', WP_THEME_SLUG )?>

Home page can have a very long suffix, while the How to fly a plane in 30 easy steps will need a shorter suffix, as to keep the title length under 65 characters.', WP_THEME_SLUG )?>

Web design and development in Granby, Québec, Web design in Granby, Québec, Web design services and Web design. The theme will pick the best suffix for the title length.', WP_THEME_SLUG )?>

/>

/>

25 days ago.', WP_THEME_SLUG )?>

/>

/>
/>
/>
/>
/>
/>
/>
/>

/>

" />