src/theme/index.php
Each PHP statement must be on a line by itself Open
Open
<?php previous_posts_link(); \enigma\Content::Pagebar(); next_posts_link(); ?> </div>
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
<?php
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( $wp_query->max_num_pages > 1 ) :
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
endif;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
<?php previous_posts_link(); \enigma\Content::Pagebar(); next_posts_link(); ?> </div>
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<?php echo $post_vars['meta']; if ( comments_open() ) : ?>
- Exclude checks
Each PHP statement must be on a line by itself Open
Open
<?php previous_posts_link(); \enigma\Content::Pagebar(); next_posts_link(); ?> </div>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php while(have_posts()): the_post(); ?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php echo $post_vars['thumbnail'] ?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<article <?php post_class($post_vars['class']); ?> <?php echo $post_vars['css'] ?>>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php echo apply_filters( 'the_content', $post_vars['content'] ); ?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$format = get_post_format();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$post_vars = \enigma\Content::get_post_vars( $format );
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php echo $post_vars['headline']; ?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<span class="category enigma-icon" data-icon="<?php echo $post_vars['category_symbol']; ?>"></span>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<div class="modifyme">
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php endif; ?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if ( $wp_query->max_num_pages > 1 ) :
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<div class="post-meta">
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<article <?php post_class(); ?>>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<span class="category pagebar-category enigma-icon" data-icon=""></span><div class="pagebar">
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php echo $post_vars['meta']; if ( comments_open() ) : ?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<span class="category enigma-icon" data-icon="" aria-hidden="true"></span>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</div>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</article>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<span class="post-meta-comments"><?php comments_popup_link(); ?></span>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</div>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<div class="modifyme">
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
global $wp_query;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</div>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</article>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php endwhile; ?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<h2><?php esc_html_e('Couldn\'t find any articles!', 'e.nigma-2015'); ?></h2>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php previous_posts_link(); \enigma\Content::Pagebar(); next_posts_link(); ?> </div>
- Exclude checks
Newline required after opening brace Open
Open
<?php while(have_posts()): the_post(); ?>
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php if (have_posts()): ?>
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$post_vars = \enigma\Content::get_post_vars( $format );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$post_vars = \enigma\Content::get_post_vars( $format );
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php while(have_posts()): the_post(); ?>
- Exclude checks
Expected 1 space after WHILE keyword; 0 found Open
Open
<?php while(have_posts()): the_post(); ?>
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<?php echo apply_filters( 'the_content', $post_vars['content'] ); ?>
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<?php echo apply_filters( 'the_content', $post_vars['content'] ); ?>
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
if ( $wp_query->max_num_pages > 1 ) :
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
<?php echo $post_vars['meta']; if ( comments_open() ) : ?>
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( $wp_query->max_num_pages > 1 ) :
- Exclude checks