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
// Change login logo | |
add_action('login_head', 'rgt_custom_dashboard_logo'); | |
function rgt_custom_dashboard_logo() { | |
echo '<style type="text/css"> | |
.login h1 a { | |
background-image:url('.get_stylesheet_directory_uri().'/images/logo.png) !important; | |
background-size: 215px 138px !important; | |
width: 215px !important; | |
height: 138px !important; | |
} |
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
/*********** FAQ Manager **************/ | |
#faq-block li.faqlist-question, | |
#faq-block li.faqlist-question a { | |
color:#80BF61; | |
padding-bottom:4px; | |
font-weight:bold; | |
font-size:110%; | |
cursor:pointer; | |
} |
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
<a href="tel:555-555-5555">555-555-5555</a> |
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
add_filter('pre_get_posts','custom_feed_filter'); | |
function custom_feed_filter($query) { | |
if( $query->is_feed ) | |
$query->set('cat','-8'); | |
return $query; | |
} |
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 all wp widgets ****/ | |
function unregister_widgets(){ | |
unregister_widget( 'Akismet_Widget' ); | |
unregister_widget( 'WP_Widget_Pages' ); | |
unregister_widget( 'WP_Widget_Calendar' ); | |
unregister_widget( 'WP_Widget_Links' ); | |
unregister_widget( 'WP_Widget_Recent_Posts' ); | |
unregister_widget( 'WP_Widget_Tag_Cloud' ); | |
unregister_widget( 'WP_Widget_Meta' ); |
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
/**** Unregister Genesis Widgets ****/ | |
add_action( 'widgets_init', 'unregister_genesis_widgets', 20 ); | |
function unregister_genesis_widgets() { | |
unregister_widget( 'Genesis_eNews_Updates' ); | |
unregister_widget( 'Genesis_Featured_Page' ); | |
unregister_widget( 'Genesis_Featured_Post' ); | |
unregister_widget( 'Genesis_Latest_Tweets_Widget' ); | |
unregister_widget( 'Genesis_Menu_Pages_Widget' ); | |
unregister_widget( 'Genesis_User_Profile_Widget' ); | |
unregister_widget( 'Genesis_Widget_Menu_Categories' ); |
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 Genesis Layouts: content/sidebar/sidebar, sidebar/sidebar/content, sidebar/content/sidebar */ | |
genesis_unregister_layout( 'content-sidebar-sidebar' ); | |
genesis_unregister_layout( 'sidebar-sidebar-content' ); | |
genesis_unregister_layout( 'sidebar-content-sidebar' ); |
OlderNewer