Commit Graph

103 Commits

Author SHA1 Message Date
Robin Cornett dff75e382c Update version/readme 2015-09-08 13:40:07 -04:00
Robin Cornett 26803d1718 Update docs and tags 2015-09-01 14:27:10 -04:00
Robin Cornett 536bd5f6f5 updated readme, version 2015-08-31 18:27:43 -04:00
Robin Cornett fbac6c2ab3 Add backwards compatibility check helper function 2015-08-15 15:18:27 -04:00
Robin Cornett d6b9841841 Remove unused variables 2015-08-15 10:20:20 -04:00
Robin Cornett dcdf6e383d Fix image source check 2015-08-11 08:36:43 -04:00
Robin Cornett c07b372252 Use smaller image for smaller screens 2015-07-27 16:11:01 -04:00
Robin Cornett 92d7330565 Fix posts page fallback 2015-07-27 16:08:33 -04:00
Robin Cornett 88489af7cf Fix author image 2015-07-26 16:44:11 -04:00
Robin Cornett 41ac3732cd Provisional tag 2.3.0 2015-07-12 11:35:08 -04:00
Robin Cornett 167dafb579 Fix call to protected static method 2015-06-12 08:30:47 -04:00
Robin Cornett ce287b0f2c Set post archive image 2015-06-08 15:22:35 -04:00
Robin Cornett d84de9c6c4 Move image_id filter back to set_image_id function
This way, it cannot completely override other filters, even if it's
accidentally coded that way, but will still override post/term images.
2015-06-08 15:22:17 -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 837c8bb761 Fix $image_id filter 2015-06-06 18:01:07 -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 682b6d9d03 Strict standards 2015-05-30 10:27:08 -04:00
Robin Cornett 79d672f623 Remove unnecessary statics 2015-05-30 09:50:56 -04:00
Robin Cornett 9fcd6c7f21 Fix default image ID helper function 2015-05-09 10:00:14 -04:00
Robin Cornett d95d99e7bd Update version number 2015-05-07 20:39:19 -04:00
Robin Cornett 9f97e65e88 Fix image_id sequence (term image) 2015-05-07 19:00:06 -04:00
Robin Cornett 80ff36a732 Fix term image filter 2015-05-06 15:23:50 -04:00
Robin Cornett f1607e243e Fix a11y 2015-05-06 13:18:42 -04:00
Robin Cornett 096600c69d Add a11y support 2015-05-06 13:05:01 -04:00
Robin Cornett 6649e1ea5f add a CPT image filter 2015-05-05 12:50:19 -04:00
Robin Cornett 70a1498e5f Refactor title to new function 2015-05-05 12:50:02 -04:00
Robin Cornett f698c47dbd Refactor image ID function 2015-05-05 12:19:08 -04:00
Robin Cornett 580869641f Refactor get_image_id
Sets a fallback if original image has number pattern like WP's resized
images in the URL. Mad props to @hellofromtonya to abstract the SQL
query and make it more efficient.
2015-04-29 15:02:35 -04:00
Robin Cornett dca2a33929 add filter for alternate image_id 2015-04-25 17:08:11 -04:00
Robin Cornett e527557810 escape all the things 2015-04-24 17:02:47 -04:00
Robin Cornett 99138620ce add check for image_id in get_image_id
So if someone is using the function elsewhere, it won't break with a new
term/cpt/default featured image.
2015-04-10 21:28:23 -04:00
Robin Cornett aa96b77f25 document is_numeric 2015-04-09 22:15:41 -04:00
Robin Cornett 6dcccca6ea update version number
(cache busting)
2015-03-23 13:28:09 -04:00
Robin Cornett 691a1eb87e fix numeric check 2015-03-23 12:16:57 -04:00
Robin Cornett 9524139621 change term/cpt/default image to use ID 2015-03-23 11:51:45 -04:00
Robin Cornett 64bfa88ca4 update get_image_id 2015-03-23 10:10:32 -04:00
Robin Cornett 4e44cdd552 add filter for minimum backstretch width 2015-03-22 16:34:25 -04:00
Robin Cornett 18a6b28184 fix CPT image retrieval 2015-03-04 08:51:22 -05:00
Robin Cornett e189ec78dd Add 404 to disallowed cpt/term images 2015-03-03 16:28:19 -05:00
Robin Cornett 4ef185d31a fix function name 2015-02-27 10:12:47 -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 fcc0021a45 Simplify image variables 2015-02-26 15:38:01 -05:00
Robin Cornett 24a3836466 update docs, tentative 2.1.0 2015-02-18 18:28:07 -05:00
Robin Cornett 1dba657602 fix CPT archive title 2015-02-18 18:27:39 -05:00
Robin Cornett 99bee2077c add helper functions
currently just get term image for single posts.
2015-02-16 13:23:45 -05:00
Robin Cornett b03427509b change how images are assigned 2015-02-15 20:57:24 -05:00
Robin Cornett 3e7171eae1 refactor titles/descriptions 2015-02-13 17:06:03 -05:00
Robin Cornett 90d077f107 change term_image check to safer ! empty 2015-02-10 13:38:15 -05:00