Remove SEO title, keywords, description columns from the post and pages list when using the all-in-one-seo-pack WordPress plugin

Remove SEO title, keywords, description columns from the post and pages list when using the all-in-one-seo-pack WordPress plugin

I always use the all-in-one-seo-pack for WordPress websites which is a great plugin for SEO purposes. The only drawback is that it screws up the list of pages or posts in your WordPress admin section by adding three extra colums to it (SEO title, SEO keywords, SEO description).

SEO title, SEO keywords, SEO description columns in the pages admin section from wordpress

To remove these colums go to the /wp-content/plugins/all-in-one-seo-pack/ folder and look for the file aioseop_functions.php

Now look for a function named aioseop_mrt_pcolumns. This is what its code looks like

if (!function_exists('aioseop_mrt_pcolumns')) {
	function aioseop_mrt_pcolumns($aioseopc) {
		global $aioseop_options;
		$aioseopc['seotitle'] = __('SEO Title');
		$aioseopc['seokeywords'] = __('SEO Keywords');
		$aioseopc['seodesc'] = __('SEO Description');
		return $aioseopc;
	}	
}

You need to comment out the three lines from the $aioseopc variable. Your code should now look like this:

if (!function_exists('aioseop_mrt_pcolumns')) {
	function aioseop_mrt_pcolumns($aioseopc) {
		global $aioseop_options;
		/* $aioseopc['seotitle'] = __('SEO Title');
		$aioseopc['seokeywords'] = __('SEO Keywords');
		$aioseopc['seodesc'] = __('SEO Description'); */
		return $aioseopc;
	}	
}

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s