1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-23 04:13:53 +02:00
Commit graph

7 commits

Author SHA1 Message Date
Mikkel Breum
fd69c019ec Added Plugin Settings page (commented out)
Added a Plugin Settings page, that can be enabled by uncommenting the line that hooks it into the admin_menu action hook.

Added additional views that contain the WordPress standard markup to wrap the plugin settings markup.

The views are now loaded into the plugin page.
2013-04-07 23:05:13 +02:00
Mikkel Breum
403ef654ea Removed the need to customize url for wp_enqueue_style and wp_enqueue_scripts
By adding the __FILE__ magic constant as a second parameter to the wp_enqueue_style and wp_enqueue_scripts, the user no longer needs to change 'plugin-name'. This also makes the code more robust.
2013-04-07 22:56:08 +02:00
Mikkel Breum
68da31e4be correct action hook for register_admin_styles
Changed the action hook from 'admin_print_styles' to 'admin_enqueue_scripts' which is better.

See: http://codex.wordpress.org/Plugin_API/Action_Reference/admin_enqueue_scripts

See: http://make.wordpress.org/core/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/
2013-04-07 22:05:15 +02:00
Ted Waller
a96bf127ac listed jQuery as a dependency for both JavaScripts 2013-04-02 07:14:56 -04:00
Lee Willis
df80c7e5eb A better way of loading language files 2013-01-30 20:11:12 +00:00
Wes Bos
696df14fc8 Changed to 2013
Happy new year!
2013-01-16 21:43:54 -05:00
Tom McFarlin
e4bbd52ae0 * Moving the boilerplate to its own directory
* Adding an improved README
* Removing unused features of the boilerplate
* Officially tagging as 1.0
2012-11-29 21:45:09 -05:00