Commit Graph

59 Commits

Author SHA1 Message Date
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
Robin Cornett 8d357c56ae simplify post_types array for filters
(call just once)
2015-01-04 22:39:12 -05:00
Robin Cornett 4e923f99ac add filter to move large image to after header on single posts 2015-01-04 16:03:18 -05:00
Robin Cornett ad325cd07f fixed tax/cpt image variable settings 2015-01-04 16:01:11 -05:00
Robin Cornett 0f6d537c40 fixed cpt image setting for output 2015-01-03 18:38:22 -05:00
Robin Cornett a475716d5a working cpt archive images
including sanitization! although the sanitized images all revert to the
last valid fallback value, which is not correct. May be better to revert
to blank?
2015-01-03 17:43:18 -05:00
Robin Cornett 3e341912fc add cpt image to available images 2015-01-03 09:10:38 -05:00
Robin Cornett d233ca773f add break after a taxonomy image is found
(we only need one, even if a post has multiple terms)
2015-01-02 17:47:28 -05:00
Robin Cornett 1481511e4e preemptively set backstretch variable
this may be unnecessary as it appears to return false if empty anyway
2015-01-02 17:03:27 -05:00
Robin Cornett 88f18fd6c0 add a new filter to use taxonomy image instead of post thumbnail 2015-01-02 16:35:26 -05:00
Robin Cornett 96e7823208 fix where fallback filter is applied on single posts 2015-01-02 16:34:42 -05:00
Robin Cornett 21786d2f03 change get_object_terms to get the image from most used taxonomy 2015-01-01 10:56:51 -05:00
Robin Cornett faa88f04f3 add sort taxonomies by taxonomy, then term
need to decide if this is helpful for items with multiple terms/taxes
assigned. Think in this case, the user will have to pick a featured
image for the singular post anyway if they really care which one gets
assigned.
2014-12-31 17:03:35 -05:00
Robin Cornett f29cfcba9b use get_post only for checking post_content 2014-12-31 11:00:36 -05:00
Robin Cornett 6221d8d0a9 change to get_the_ID instead of $post 2014-12-31 11:00:15 -05:00
Robin Cornett 6fa66873db remove global $post 2014-12-31 10:51:39 -05:00
Robin Cornett 1a4adac350 fix image selection for is_singular()
if there is no post thumbnail, but a taxonomy has a featured image, then
use that. otherwise, if a fallback image exists.
2014-12-31 10:41:39 -05:00
Robin Cornett c5acb81938 add tax image if there is no featured image
needs checking to see what happens if there is no tax image, but there
is a fallback image
2014-12-31 10:02:02 -05:00
Robin Cornett ad47e48784 move taxonomy image declaration ahead of single posts 2014-12-31 08:31:23 -05:00
Robin Cornett afa91f00cf add taxonomy image to common class parameters
need to decide about using tax image if a fallback image is needed, or
exists.
2014-12-30 17:12:21 -05:00
Robin Cornett 8a715934ec updated version to 1.5.0 2014-12-13 10:03:55 -05:00
Robin Cornett 199ed95d0a remove Photon filter ONLY if active 2014-11-19 13:31:10 -05:00
Robin Cornett 0a77b3d3fa remove photon filter 2014-11-19 09:43:44 -05:00
Robin Cornett 12bf157d33 photon metadata fix 2014-11-18 21:00:56 -05:00
Robin Cornett f32f3074d7 different metadata function to play nice with Photon 2014-11-18 19:48:16 -05:00
Robin Cornett 1cab48996b @since for version 2014-11-18 10:54:48 -05:00
Robin Cornett a39a6f34dc version 1.4.3 2014-11-18 10:45:59 -05:00
Robin Cornett 01eeb6d588 set plugin version as variable for enqueues to use 2014-11-18 09:33:20 -05:00
Robin Cornett 735f0e95e0 better variable setting 2014-11-17 13:51:44 -05:00
Robin Cornett 9193569ce1 edge case, 404 to use fallback 2014-11-06 22:02:48 -05:00
Robin Cornett 16a6f9dca1 better variable handling
better image in content check
2014-11-06 15:56:48 -05:00
Robin Cornett 4dc5f52e54 plugin settings revised
changed from setting many individual settings to one which uses an array. If anyone other than me was using the develop branch of the plugin, I apologize.
2014-11-04 21:14:33 -05:00
Robin Cornett 73a77a6a61 new setting (exclude front page) 2014-11-03 14:06:24 -05:00