Issues (311)

template-parts/content-page.php (11 issues)

Labels
Severity
1
<?php
2
/**
3
 * Template part for displaying page content in page.php
4
 *
5
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
6
 *
7
 * @package DesignFly
8
 */
9
10
?>
11
12
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
0 ignored issues
show
The function the_ID 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

12
<article id="post-<?php /** @scrutinizer ignore-call */ the_ID(); ?>" <?php post_class(); ?>>
Loading history...
The function post_class 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

12
<article id="post-<?php the_ID(); ?>" <?php /** @scrutinizer ignore-call */ post_class(); ?>>
Loading history...
13
	<header class="entry-header">
14
		<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
0 ignored issues
show
The function the_title 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

14
		<?php /** @scrutinizer ignore-call */ the_title( '<h1 class="entry-title">', '</h1>' ); ?>
Loading history...
15
	</header><!-- .entry-header -->
16
17
	<?php designfly_post_thumbnail(); ?>
18
19
	<div class="entry-content">
20
		<?php
21
		the_content();
0 ignored issues
show
The function the_content 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

21
		/** @scrutinizer ignore-call */ 
22
  the_content();
Loading history...
22
23
		wp_link_pages( array(
0 ignored issues
show
The function wp_link_pages 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

23
		/** @scrutinizer ignore-call */ 
24
  wp_link_pages( array(
Loading history...
24
			'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'designfly' ),
0 ignored issues
show
The function esc_html__ 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

24
			'before' => '<div class="page-links">' . /** @scrutinizer ignore-call */ esc_html__( 'Pages:', 'designfly' ),
Loading history...
25
			'after'  => '</div>',
26
		) );
27
		?>
28
	</div><!-- .entry-content -->
29
30
	<?php if ( get_edit_post_link() ) : ?>
0 ignored issues
show
The function get_edit_post_link 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

30
	<?php if ( /** @scrutinizer ignore-call */ get_edit_post_link() ) : ?>
Loading history...
31
		<footer class="entry-footer">
32
			<?php
33
			edit_post_link(
0 ignored issues
show
The function edit_post_link 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

33
			/** @scrutinizer ignore-call */ 
34
   edit_post_link(
Loading history...
34
				sprintf(
35
					wp_kses(
0 ignored issues
show
The function wp_kses 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

35
					/** @scrutinizer ignore-call */ 
36
     wp_kses(
Loading history...
36
						/* translators: %s: Name of current post. Only visible to screen readers */
37
						__( 'Edit <span class="screen-reader-text">%s</span>', 'designfly' ),
0 ignored issues
show
The function __ 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

37
						/** @scrutinizer ignore-call */ 
38
      __( 'Edit <span class="screen-reader-text">%s</span>', 'designfly' ),
Loading history...
38
						array(
39
							'span' => array(
40
								'class' => array(),
41
							),
42
						)
43
					),
44
					get_the_title()
0 ignored issues
show
The function get_the_title 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

44
					/** @scrutinizer ignore-call */ 
45
     get_the_title()
Loading history...
45
				),
46
				'<span class="edit-link">',
47
				'</span>'
48
			);
49
			?>
50
		</footer><!-- .entry-footer -->
51
	<?php endif; ?>
52
</article><!-- #post-<?php the_ID(); ?> -->
53