This file contains 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
//* Show Column Dashboard Layout Option & Default to 2 Columns | |
function pl_dashboard_columns() { | |
add_screen_option( | |
'layout_columns', | |
array( | |
'max' => 2, | |
'default' => 1 | |
) | |
); | |
} |
This file contains 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
jQuery(document).ready(function($) { | |
$.backstretch([ | |
"http://dl.dropbox.com/u/515046/www/outside.jpg" | |
, "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg" | |
, "http://dl.dropbox.com/u/515046/www/cheers.jpg" | |
], {duration: 3000, fade: 750}); | |
}); |
This file contains 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
// No link photo upload default | |
update_option('image_default_link_type','none'); |
This file contains 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
//* Remove dashboard widgets | |
function remove_dashboard_widgets() { | |
global $wp_meta_boxes; | |
unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']); | |
unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links']); | |
//* unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now']); | |
unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']); | |
unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts']); | |
//* unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments']); |
This file contains 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
// Use your own external logo link | |
function my_url_login(){ | |
return "http://ladieslearningcode.com/"; // your URL here | |
} | |
add_filter('login_headerurl', 'my_url_login'); | |
// Use your own custom logo | |
function my_login_logo() { ?> | |
<style type="text/css"> | |
body.login div#login h1 a { |