From b453a70b9b6935a628a9c451e13decaa0fb20fc2 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 1 Jun 2016 11:32:18 -0400 Subject: [PATCH] Remove the yoast Seo from dashboard. --- functions.php | 6 ++++++ style.css | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index d5ebf12..30c09fc 100644 --- a/functions.php +++ b/functions.php @@ -253,4 +253,10 @@ function front_end_blank_credentials( $login, $username, $password ) { } } +// Remove Yoast SEO Dashboard Widget +function remove_wpseo_dashboard_overview() { + remove_meta_box( 'wpseo-dashboard-overview', 'dashboard', 'normal' ); +} + +add_action('wp_dashboard_setup', 'remove_wpseo_dashboard_overview' ); ?> diff --git a/style.css b/style.css index 46bf975..85b41b6 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: ThinkDunes Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for ThinkDunes -Version: 1.0.4 +Version: 1.0.9 */ -- 2.17.1