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