Commit Graph

596 Commits

Author SHA1 Message Date
Robin Cornett cea3f75341 Add advanced settings 2017-10-31 19:47:25 -04:00
Robin Cornett 8e75c8572c Change method to get backstretch width 2017-10-31 17:46:44 -04:00
Robin Cornett 1066d96d54 Update readme, version, .pot 2017-10-31 17:24:14 -04:00
Robin Cornett 0a6fb4973f Deprecate function to convert image URL to ID
We've been storing images by ID since 2.2.0 so I'd like to get rid of this.
2017-10-31 17:22:57 -04:00
Robin Cornett 454320202c Fix admin column display on mobile 2017-10-26 17:51:48 -04:00
Robin Cornett ab33f0edbf Update backstretch alignment 2017-10-25 14:35:18 -04:00
Robin Cornett d45f6315d3 Update backstretch script 2017-10-25 14:09:39 -04:00
Robin Cornett 9fa9d96773 Update CPT image settings 2017-10-25 13:57:19 -04:00
Robin Cornett 776aa0d192 Add posts featured image if no blog page is set 2017-10-25 12:33:45 -04:00
Robin Cornett 0da84e5bf4 Update shortcodes dropin 2017-10-25 12:00:55 -04:00
Robin Cornett 8fc9cf880e Fix validation 2017-10-25 11:34:58 -04:00
Robin Cornett 78889bb8ec Updaet settings descriptions 2017-10-25 11:27:19 -04:00
Robin Cornett 2028fc8e95 Move settings definitions to new class 2017-10-25 11:13:39 -04:00
Robin Cornett 901a3061ad Fix missing term validation functions 2017-10-25 10:56:16 -04:00
Robin Cornett d82d5e64aa Move settings files to settings folder 2017-10-25 10:47:11 -04:00
Robin Cornett 6d13d60a80 Fix/refactor settings page
Fixes incorrect dockblocks, WPCS.
Simplifies field definitions by using field as args.
2017-10-25 10:40:17 -04:00
Robin Cornett e0fc3766f7 Move term meta check to new class 2017-10-25 10:08:12 -04:00
Robin Cornett 7775429ad1 Move settings validation to new class 2017-10-25 10:07:40 -04:00
Robin Cornett 85fdcbef99 Fix checkbox array validation 2017-10-24 18:10:12 -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 18910c50ce Update admin class docblocks 2017-10-20 14:25:39 -04:00
Robin Cornett d4b276db76 Update hook filters for image output
(backwards compatible)
2017-10-20 14:25:11 -04:00
Robin Cornett 0f179d5cc9 Add getters for common class, item 2017-09-30 19:04:47 -04:00
Robin Cornett cf971bfb35 Fix duplicate titles w/excerpts & no title 2017-09-27 08:07:38 -04:00
Robin Cornett 9a91be256f Update post types check for admin columns 2017-09-12 14:18:31 -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 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
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 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 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