Commit Graph

68 Commits

Author SHA1 Message Date
Robin Cornett c58cc69648 Revert to static functions
(backwards compatible)
2015-06-06 21:30:42 -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 90bdeccf37 add hooks for before/after overlay title/excerpt 2015-05-26 17:01:28 -04:00
Robin Cornett 4bff9bc7ae there is always more to escape 2015-05-08 09:32:50 -04:00
Robin Cornett cb643f8520 Fix no-js image 2015-05-07 21:18:39 -04:00
Robin Cornett 9bdca7944f escape more things #WWGJD 2015-05-07 20:36:35 -04:00
Robin Cornett e527557810 escape all the things 2015-04-24 17:02:47 -04:00
Robin Cornett 5555fb2f30 set fallback value for is_paged variable 2015-04-21 14:39:26 -04:00
Robin Cornett 181af10c6a escape correctly 2015-04-20 17:01:47 -04:00
Robin Cornett ad090ce1df add filter to conditionally not move titles 2015-04-18 09:00:26 -04:00
Robin Cornett a68e201116 add blog page 2+ setting
originally the featured image doesn't show on subsequent pages, but some
people might want it to. needs documentation.
2015-04-09 22:16:36 -04:00
Robin Cornett df97e4c214 fix skipped post type array 2015-04-07 12:07:20 -04:00
Robin Cornett 413f53fb27 remove unnecessary title tag from large image 2015-04-05 20:40:35 -04:00
Robin Cornett 4e44cdd552 add filter for minimum backstretch width 2015-03-22 16:34:25 -04:00
Robin Cornett 5020f64cf9 fix class for subsequent pages 2015-03-20 11:25:10 -04:00
Robin Cornett 94ca61c0e6 add filter for backstretch title 2015-03-14 11:37:32 -04:00
Robin Cornett bf5189d95d add filter to always force backstretch
would not advise using this but less invasive than having a user change
large image setting
2015-03-14 11:36:21 -04:00
Robin Cornett a816a305f7 sanitize width 2015-02-27 10:13:13 -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 f9dfc8e1b8 clarify comments, esc_url 2015-02-13 17:03:32 -05:00
Robin Cornett c473bc13ff add filters for backstretch settings 2015-02-13 14:54:25 -05:00
Robin Cornett a966b3c5f6 add apply_filters for body classes 2015-02-12 19:18:11 -05:00
Robin Cornett 145185b421 add filter for css 2015-02-10 17:32:13 -05:00
Robin Cornett 0f250a731f add filter for backstretch image action 2015-02-10 16:54:40 -05:00
Robin Cornett 1616e82d5c move localize to big leader output
makes more sense here
2015-02-10 16:54:13 -05:00
Robin Cornett 6555202596 add a filter for large image output 2015-02-10 14:59:15 -05:00
Robin Cornett ee62790829 add HTML5 itemprop to headlines 2015-02-05 18:35:10 -05:00
Robin Cornett d004d8a9e9 change singular title output to have html5 markup 2015-02-05 18:06:09 -05:00
Robin Cornett 0511b4f27f tag as 2.0.0 2015-01-10 10:45:16 -05:00
Robin Cornett 8f56924f84 enable large (in addition to backstretch) images for archives 2015-01-09 15:36:47 -05:00
Robin Cornett d7b866653b fix escaping titles
EDD outputs a span in titles. escaping outputs the markup.
2015-01-09 12:55:11 -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 4e923f99ac add filter to move large image to after header on single posts 2015-01-04 16:03:18 -05:00
Robin Cornett 83d8233dc5 remove image from page 2+ on blogs/archives 2015-01-04 16:02:16 -05:00
Robin Cornett 1d5bd646f2 remove early return condition for fallback image
had bailed early if no fallback, or if not a singular page/post
2014-12-31 08:32:17 -05:00
Robin Cornett 5dab26b927 add new setting to optionally not move titles 2014-12-15 10:03:47 -05:00
Robin Cornett 7e67eac6e4 add class for RSS work
extracted RSS filters from output class and created new RSS class.
2014-12-12 10:08:00 -05:00
Robin Cornett d7c366535f modify feed output if featured image exists in post 2014-12-10 19:33:22 -05:00
Robin Cornett 938514cf64 add rss output functions
Checks Settings > Reading. If full text is selected, large image is added to entry content.
If Send Images to RSS plugin is active, email size image is added to entry content.
If Summary is selected, thumbnail is added to description (excerpt).
2014-12-10 17:04:10 -05:00
Robin Cornett 6241876601 add fallback if user has javascript disabled 2014-12-08 13:26:47 -05:00
Robin Cornett 545ab8f098 tidy comments 2014-12-08 13:25:52 -05:00
Robin Cornett 4b8f0b5181 large image output 2014-11-18 21:01:25 -05:00
Robin Cornett f32f3074d7 different metadata function to play nice with Photon 2014-11-18 19:48:16 -05:00
Robin Cornett 8b5e4ef970 large images handled correctly
using $item for source, and adding before loop instead of before entry
2014-11-18 19:47:20 -05:00
Robin Cornett 01eeb6d588 set plugin version as variable for enqueues to use 2014-11-18 09:33:20 -05:00
Robin Cornett 17b8147625 unnecessary global 2014-11-18 09:32:45 -05:00
Robin Cornett 5325d23a7c early return if no image, or image is too small
simplified later conditionals as well
2014-11-17 13:54:12 -05:00
Robin Cornett 74992faa23 Genesis blog template 2014-11-11 16:59:09 -05:00
Robin Cornett 49a22a4285 early return if in admin 2014-11-06 16:23:41 -05:00