Commit Graph

648 Commits

Author SHA1 Message Date
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 9919433095 Refactor term widget 2017-08-08 15:50:12 -04:00
Robin Cornett 68034ae957 Refactor CPT widget 2017-05-19 07:46:11 -04:00
Robin Cornett 99c30452b8 Refactor author widget form 2017-05-18 22:01:20 -04:00
Robin Cornett ef1c110c04 Move image alignment to forms class 2017-05-18 21:55:34 -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 338fc6e41d Move get out of loop
Just safety in case this borks PHP5.2
2.6.3
2017-04-08 15:38:25 -04:00
Robin Cornett 4394e436e2 Update version, readme, .pot 2017-02-17 09:45:38 -05:00
Robin Cornett a47c149919 Update copyright 2017-02-17 09:43:46 -05:00
Robin Cornett 6321d21813 Improve responsive checks
Compare image width AND height to available space and load appropriate images accordingly.
2017-02-08 14:41:15 -05:00
Robin Cornett 460a492acf Add filter for terms list on term image ID 2017-02-07 16:47:41 -05:00
Robin Cornett 5bd8d9b910 Update taxonomy list in helper function
For some reason, this works until 4.8 (currently alpha), at which point
it always returns an empty array for the terms list.
2017-01-20 16:52:10 -05:00
Robin Cornett f8395c8e53 Update version, readme, .pot 2.6.2 2016-12-06 07:44:15 -05:00
Robin Cornett 640f0037b9 Fix archive descriptions for subsequent pages 2016-11-28 09:04:08 -05:00
Robin Cornett 90bbca3d50 Remove entry header markup if it will be empty
Fixes issue #6 by evaluating if the current post type supports
genesis-entry-meta-before-content. If it doesn't, plugin assumes the
entry header will be empty and removes the markup. Includes a filter
to override.
2016-11-27 17:45:18 -05:00
Robin Cornett 67e7ad4e17 Remove early return on term update 2016-11-13 17:38:33 -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 0b0c29b7e7 Change noscript image to image instead of background 2016-11-04 16:03:18 -04:00
Robin Cornett cd898aaed9 Allow users to use image alt instead of title for alt 2016-11-04 16:02:52 -04:00
Robin Cornett fc1522fe6b Update docblocks 2016-10-27 10:14:18 -04:00
Robin Cornett 8dbe122bc2 Remove kses on title due to itemprop stripping
Fixes issue #4.
2016-10-27 10:13:55 -04:00
Robin Cornett ed6b91a82f Add filter to disable responsive images 2016-10-14 09:30:07 -04:00
Robin Cornett cd510b2566 Update upgrade notice 2.6.1 2016-08-19 10:15:55 -04:00
Robin Cornett 6a33c63aef Tweak admin column styles 2016-08-19 08:06:03 -04:00
Robin Cornett 15248de451 Improve term checking
Only update the term metadata if a term exists. Only add to the list if
a term exists.
2016-08-18 14:38:34 -04:00
Robin Cornett 9d97325e12 Change to wp_load_alloptions instead of direct DB query 2016-08-18 09:24:34 -04:00
Robin Cornett 093d590973 Document new filter 2016-08-17 22:28:16 -04:00
Robin Cornett 2a58094b1a Change filter name 2016-08-17 22:28:02 -04:00
Robin Cornett 76f08589f8 Add filter to allow conditional disabling of the output 2016-08-17 21:51:11 -04:00
Robin Cornett cec3de04d6 Update version, readme, .pot 2016-08-17 16:25:49 -04:00
Robin Cornett 016aee4163 Cast term_id as int, escape term option 2016-08-17 15:59:26 -04:00
Robin Cornett 43f9a33630 Make query more specific 2016-08-17 15:58:46 -04:00
Robin Cornett e8bb9d030e Update DB query 2016-08-17 15:16:06 -04:00
Robin Cornett 9c906b4426 Update term meta updater
Conditional not needed as it's only run if the condition is already met.
2016-08-17 15:15:50 -04:00
Robin Cornett 7609740fa7 Set the db query as a class variable so the query only happens once 2016-08-17 12:09:35 -04:00
Robin Cornett 0010799d5e Extract term checker function 2016-08-17 11:34:21 -04:00
Robin Cornett 7ae9dd9979 Mark deprecated function 2016-08-17 10:37:40 -04:00
Robin Cornett f4cb5244f3 Update term notice check 2016-08-17 10:05:24 -04:00
Robin Cornett 2ab8175f14 Check term image check on settings page
Query db directly rather than cycling through all taxonomies/terms in
order to reduce load on server.
2016-08-17 09:49:13 -04:00
Robin Cornett 383d557cbd Update version, readme, .pot 2016-08-16 16:37:03 -04:00
Robin Cornett b1efda929a Only allow max_height to return empty value 2016-08-16 16:33:12 -04:00
Robin Cornett e47b12bc47 Change early return in js 2016-08-05 13:09:31 -04:00
Robin Cornett 21e2bb8624 Fix admin columns on mobile 2016-08-02 10:14:50 -04:00
Robin Cornett 60bf3eb9e2 Allow number fields to be empty 2016-07-16 18:05:19 -04:00
Robin Cornett 080d6adf51 Fix upgrade notice 2.6.0 2016-07-12 11:21:35 -04:00
Robin Cornett 030d4f127d Update version, readme, .pot 2016-07-12 09:53:28 -04: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 2f2f165fd9 Fix search/404 check 2016-07-12 09:49:05 -04:00
Robin Cornett 20604f5a03 Clarify help text on skip setting 2016-07-11 20:23:18 -04:00