WordPress-Plugin-Template
WordPress-Plugin-Template copied to clipboard
A robust code template for creating a standards-compliant WordPress plugin.
I have same custom meta fields that I've enabled for my new post_type. These work fine as long as I'm using the edit post page. However, when I click "Quick...
Tried running the build script, getting an error message: ``` $ sh build-plugin.sh Plugin name: test123 Destination folder: test123 Include Grunt support (y/n): y Initialise new git repo (y/n): y...
when i use get_option('wpt_an_image') it returns a number not a url string i can use to referace the image in my case: `$image = get_option('mkit_an_image','No Image Selected!');` `$html = '';...
According to https://codex.wordpress.org/Function_Reference/register_activation_hook the activation hook requires a static function, if inside of a __construct() Therefor $this cannot be used inside install to call _log_version_number. Any suggestion to implement the...
I have a taxonomy with multiple object type registered like this: `Cb_Profiler_Client()->register_taxonomy( 'layer-range', 'Layer Range', 'Layer Range', array('user','layer'));` Now when I edit the taxonomy of user id 236 the taxonomy...
At the bottom of the [README](https://github.com/hlashbrooke/WordPress-Plugin-Template/blob/master/README.md), the donation link (`http://www.hughlashbrooke.com/donate`) does not work.
Added dropdown field for WP pages with few args
First of all, go in the plugin's settings page. The following steps are to reproduce the issue: 1. Add an image using "Upload new image" 2. The image thumbnail will...
You might want to consider adding a template loader so users can get an idea on how to package templates with a plugin but also allow theme authors to override...
I found a strange behavior when posting new custom post_types that are defined in the plugin. There is a missing dollar sign in the line for function updated_messages for message...