lightspeeddevelopment /
lsx
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * The template used for displaying page content in page.php |
||
| 4 | * |
||
| 5 | * @package lsx |
||
| 6 | */ |
||
| 7 | |||
| 8 | ?> |
||
| 9 | |||
| 10 | <?php lsx_entry_before(); ?> |
||
| 11 | |||
| 12 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
||
| 13 | |||
| 14 | <?php lsx_entry_top(); ?> |
||
| 15 | |||
| 16 | <div class="entry-content"> |
||
| 17 | |||
| 18 | <?php lsx_entry_inside_top(); ?> |
||
| 19 | |||
| 20 | <?php |
||
| 21 | the_content(); |
||
| 22 | |||
| 23 | wp_link_pages( array( |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 24 | 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
||
| 25 | 'after' => '</div></div>', |
||
| 26 | 'link_before' => '<span>', |
||
| 27 | 'link_after' => '</span>', |
||
| 28 | ) ); |
||
|
0 ignored issues
–
show
For multi-line function calls, the closing parenthesis should be on a new line.
If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line: someFunctionCall(
$firstArgument,
$secondArgument,
$thirdArgument
); // Closing parenthesis on a new line.
Loading history...
|
|||
| 29 | ?> |
||
| 30 | </div><!-- .entry-content --> |
||
| 31 | |||
| 32 | <?php lsx_entry_bottom(); ?> |
||
| 33 | |||
| 34 | </article><!-- #post-## --> |
||
| 35 | |||
| 36 | <?php |
||
| 37 | lsx_entry_after(); |
||
| 38 |