Commit Graph

157 Commits

Author SHA1 Message Date
Robin Cornett f544a90974 Instantiate description class only as needed 2019-05-13 14:40:02 -04:00
Robin Cornett 97e7df22f7 Add object position to scriptless output 2019-05-13 14:26:02 -04:00
Robin Cornett ed3c2e4130 Add a settings getter to the output class 2019-05-13 14:25:41 -04:00
Robin Cornett 90446d9229 Update settings getter to include optional parameter 2019-05-13 14:05:15 -04:00
Robin Cornett 52f77c18fd Add minified scripts 2019-05-13 10:30:54 -04:00
Robin Cornett 1e0af5207c Add phpcs note 2019-05-12 18:17:08 -04:00
Robin Cornett 3cbed34ba2 Remove unnecessary image div 2019-05-12 17:46:49 -04:00
Robin Cornett 0489695e64 Improve scriptless CSS 2019-01-10 12:34:08 -05:00
Robin Cornett ee7d4bc7cd Add potential scriptless banner option 2018-12-05 15:29:32 -05:00
Robin Cornett d6ec79afff Separate scripts and output 2018-11-14 16:41:56 -05:00
Robin Cornett 5bfe50e66c Fix inline style sanitization 2018-11-14 16:40:55 -05:00
Robin Cornett 857e50dcf7 Update backstretch script 2018-05-07 10:06:30 -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 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 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 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 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 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 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 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 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 822174817d Add backstretch variables to settings page
Image centering/fade values for javascript. Includes radio buttons and
making a new style tab.
2016-07-06 09:42:48 -04:00
Robin Cornett 13c4d67e4f Update/add doc blocks 2016-07-03 07:42:41 -04:00
Robin Cornett 30680f0787 Fix inline style 2016-07-02 14:11:23 -04:00
Robin Cornett 1a69832c07 Add max-height setting/CSS via inline style 2016-07-02 09:13:30 -04:00
Robin Cornett 5b78206179 Add alt attribute to backstretch image 2016-06-24 13:02:39 -04:00
Robin Cornett e71746840f Fix post_meta check
Now works on posts page also.
2016-06-21 21:14:06 -04:00
Robin Cornett 3b523ec4da Add per post setting to not move title on backstretch images 2016-06-21 10:48:17 -04:00
Robin Cornett 0e57af7989 Fix large image size filter
Pull from based image size filter rather than override it.
2016-05-19 16:31:30 -04:00
Robin Cornett 2f8a1b9b34 Refactor filter to move large image
This may affect existing sites, so not sure if it will stay in.
2016-05-09 14:54:08 -04:00
Robin Cornett fbe3ec197f Fix conditionals to prevent plugin output early 2016-04-04 10:43:54 -04:00
Robin Cornett 7fb24b1086 Add post_meta to disable on a per post basis 2016-04-03 15:31:17 -04:00
Robin Cornett 0c966656fe Clean up js 2016-04-02 12:05:19 -04:00
Robin Cornett 648a6317a9 Update readme/copyright 2016-04-01 20:18:20 -04:00
Robin Cornett 38e078859d Add setting to skip featured image output for custom content types 2016-03-31 11:37:21 -04:00
Robin Cornett 963a170e4c Change variable names for sanity 2016-03-31 11:35:12 -04:00
Robin Cornett 5925672258 Add a filter for the large image size 2016-03-19 20:26:53 -04:00
Robin Cornett 0778777368 Add setting to use term/cpt images as fallbacks for archive thumbnails 2016-03-07 13:08:59 -05:00
Robin Cornett 00bf7ad209 Fix image source if image size isn't present 2016-02-23 13:12:43 -05:00