105 Commits

Author SHA1 Message Date
Robin Cornett 20a914a173 Update for PHP8, version bump to 3.2.4 2023-11-11 12:20:54 -05:00
Robin Cornett e8ce82d555 Update copyright years 2020-08-23 10:31:02 -04:00
Robin Cornett bdb3e48a5d Check and maybe update the plugin setting (image size) 2019-10-23 18:47:39 -04:00
Robin Cornett 72a5580245 Register new image size
For sites running WP earlier than 5.3, the plugin's registered image
size is changing to 2048x0248, which is the name of a new image size
being registered in 5.3. Once 5.3 is active, this plugin will no longer
register its own image size; we will just use the Core one.
2019-10-23 18:46:05 -04:00
Robin Cornett b4628b3e36 Set up site to use new WordPress image sizes
WordPress is adding new image sizes in version 5.3, so our custom image
size is redundant. Keeping it in for back compat, plus older images
will still need to be retrieved using the old image size name, or else
the original size will be used in lieu of a correctly sized option.
2019-10-22 17:29:46 -04:00
Robin Cornett bdd95b2922 Move/update block registration 2019-06-26 13:28:19 -04:00
Robin Cornett 1d964b7029 Rename block class, separate output 2019-06-24 11:15:32 -04:00
Robin Cornett bc801e7756 Delete non-working block code 2019-06-23 17:39:57 -04:00
Robin Cornett fde6e6c565 Create one working block (CPT) 2019-06-23 16:47:07 -04:00
Robin Cornett 784a41e1d7 Initial (non-working) add
Some kind of REST 404 error but no idea how to resolve.
2019-06-18 10:26:49 -04:00
Robin Cornett c6a444a9ab Change helper functions load to require_once 2019-06-08 15:19:37 -04:00
Robin Cornett f211efeee9 phpcs, finish changing to types 2019-05-18 15:42:08 -04:00
Robin Cornett 670b841708 Add a common helper function/instance 2019-05-14 14:25:46 -04:00
Robin Cornett f544a90974 Instantiate description class only as needed 2019-05-13 14:40:02 -04:00
Robin Cornett 90446d9229 Update settings getter to include optional parameter 2019-05-13 14:05:15 -04:00
Robin Cornett 52f77c18fd Add minified scripts 2019-05-13 10:30:54 -04:00
Robin Cornett b5464d5d5d Update image uploader markup, script 2019-05-13 10:26:50 -04:00
Robin Cornett e2574a30cd Update settings classes
Remove unneeded define class, move help tab initialization to settings
page.
2019-05-12 18:18:25 -04:00
Robin Cornett 40e63aa7ad Fix block editor metabox 2018-11-07 17:57:25 -05:00
Robin Cornett 84b43b6edf Fix the block editor metabox not loading 2018-10-31 13:39:09 -04:00
Robin Cornett b69f76567d Change method for adding Gutenberg metabox 2018-02-05 09:10:29 -05:00
Robin Cornett fb8552f88d Add a metabox for Gutenberg
Currently the easiest way to make sure the post meta
is added to the Gutenberg editor, since the featured
image metabox hook/filter is no longer available.

Presumably this will eventually be replaced with a true
block, or whatever it will be, but this works for the moment.
2018-01-06 13:26:20 -05:00
Robin Cornett b087c6c9c7 Change PHP version notice to 5.6 2017-11-21 08:57:40 -05:00
Robin Cornett ce25026ae0 Remove unused functions
Since settings are now retrieved and merged with defaults, this check has been unused for ages.
2017-11-10 13:35:33 -05:00
Robin Cornett c9a81974c3 Add general widgets class 2017-11-10 13:34:30 -05:00
Robin Cornett 389d2f8981 Rename widgets form class 2017-11-10 12:47:15 -05:00
Robin Cornett ac6e60bc8d Update inline script 2017-11-02 11:53:01 -04:00
Robin Cornett abc943d8a8 Change shortcode buttons
Instead of enabling individually, enable the buttons all at once, and use js to hide them behind one master button, kind of a dropdown menu style.
2017-11-02 09:20:02 -04:00
Robin Cornett f8700975fa Add optional shortcode buttons 2017-10-24 18:04:55 -04:00
Robin Cornett c26d55b525 Add shortcode support 2017-10-24 10:36:33 -04:00
Robin Cornett db5b6a7659 Refactor widgets
All widgets use new form/builder class and updater class.
Also fixes function visibility issues, defaults.
2017-08-09 08:05:09 -04:00
Robin Cornett 4ef7e552da Refactor taxonomy widget
Adds new widget form class, which all three widgets can share.
2017-05-18 16:36:27 -04:00
Robin Cornett a47c149919 Update copyright 2017-02-17 09:43:46 -05:00
Robin Cornett bb02311dd7 Fix Edit Flow conflict
Adds a filter to taxonomies which can support featured images. Also adds
the function to remove Edit Flow's post status from this list.
2016-11-12 15:43:24 -05:00
Robin Cornett c62629b52e Organize main function calls 2016-07-12 09:51:22 -04:00
Robin Cornett 1f3dc15e34 Remove settings check
No longer needed with setting/default array merge.
2016-07-12 09:50:56 -04:00
Robin Cornett c7b22b43ea Organize main class function 2016-07-02 10:25:59 -04:00
Robin Cornett d8598a8be1 Move help tabs to unique class 2016-07-02 10:17:38 -04:00
Robin Cornett 46ebb4b02d Add customizer class/settings 2016-07-02 09:17:46 -04:00
Robin Cornett 5a00d9ea81 Use admin_post_thumbnail ID arg 2016-06-21 10:51:58 -04:00
Robin Cornett aa87d57d0e Spellcheck 2016-04-04 15:50:47 -04:00
Robin Cornett 7fb24b1086 Add post_meta to disable on a per post basis 2016-04-03 15:31:17 -04:00
Robin Cornett 648a6317a9 Update readme/copyright 2016-04-01 20:18:20 -04:00
Robin Cornett 0778777368 Add setting to use term/cpt images as fallbacks for archive thumbnails 2016-03-07 13:08:59 -05:00
Robin Cornett 513447fa42 Add filter to modify the default plugin image size 2016-02-23 13:27:02 -05:00
Robin Cornett be876f703e Add helper function to get the plugin setting 2016-02-23 08:03:13 -05:00
Robin Cornett 6d268b79dd Update docblocks 2016-01-12 09:13:25 -05:00
Robin Cornett 3a59ea0f02 Fix $screen array 2015-11-17 16:36:15 -05:00
Robin Cornett 2c7f0105d1 Update copyright 2015-11-17 16:35:54 -05:00
Robin Cornett 13f35c3b91 Fix admin enqueue scripts 2015-11-17 14:03:21 -05:00