Completed
Push — master ( 494c8f...845a20 )
by SILENT
02:16
created

content-gallery.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Template part for displaying the gallery post format
4
 *
5
 * @package WordPress
6
 * @subpackage Strip
7
 */
8
9
?>
10
11
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12
	<div class="entry-wrap wrap clear">
13
14
<?php if ( '' !== get_the_post_thumbnail() ) :
15
	the_post_thumbnail( 'strip-featured-thumbnail' );
0 ignored issues
show
The function the_post_thumbnail was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

15
	/** @scrutinizer ignore-call */ 
16
 the_post_thumbnail( 'strip-featured-thumbnail' );
Loading history...
16
endif; ?>
17
18
		<header class="entry-header">
19
	<?php
20
				$categories_list = get_the_category_list( __( ', ', 'strip' ) );
21
22
	if ( ! is_single() ) :
23
		the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
24
	else :
25
					the_title( '<h1 class="entry-title">', '</h1>' );
26
	endif; ?>
27
28
		<div class="entry-content clear">
29
	<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
30
31
		</div><!-- .entry-content -->
32
		</header><!-- .entry-header -->
33
34
		<footer class="entry-meta">
35
	<?php strip_entry_meta(); ?>
36
37
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'gallery' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'gallery' ) ); ?></a></span>
38
39
	<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
40
		</footer><!-- .entry-meta -->
41
42
	<?php if ( has_excerpt() ) : ?>
43
		<div class="entry-summary">
44
	<?php do_action( 'strip_formatted_posts_excerpt_before' ); ?>
45
	<?php the_excerpt(); ?>
46
	<?php do_action( 'strip_formatted_posts_excerpt_after' ); ?>
47
		</div><!-- .entry-caption -->
48
	<?php endif; ?>
49
50
	</div><!-- .entry-wrap -->
51
</article><!-- #post-## -->
52