[ create a new paste ] login | about

Link: http://codepad.org/CzoRLf3k    [ raw code | fork ]

PHP, pasted on Oct 28:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
		<div class="post-thumbnail-container">

			<a href="<?php echo esc_url( get_permalink( $post->ID ) ) ?>" title="<?php echo esc_attr( get_post_field( 'post_title', $post->ID ) ) ?>"
				<?php cryout_echo_bgimage( $featured_image_url, 'post-featured-image' ) ?>>

			</a>
			<a class="responsive-featured-image" href="<?php echo esc_url( get_permalink( $post->ID ) ) ?>" title="<?php echo esc_attr( get_post_field( 'post_title', $post->ID ) ) ?>"
				<?php cryout_schema_microdata( 'image' ); ?>>
				<img class="post-featured-image" alt="<?php the_title_attribute();?>" <?php cryout_schema_microdata( 'url' ); ?>
				src="<?php echo $featured_image_url; ?>" srcset="<?php if ($use_srcset) echo cryout_get_featured_srcset(
						get_post_thumbnail_id( $post->ID ),
						array(  'anima-featured',
								'anima-featured-full',
								'anima-featured-half',
								'anima-featured-third' )
						) ?>" sizes="<?php if ($use_srcset) echo cryout_gen_featured_sizes( anima_featured_width(), $options['anima_magazinelayout'], $options['anima_landingpage'] ) ?>"/>
				<meta itemprop="width" content="<?php echo absint( $featured_image_w ); ?>">
				<meta itemprop="height" content="<?php echo absint( $featured_image_h ); ?>">
			</a>
			<div class="entry-meta featured-image-meta"><?php cryout_featured_meta_hook(); ?></div>
		</div>


Create a new paste based on this one


Comments: