Commit Graph

664 Commits

Author SHA1 Message Date
Robin Cornett cde32c7c8d Fix check for fallback image ID 2018-05-29 14:33:09 -04: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 857e50dcf7 Update backstretch script 2018-05-07 10:06:30 -04:00
Robin Cornett 40e8ca78c6 Update gravatar output in widget 2018-03-29 16:41:09 -04:00
Robin Cornett e5bdd05c83 Fix author image alignment 2018-03-29 16:40:34 -04:00
Robin Cornett 4d42293e57 Move widget field definitions to view files 2018-03-29 16:28:46 -04:00
Robin Cornett 6fe15a8b40 Fix editor output 2018-03-29 14:13:15 -04:00
Robin Cornett 76b45a6efe Fix editor enqueue 2018-03-28 20:08:01 -04:00
Robin Cornett 87d1b8b534 Change shortcode registration 2018-03-28 20:00:26 -04:00
Robin Cornett 7f636e7859 Update shortcodes editor
Separate shortcode editor functions into separate class; move button
wrapper to JS.
2018-03-28 20:00:08 -04:00
Robin Cornett b5107cd843 Update shortcode library 2018-03-17 13:54:23 -04:00
Robin Cornett 0264f8a8e2 Give post meta image options access to the image size choices filter 2018-03-14 16:37:33 -04:00
Robin Cornett 94021c7c6b Add the image ID as a parameter for the large image filter 2018-03-13 08:56:15 -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 dc561f9ee2 Add custom text option to term/CPT widgets 2018-02-05 14:39:21 -05:00
Robin Cornett 8b17bb736a Change CPT/term widgets to single column 2018-02-05 14:39:03 -05:00
Robin Cornett 1f883c94a0 Fix widget form class instantiation 2018-02-05 14:11:12 -05: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 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 ddb77347cf Show content type images only on related pages 2017-12-29 16:23:02 -05:00
Robin Cornett 7a45058f54 Add post type images to customizer 2017-12-28 17:05:33 -05:00
Robin Cornett 2ea13a9fab Refactor customizer class
CPT images are not working
2017-12-28 17:00:05 -05:00
Robin Cornett dec85e5ce9 Update settings for customizer 2017-12-28 16:59:47 -05:00
Robin Cornett 552aaaf19d Revert commit which removed large image check 2017-12-28 13:32:34 -05:00
Robin Cornett cd46bc5f4e Remove unneeded large image singular function
Since the post meta is now saved by strings, not integers,
this function is now redundant.
2017-12-28 11:02:55 -05:00
Robin Cornett 61ca74af7c Update doc blocks (CS) 2017-12-27 15:17:30 -05:00
Robin Cornett 17f0ce60ce Move image size setting 2017-12-27 14:30:54 -05:00
Robin Cornett dfb4672593 Move deprecated function notice 2017-12-14 10:59:58 -05:00
Robin Cornett c2d63ea62f Fix post meta image size check 2017-12-14 10:59:41 -05:00
Robin Cornett c9325da6b4 Update shortcodes library 2017-12-06 14:30:11 -05:00
Robin Cornett 7864160800 Add archive links to term/CPT widgets 2017-12-06 14:11:53 -05:00
Robin Cornett 5b4fa611bd Update large image hooks (HTML5) 2017-11-25 10:46:55 -05:00
Robin Cornett 27a9fa40d7 Change post meta values 2017-11-21 11:21:13 -05:00
Robin Cornett 1e3c1ac8b5 Fix image size selection 2017-11-21 09:45:37 -05:00
Robin Cornett 50ce83690a Add default image size 2017-11-21 09:40:36 -05:00
Robin Cornett b087c6c9c7 Change PHP version notice to 5.6 2017-11-21 08:57:40 -05:00
Robin Cornett ae37101449 Update large hook choices 2017-11-20 14:59:33 -05:00
Robin Cornett 40a1fb44a5 Improve large image method name 2017-11-18 15:30:51 -05:00
Robin Cornett 601790aef9 Fix check for singular disabled image 2017-11-18 15:30:30 -05:00
Robin Cornett 7ba7224246 Change post_meta disable
Initial work to change `_displayfeaturedimagegenesis_disable` to a select with image size options instead of being a checkbox. Options will be:
* 0: default (consistent with checkbox)
* 1: disable (consistent with checkbox)
* 2: backstretch (new)
* 3: large (new)
2017-11-13 11:09:20 -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 aaf84ec73e Fix shortcode buttons 2017-11-06 13:42:57 -05:00
Robin Cornett 3291ce83a7 Move author image fields to form class 2017-11-06 13:17:42 -05:00
Robin Cornett b63ea56c9e Don't use icon image fallback 2017-11-06 13:14:05 -05:00