PHP Classes

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
2024-01-10 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 117 All time: 9,528 This week: 555Up
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
Picture of Alessio Felicioni
  Performance   Level  
Name: Alessio Felicioni <contact>
Classes: 5 packages by
Country: Italy Italy
Age: 42
All time rank: 3627143 in Italy Italy
Week rank: 411 Up18 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

Documentation

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:117
This week:0
All time:9,528
This week:555Up