Commit Graph

86 Commits

Author SHA1 Message Date
Robin Cornett e5e5a187d8 Fix settings page 2015-07-12 12:59:50 -04:00
Robin Cornett 61d7d56e5c Fix dependencies 2015-07-12 12:28:21 -04:00
Robin Cornett 41ac3732cd Provisional tag 2.3.0 2015-07-12 11:35:08 -04:00
Robin Cornett 20e4aa1cf0 Simplify checkbox validation 2015-06-07 12:05:14 -04:00
Robin Cornett f6d588bfc7 Add author profile featured image 2015-06-07 12:04:36 -04:00
Robin Cornett c58cc69648 Revert to static functions
(backwards compatible)
2015-06-06 21:30:42 -04:00
Robin Cornett 0f6430682d Fix $variables 2015-06-06 17:57:28 -04:00
Robin Cornett 93b7c5aa35 Clean up static methods
Needs lots more testing
2015-06-03 14:36:16 -04:00
Robin Cornett cab899a1f7 Refactor image validation
Now checking image validity/size for default and CPT images go through
one function instead of two.
2015-06-02 07:44:48 -04:00
Robin Cornett 812254fc20 Fix button output 2015-06-02 07:43:43 -04:00
Robin Cornett 7d440be436 Simplify checkbox setting function 2015-06-01 10:18:16 -04:00
Robin Cornett 73fd2dd6bd Refactor image preview/buttons
Move image preview and button renderer to separate functions instead of
building each three times.
2015-05-30 17:27:45 -04:00
Robin Cornett b103701b2e Refactor the refactor for settings fields 2015-05-30 13:38:41 -04:00
Robin Cornett 532ca19eb0 Refactor add_settings_field 2015-05-30 11:46:40 -04:00
Robin Cornett 12519a0878 Move more work into render function 2015-05-30 10:27:33 -04:00
Robin Cornett 62c8a41def Update help text 2015-05-30 09:54:32 -04:00
Robin Cornett 3b89ad5fb4 Update image ext check
pulled from latest CMB2
2015-05-30 09:54:19 -04:00
Robin Cornett 5d1e7ceb20 Change image preview dry 2015-05-30 09:53:22 -04:00
Robin Cornett 9b42e9b3ea Fix foreach for CPT image setting 2015-05-30 08:04:57 -04:00
Robin Cornett 4db2b430c7 Refactor CPT image setting output 2015-05-30 07:41:29 -04:00
Robin Cornett 9bdca7944f escape more things #WWGJD 2015-05-07 20:36:35 -04:00
Robin Cornett e527557810 escape all the things 2015-04-24 17:02:47 -04:00
Robin Cornett c9f049392b refactor section/page variables 2015-04-20 17:02:16 -04:00
Robin Cornett 9ae17447e0 change input names for accuracy 2015-04-14 17:48:15 -04:00
Robin Cornett 41c51f337e fix hidden field data
if the setting was a URL we had inconsistent behavior.
2015-04-10 09:32:57 -04:00
Robin Cornett a422bda814 add subsequent pages help 2015-04-10 08:38:43 -04:00
Robin Cornett 90febaaa10 remove unnecessary external warning 2015-04-10 08:38:28 -04:00
Robin Cornett a68e201116 add blog page 2+ setting
originally the featured image doesn't show on subsequent pages, but some
people might want it to. needs documentation.
2015-04-09 22:16:36 -04:00
Robin Cornett aa96b77f25 document is_numeric 2015-04-09 22:15:41 -04:00
Robin Cornett 1f8c832e40 update buttons 2015-03-24 10:09:32 -04:00
Robin Cornett f66f0395f8 add delete button for term/cpt/default images 2015-03-23 12:50:58 -04:00
Robin Cornett 9524139621 change term/cpt/default image to use ID 2015-03-23 11:51:45 -04:00
Robin Cornett fd5f03e6b7 change source validation 2015-03-23 09:56:12 -04:00
Robin Cornett a431ca768b Update CPT/tax image validation for consistency 2015-03-22 21:35:14 -04:00
Robin Cornett 4e44cdd552 add filter for minimum backstretch width 2015-03-22 16:34:25 -04:00
Robin Cornett 7b1e7b5302 Change default image validation 2015-03-22 10:06:35 -04:00
Robin Cornett c14cd41058 add check/error message for external images 2015-03-21 16:26:55 -04:00
Robin Cornett 4bde7c33c5 clarify help text 2015-03-05 14:07:49 -05:00
Robin Cornett 1a6f95645d Change main image variable
Simplify this variable--no need for certain elements to be accessible
outside the main function.
2015-02-27 09:10:06 -05:00
Robin Cornett d22dcb51b0 clarify keep titles setting/wording 2015-01-20 13:20:53 -05:00
Robin Cornett daae448009 change upload button to not primary 2015-01-10 14:24:18 -05:00
Robin Cornett 0511b4f27f tag as 2.0.0 2015-01-10 10:45:16 -05:00
Robin Cornett e9e20d39d3 add CPT archive link to settings page 2015-01-10 09:43:38 -05:00
Robin Cornett 8f56924f84 enable large (in addition to backstretch) images for archives 2015-01-09 15:36:47 -05:00
Robin Cornett fdd006ecdf clarify language and add help for settings 2015-01-09 12:55:54 -05:00
Robin Cornett 45b04bafaf fix variable consistency 2015-01-08 12:39:23 -05:00
Robin Cornett 9b5da50918 updated term option for uniqueness 2015-01-07 19:08:49 -05:00
Robin Cornett a635fd0524 fixed js to handle multiple buttons
needed to set a global variable, apparently
2015-01-06 20:45:37 -05:00
Robin Cornett 289f0e5a6e set cpt/tax images to be backstretch only 2015-01-04 18:15:32 -05:00
Robin Cornett 3268052c73 fix sanitization return for cpt images
previous valid value is now returned here as well.
2015-01-04 17:45:32 -05:00