Commit Graph

37 Commits

Author SHA1 Message Date
Robin Cornett 62c33cb8c7 Use new function to retrieve plugin settings 2016-04-30 13:57:52 -04:00
Robin Cornett 648a6317a9 Update readme/copyright 2016-04-01 20:18:20 -04:00
Robin Cornett 92d15eee2a Update term meta retrieval method
Necessary for G 2.2.7. This maintains backwards compatibility for users
running earlier WP/G versions.
2016-03-02 21:44:01 -05:00
Robin Cornett 0b3864abd5 Fix filter location 2016-02-23 08:03:54 -05:00
Robin Cornett be876f703e Add helper function to get the plugin setting 2016-02-23 08:03:13 -05:00
Robin Cornett 70cb467c7e Add filter to create a conditional to check if the plugin can run 2016-01-17 11:40:58 -05:00
Robin Cornett 2ef18bf587 Rename helper function for consistency 2015-12-07 12:50:00 -05:00
Robin Cornett a6e3bf9a1a Fix term image function in case term images are URLs, not ID 2015-11-19 14:34:52 -05:00
Robin Cornett 52f899430f correctly delete empty term_meta 2015-11-17 17:46:38 -05:00
Robin Cornett 362a25a40d Fix term_meta
4.3 backwards compat things
2015-11-17 16:50:44 -05:00
Robin Cornett 37422ecc0b Add term_meta support
Includes new helper function to retrieve a term image_id
2015-11-17 16:37:22 -05:00
Robin Cornett fbac6c2ab3 Add backwards compatibility check helper function 2015-08-15 15:18:27 -04:00
Robin Cornett c58cc69648 Revert to static functions
(backwards compatible)
2015-06-06 21:30:42 -04:00
Robin Cornett 93b7c5aa35 Clean up static methods
Needs lots more testing
2015-06-03 14:36:16 -04:00
Robin Cornett 9fcd6c7f21 Fix default image ID helper function 2015-05-09 10:00:14 -04:00
Robin Cornett 9bdca7944f escape more things #WWGJD 2015-05-07 20:36:35 -04:00
Robin Cornett a262521ffc revise archive thumbnail helper function 2015-05-03 14:23:38 -04:00
Robin Cornett 6787b96354 Fix post_parent call 2015-04-27 11:59:47 -04:00
Robin Cornett 4da66b80ee fix archive thumbnails
If a post has an image attached (uploaded to that post), Genesis uses
that for the archive, which results in a duplicate image. This now
outputs a term/CPT image only if the post has no attached image.
2015-04-27 11:26:29 -04:00
Robin Cornett e527557810 escape all the things 2015-04-24 17:02:47 -04:00
Robin Cornett df891465b3 escaping many things (#WWGJD) 2015-04-19 16:27:57 -04:00
Robin Cornett 9524139621 change term/cpt/default image to use ID 2015-03-23 11:51:45 -04:00
Robin Cornett b796de4998 fix archive thumbnail helper
Add check to see if featured image is set to display.
2015-03-17 10:13:43 -04:00
Robin Cornett 951c846bfa Change archive thumbnail helper function
Makes the image output match Genesis image by including alt tag, updated
class, itemprop.
2015-03-12 09:47:24 -04:00
Robin Cornett cf76c3e554 fix CPT image helper function 2015-03-05 09:21:01 -05:00
Robin Cornett e189ec78dd Add 404 to disallowed cpt/term images 2015-03-03 16:28:19 -05:00
Robin Cornett 5b23664fc8 Add early return for admin 2015-03-02 11:36:14 -05:00
Robin Cornett 2da37bbd79 Simplify archive helper function 2015-03-01 14:41:46 -05:00
Robin Cornett c8aae0370f Fix array for term/default archive image 2015-02-28 19:54:58 -05:00
Robin Cornett 7180c64f43 Fix array for get CPT image 2015-02-28 19:54:37 -05:00
Robin Cornett 0ad46dd3f9 fix cpt array 2015-02-27 10:14:23 -05:00
Robin Cornett 6c1b7e58cb add CPT images to helper functions 2015-02-26 17:55:06 -05:00
Robin Cornett 3408fa62b6 add filter to archive thumb helper 2015-02-26 15:38:22 -05:00
Robin Cornett fcc0021a45 Simplify image variables 2015-02-26 15:38:01 -05:00
Robin Cornett 55592f1303 add more helper functions
Functions to retrieve term image ID, URL, fallback image ID, URL, and
function to display term/fallback image as post thumbnail on archives.
2015-02-26 12:10:28 -05:00
Robin Cornett 24a3836466 update docs, tentative 2.1.0 2015-02-18 18:28:07 -05:00
Robin Cornett 99bee2077c add helper functions
currently just get term image for single posts.
2015-02-16 13:23:45 -05:00