[TRICK] HOW TO REMOVE YOAST SEO ADS IN WORDPRESS ADMIN

0
306

Follow these steps below to remove Yoast ads in wordpress admin:

Step 1:

  • Find and open this file wordpress-seo-premium/admin/banner/class-admin-banner-sidebar-renderer.php.

Step 2:

Replace this function:
public function render( WPSEO_Admin_Banner_Sidebar $banner_sidebar ) {
return sprintf( '
<div class="wpseo_content_cell" id="sidebar-container">
<div id="sidebar">
<div class="wpseo_content_cell_title yoast-sidebar__title ">
%1$s
</div>
%2$s
</div>
</div>',
$banner_sidebar->get_title(),
$this->render_banner_spots( $banner_sidebar->get_banner_spots() )
);
}

with this function:
public function render( WPSEO_Admin_Banner_Sidebar $banner_sidebar ) {
return sprintf( '
',
$banner_sidebar->get_title(),
$this->render_banner_spots( $banner_sidebar->get_banner_spots() )
);

Step 3:

Go to admin and see the result. Make sure you will say WOWWWWW :)) lol.

Demo

http://themeforest.net/item/rehub-directory-shop-coupon-affiliate-theme/7646339

Download link

http://www28.zippyshare.com/v/GGbxOsLn/file.html

LEAVE A REPLY

Please enter your comment!
Please enter your name here