The publishing platform WordPress adds a small line for itself to advertise and clarify that the site that you find is a site using WordPress.

Except that in addition to reporting that it’s WordPress, it goes to show the current version.It is not embarrassing, except that each version has its security problems…

Past one of this codes in your functions.php file.

[sourcecode language=”php”]// Remove the WordPress Generator

function remove_generators() { return ”; }

add_filter( ‘the_generator’, ‘remove_generators’ );[/sourcecode]

You can also say that it’s WordPress without specifying which version

[sourcecode language=”php”]// Change the WordPress Generator

function change_generators() { return ‘<meta name="generator" content="WordPress" />’; }

add_filter( ‘the_generator’, ‘change_generators’ );

[/sourcecode]

You May Also Like

Hide a part from your content from non-registred visitors

Trying to get new “members” to his WordPress blog is not always easy. To try to push visitors to register and join your blog, you might resort to drastic measures as to conceal a portion of text. Or, another scenario, you might want to reserve a portion of text only to the most loyal visitors: […]

Can Ghost, the new comer win a significant market share?

For some years now, WordPress (WP) has established itself in the blogging world, as the leader in web content creation and management. Born in 2003, the software which is used with PHP has won a multitude of bloggers. It certainly takes some knowledge in the field of computer science to use WordPress properly. But, past […]

Why WORDPRESS is better?

You might have started your own online business. Well, to make it work, you need to own a site. However, if you do not know much about programming languages, then it would benefit you a lot to make use of the simple and easy ones. In this matter, it would be a very good idea […]

Affect an image to categories in WordPress without plugin

This tutorial allows you to add a text field to fill the URL of an image for each of your categories. Add this in your functions.php file: [sourcecode language=”php”]add_action(‘init’, ‘my_category_module’);[/sourcecode] [sourcecode language=”php”]function my_category_module() { add_action ( ‘edit_category_form_fields’, ‘add_image_cat’); add_action ( ‘edited_category’, ‘save_image’); }[/sourcecode] The function to add the extra field : [sourcecode language=”php”]function add_image_cat($tag){ $category_images = get_option( ‘category_images’ ); $category_image = ”; if ( is_array( $category_images ) &amp;amp;amp;amp;amp;&amp;amp;amp;amp;amp; array_key_exists( $tag-&amp;amp;amp;amp;gt;term_id, $category_images […]