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
Robin Cornett
af88778546
set the CPT image as an intermediate fallback for a taxonomy term
2015-02-09 18:39:00 -05:00
Robin Cornett
85a4906eaf
fix taxonomy term image if a term image has been deleted
2015-02-06 12:42:21 -05:00
Robin Cornett
ee62790829
add HTML5 itemprop to headlines
2015-02-05 18:35:10 -05:00
Robin Cornett
cc870a11ea
fix $image_id variable for CPT
...
If a CPT doesn't have an image assigned, the fallback will be used.
2015-01-28 11:02:41 -05:00
Robin Cornett
d5efd2464a
fix variable for CPT
2015-01-20 13:24:32 -05:00
Robin Cornett
f66959f4f5
add filter to force large image use
...
added for Craig. Required going back to using actual item to
determine width instead of using image metadata. Should still be OK with
Photon but worth checking.
2015-01-13 22:18:47 -05:00
Robin Cornett
0511b4f27f
tag as 2.0.0
2015-01-10 10:45:16 -05:00
Robin Cornett
4ee75055c8
fix is_singular conditional (again)
2015-01-10 10:26:52 -05:00
Robin Cornett
6420d8fc1f
fix is_singular conditional
2015-01-10 10:15:12 -05:00
Robin Cornett
09793cd4a6
fix image_id setting if no post thumbnail
2015-01-08 13:24:54 -05:00
Robin Cornett
9b5da50918
updated term option for uniqueness
2015-01-07 19:08:49 -05:00
Robin Cornett
606bfc8075
integrate apply_filters to relevant places
...
reduces number of functions created
2015-01-05 11:04:44 -05:00