63 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 99093dbe98 Add support for webp images 2021-07-17 11:02:24 -04:00
Robin Cornett 3909f89e26 Update readme, .pot 2020-08-23 14:09:22 -04:00
Robin Cornett e8ce82d555 Update copyright years 2020-08-23 10:31:02 -04:00
Robin Cornett 261c0e1599 Update image size references
Where possible, use the newly registered image size. The original image
size will be available to call on for backup, for images uploaded prior
to WordPress 5.3.
2019-10-23 18:47:15 -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 772c053f3c Fix validation break 2019-06-21 12:26:05 -04:00
Robin Cornett 3e29680d38 Add a filter on the list of post types for the settings pages 2019-06-14 08:07:21 -04:00
Robin Cornett e82badcb3e Remove link from active settings tab 2019-06-08 15:04:50 -04:00
Robin Cornett f66801d682 Remove unneeded section description 2019-06-08 15:04:32 -04:00
Robin Cornett 24f28e593f Update options variables 2019-06-08 15:04:08 -04:00
Robin Cornett e32fd015cf Fix post_type settings key 2019-06-07 11:13:06 -04:00
Robin Cornett 34a1a11452 Update image validator
Fixes broken validation in the customizer.
2019-05-23 07:49:08 -04:00
Robin Cornett a099d9ff83 Move user profile error to image validation class 2019-05-19 14:03:18 -04:00
Robin Cornett 38fc34fdbf PHPCS 2019-05-19 07:07:23 -04:00
Robin Cornett 6b0bebe40b Fix post type description check 2019-05-19 07:07:06 -04:00
Robin Cornett bf4442c098 Add image validation class
Used on settings validation for multiple images; term/author for single.
2019-05-19 07:06:50 -04:00
Robin Cornett f2abb5d4ca Create an image settings class
I am sure that right now this breaks meta classes.
2019-05-18 15:45:38 -04:00
Robin Cornett ef875fae78 Remove unneeded settings variables 2019-05-18 15:44:20 -04:00
Robin Cornett 52712e1c74 Change field getter 2019-05-18 15:42:38 -04:00
Robin Cornett f211efeee9 phpcs, finish changing to types 2019-05-18 15:42:08 -04:00
Robin Cornett f80d4a65c7 Update settings fields to use types instead of callbacks 2019-05-18 15:31:50 -04:00
Robin Cornett 67ee568db2 Update settings page as backstretch section is no longer needed 2019-05-14 14:28:33 -04:00
Robin Cornett 670b841708 Add a common helper function/instance 2019-05-14 14:25:46 -04:00
Robin Cornett 2c8af3a62b Remove backstretch references
Since the scriptless behavior can take on the backstretch script
behavior, no longer a need to separate the two.
2019-05-14 13:45:14 -04:00
Robin Cornett 90446d9229 Update settings getter to include optional parameter 2019-05-13 14:05:15 -04:00
Robin Cornett b5464d5d5d Update image uploader markup, script 2019-05-13 10:26:50 -04:00
Robin Cornett c9fb7b0b01 Begin updating language 2019-05-13 09:27:02 -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 4a2e26ce05 Update settings tabs 2019-05-12 18:17:47 -04:00
Robin Cornett 562fedf8c7 Refactor settings fields/sections 2019-05-12 17:40:05 -04:00
Robin Cornett ee7d4bc7cd Add potential scriptless banner option 2018-12-05 15:29:32 -05:00
Robin Cornett 467a60b585 Update settings page help tabs 2018-11-17 10:59:10 -05:00
Robin Cornett 3f38c1142d Update settings page organization 2018-11-17 10:58:18 -05:00
Robin Cornett 4155efd3b2 Update the plugin settings getter 2018-11-14 09:09:10 -05:00
Robin Cornett 15070d303b Update version, readme 2018-05-28 15:34:24 -04:00
Robin Cornett 91af312eaa Remove all calls to check_image_id helper function (deprecated) 2018-05-28 14:57:05 -04:00
Robin Cornett 029a486ddb Move customizer class to settings directory
Also refactor sanitization callback selection
2018-02-12 11:45:40 -05:00
Robin Cornett 38a05ba964 Skip advanced fields in customizer
These are pointless in the customizer because they
don't show the changes.
2017-12-30 11:58:31 -05:00
Robin Cornett 7a47b0a5be Update customizer image size message 2017-12-30 11:57:51 -05:00
Robin Cornett c584b0bf43 Update labels 2017-12-29 16:23:19 -05:00
Robin Cornett 7a45058f54 Add post type images to customizer 2017-12-28 17:05:33 -05:00
Robin Cornett dec85e5ce9 Update settings for customizer 2017-12-28 16:59:47 -05:00
Robin Cornett 17f0ce60ce Move image size setting 2017-12-27 14:30:54 -05:00
Robin Cornett 5b4fa611bd Update large image hooks (HTML5) 2017-11-25 10:46:55 -05:00
Robin Cornett 50ce83690a Add default image size 2017-11-21 09:40:36 -05:00
Robin Cornett ae37101449 Update large hook choices 2017-11-20 14:59:33 -05:00
Robin Cornett bca243f9cc Fix image validation 2017-11-02 12:46:44 -04:00
Robin Cornett bd4b0cf282 Fix checkbox_array validation 2017-11-02 11:52:11 -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