diff --git a/inc/plugins/class-dashboard.php b/inc/plugins/class-dashboard.php index 532bf1123..8ee25a375 100644 --- a/inc/plugins/class-dashboard.php +++ b/inc/plugins/class-dashboard.php @@ -253,6 +253,11 @@ private function the_otter_banner() { .otter-banner__version { align-self: center; } + + /* Hide the "Add New" button for Multisite WP. Second part is for Elementor */ + a.page-title-action:first-of-type, #e-admin-top-bar-root:not(.e-admin-top-bar--active)~#wpbody .wrap a.page-title-action:first-of-type { + display: none; + }