sewmyheadon /
spurs
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * The template for displaying all pages. |
||
| 4 | * |
||
| 5 | * This is the template that displays all pages by default. |
||
| 6 | * Please note that this is the WordPress construct of pages |
||
| 7 | * and that other 'pages' on your WordPress site will use a |
||
| 8 | * different template. |
||
| 9 | * |
||
| 10 | * @package spurs |
||
| 11 | */ |
||
| 12 | // Exit if accessed directly. |
||
| 13 | defined( 'ABSPATH' ) || exit; |
||
| 14 | if ( is_front_page() ) : |
||
| 15 | get_template_part( 'templates/global/hero' ); |
||
| 16 | endif; |
||
| 17 | |||
| 18 | while ( have_posts() ) : the_post(); |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 19 | get_template_part( 'templates/loop/content', 'page' ); |
||
| 20 | endwhile; // end of the loop. |
||
| 21 |