Register a plugin

If you have some awesome code in your functions.php-file, and want to be able to deactivate it without having to erase the code, or just want to share it with other WordPress-users, you can add a few lines of code to make a plugin out of it.

Put your code in a separate file and add it to wp-content/pugins/, and add the code in the top of the file.

Then go to Plugins in WP Admin and activate the new plugin!

Code Snippet:

<?php
/*
Plugin Name: Plugin Name
Plugin URI: http://example.com/the-plugin
Description: A brief description of the Plugin.
Version: 1.0
Author: Your name
Author URI: http://example.com
License: GPL2?
*/
?>

Posted in Admin area