Skip to content

Commit

Permalink
Update readme and version number for v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sheabunge committed Mar 17, 2018
1 parent 7239e6d commit 9420551
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -6,6 +6,6 @@ This plugin automates the process of creating a functionality plugin. Simply ins

See [this WP Daily post](http://wpdaily.co/functionality-plugin/) for more information on functionality plugins.

This plugin may be removed at any time, and your functionality plugin will remain working and intact. You will, however, loose the quick edit link in the admin menu.
This plugin may be removed at any time, and your functionality plugin will remain working and intact. You will, however, loose the quick edit links in the admin menu, and automatic styles loading if that feature is enabled.

![Editing the functionality plugin in the WordPress plugin header](screenshots/banner-772x250.png)
20 changes: 7 additions & 13 deletions functionality.php
Expand Up @@ -4,26 +4,20 @@
* Makes it easy to create and edit your own functionality plugin
* for pasting snippets instead of in the theme's functions.php
*
* To minimize confusion, throughout this file when I refer to
* 'functionality plugin', I mean the functions.php file that is
* created by this plugin in the WordPress plugins folder.
* When I refer to 'this plugin', I'm talking about the plugin
* whose code you're currently looking at.
*
* @version 1.2.1
* @version 2.0.0
* @author Shea Bunge <shea@bungeshea.com>
* @copyright Copyright (c) 2013-2016, Shea Bunge
* @copyright Copyright (c) 2013-2018, Shea Bunge
* @license https://opensource.org/licenses/MIT
*/

/*
Plugin Name: Functionality
Plugin URI: https://github.com/sheabunge/functionality
Plugin URI: https://github.com/sheabunge/functionality
Description: Makes it easy to create and edit your own functionality plugin for pasting snippets instead of in the theme's functions.php
Author: Shea Bunge
Author URI: https://bungeshea.com
Version: 1.2.1
License: MIT
Author: Shea Bunge
Author URI: https://bungeshea.com
Version: 2.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: functionality
Domain Path: /languages
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "functionality",
"version": "1.2.1",
"version": "2.0.0",
"description": "Makes it easy to create and edit your own WordPress functionality plugin for pasting snippets",
"repository": {
"type": "git",
Expand Down
33 changes: 24 additions & 9 deletions readme.txt
Expand Up @@ -2,8 +2,8 @@
Contributors: bungeshea
Donate link: https://bungeshea.com/donate/
Tags: functionality, functions.php
Tested up to: 4.9.2
Stable tag: 1.2.1
Tested up to: 4.9.4
Stable tag: 2.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT

Expand All @@ -25,21 +25,29 @@ Serbian translation provided by [Ogi Djuraskovic from FirstSiteGuide.com](http:/

1. Upload the `functionality` directory to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. A functionality plugin will be created for you in `wp-content/plugins/functions.php`
4. Use the built-in WordPress file editor to edit your functionality plugin
3. Visit the 'Plugins > Edit Functions' menu in WordPress and enter filesystem credentials if necessary
4. A functionality plugin will be created for you in `wp-content/plugins/functions/functions.php`
5. Use the built-in WordPress file editor to edit your functionality plugin

This plugin may be removed at any time, and your functionality plugin will remain working and intact. You will, however, loose the quick edit link in the admin menu.
= Enable Styles Feature =

1. To enable the optional CSS styles feature, uncomment that line in the functions file, save the changes, and refresh the page
2. Visit the new 'Plugins > Edit Styles' admin menu and enter filesystem credentials if necessary
3. A stylesheet file will be created for you in `wp-content/plugins/functions/style.css`. This file will be automatically loaded on the front-end of your site.
4. Use the built-in WordPress file editor to edit your stylesheet plugin

This plugin may be removed at any time, and your functionality plugin will remain working and intact. You will, however, loose the quick edit links in the admin menu, and automatic styles loading if that feature is enabled.

== Frequently Asked Questions ==

= My functionality plugin isn't working! =
First of all, backup all of the code in your functionality plugin. Then deactivate both this plugin and your functionality plugin from the WordPress admin. Delete your functionality plugin (it will be called your site's name), and then reactivate this plugin.
First of all, backup all of the code in your functionality plugin. Then deactivate and delete your functionality (it will have the same name as your site). To recreate the functionality plugin, visit the 'Edit Functions' link in the WordPress admin menu.

= Can I get rid of this plugin once my functionality plugin has been created? =
With pleasure! Once this plugin has been activated and the functionality plugin created, all it does is create a link in the WordPress admin menu for easily editing the functionality plugin. If you don't want this, feel free to delete this plugin.
Sure! Once this plugin has been activated and the functionality plugin created, all it does is create a link in the WordPress admin menu for easily editing the functionality plugin, and include your CSS code on the front-end of your site. If you don't want this, feel free to delete this plugin.

= When would I use this plugin over the Code Snippets plugin? =
This plugin is more suited to people who only have a few snippets and prefer editing a file to using a graphical interface. If you have a few snippets and like to be organized, you might feel more at home using the [Code Snippets](http://wordpress.org/plugins/code-snippets) plugin, which is also created by me.
This plugin is more suited to people who only have a few snippets and prefer editing a file to using a graphical interface. If you have more snippets, and like to be organized, you may feel more at home using the [Code Snippets](https://wordpress.org/plugins/code-snippets) plugin, which I also created.

= Isn't this just like the Pluginception plugin? =
Yes, in that they are both a plugin for creating plugins. However, this plugin is a bit more easier to use and specific than Pluginception.
Expand All @@ -49,11 +57,18 @@ Yes, in that they are both a plugin for creating plugins. However, this plugin i

== Changelog ==

= 2.0.0 =
* Reorganised internal structure of plugin
* Improved formatting of default file content
* Moved functionality plugin into its own subdirectory
* Added feature for creating a CSS stylesheet
* Improved integration with the WP Filesystem API

= 1.2.1 =
* Fixed bug preventing functionality plugin from being created on plugin activation

= 1.2.0 =
* Updated to use `wp_get_current_user()`` instead of `get_currentuserinfo()`
* Updated to use `wp_get_current_user()` instead of `get_currentuserinfo()`
* Updated code structure to use a controller class
* Added support for the WP Editor plugin

Expand Down

0 comments on commit 9420551

Please sign in to comment.