This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_action( 'after_setup_theme', 'bootstrap_setup' ); | |
| if ( ! function_exists( 'bootstrap_setup' ) ): | |
| function bootstrap_setup(){ | |
| add_action( 'init', 'register_menu' ); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| replacing the default "Enter title here" placeholder text in the title input box | |
| with something more descriptive can be helpful for custom post types | |
| place this code in your theme's functions.php or relevant file | |
| source: http://flashingcursor.com/wordpress/change-the-enter-title-here-text-in-wordpress-963 | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // First, create a function that includes the path to your favicon | |
| function add_favicon() { | |
| $favicon_url = get_stylesheet_directory_uri() . '/images/icons/admin-favicon.ico'; | |
| echo '<link rel="shortcut icon" href="' . $favicon_url . '" />'; | |
| } | |
| // Now, just make sure that function runs when you're on the login page and admin pages | |
| add_action('login_head', 'add_favicon'); | |
| add_action('admin_head', 'add_favicon'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .gform_wrapper ul { | |
| padding-left: 0; | |
| list-style: none; } | |
| .gform_wrapper li { | |
| margin-bottom: 15px; } | |
| .gform_wrapper form { | |
| margin-bottom: 0; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*Custom Radio Buttons and Checkboxes using Font Awesome*/ | |
| input[type=radio], | |
| input[type='checkbox'] { | |
| display: none; | |
| } | |
| input[type=radio] + label { | |
| display: block; | |
| } | |
| input[type='checkbox'] + label:before, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .btn > .caret, .gform_button > .caret, | |
| .dropup > .btn > .caret, | |
| .dropup > .gform_button > .caret { | |
| border-top-color: #000 !important; | |
| } | |
| .gform_fields { | |
| padding-left: 0; | |
| list-style: none; | |
| margin-left: -15px; |