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
| /**** 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 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
| 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 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
| <a href="tel:555-555-5555">555-555-5555</a> |
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
| /*********** 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 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
| // 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; | |
| } |
NewerOlder