PHP Classes
elePHPant
Icontem

WordPress SEO less something: Remove comments introduced by Wordpress SEO plugin

Recommend this page to a friend!
  Info   View files Documentation   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-05-08 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 100 All time: 9,121 This week: 537Up
Version License PHP version Categories
wpseols 1.1MIT/X Consortium ...5.0PHP 5, SEO, Blogs
Description Author

This class can remove comments introduced by Wordpress SEO plugin.

It register a function to capture the page output.

The class determines if the Yoast Wordpress SEO plugin is installed. If so, it removes all the unnecessary comments that it introduces an returns the filtered page output.

Innovation Award
PHP Programming Innovation award nominee
April 2015
Number 6


Prize: PhpStorm IDE personal permanent license
Some Wordpress plugins alter pages in useful ways but sometimes they add more information than it is necessary.

This package can remove needless HTML introduced in the Wordpress site pages by the Yoast SEO plugin.

Manuel Lemos
  Performance   Level  
Name: Alessio Felicioni <contact>
Classes: 5 packages by
Country: Italy Italy
Age: 37
All time rank: 3606146 in Italy Italy
Week rank: 919 Up49 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

Details

wordpress-seo-less-something

Turning off some strings from WordPress response code, particularly useful when projects go live

Scenario

Using WordPress with the awesome WordPress SEO plugin by Yoast, you may feel like unpleasant about comments and messages in the header section of HTML page generated for your projects, exposing used plugin family and version. Since they have been designed for debug purposes, it's not needed to have them always on the output.

Requirements

Usage

This is basically a Must Use style plugin, so it will be always active by default.

Just copy wp-content/mu-plugins/wordpress-seo-less-something.php to your WordPress installation.

No panic if there is no wp-content/mu-plugins folder in your setup, just create it before copying the plugin file.

License

See LICENSE

  Files folder image Files  
File Role Description
Files folder imagewp-content (1 directory)
Plain text file LICENSE Lic. License text
Plain text file README.md Doc. License text

  Files folder image Files  /  wp-content  
File Role Description
Files folder imagemu-plugins (1 file)

  Files folder image Files  /  wp-content  /  mu-plugins  
File Role Description
  Plain text file wordpress-seo-less-something.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:100
This week:0
All time:9,121
This week:537Up