Skip to content

Commit ddab586

Browse files
committed
code formatting
1 parent 74007f1 commit ddab586

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

page.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,58 +6,58 @@
66
*/
77
get_header();
88
echo '<!-- google_ad_section_start-->';
9-
if (have_posts()) {
10-
while (have_posts()) {
9+
if ( have_posts() ) {
10+
while ( have_posts() ) {
1111
the_post();
12-
get_template_part('featuredposts');
13-
get_template_part('featuredimage');
12+
get_template_part( 'featuredposts' );
13+
get_template_part( 'featuredimage' );
1414
echo '<div id="post-' . get_the_ID() . '" ';
15-
echo post_class("post");
15+
echo post_class( 'post' );
1616
echo '>';
17-
get_template_part('breadcrumb');
17+
get_template_part( 'breadcrumb' );
1818
?>
1919
<div class="container">
2020
<div class="col-sm-12 col-md-12 col-lg-12">
2121
<?php
22-
if ($values = get_post_custom_values("leadvideo")) {
22+
if ( $values = get_post_custom_values( 'leadvideo' ) ) {
2323
echo '<iframe width="100%" height="400" src="//www.youtube.com/embed/';
2424
echo $values[0];
2525
echo '" frameborder="0" allowfullscreen></iframe>';
2626
}
27-
remove_filter('the_content', 'sharing_display', 19);
28-
remove_filter('the_excerpt', 'sharing_display', 19);
29-
the_content("<p class=\"serif\">" . 'Read the rest of this page' . " &raquo;</p>");
30-
wp_link_pages("<p><strong>Pages:</strong>", '</p>', 'number');
27+
remove_filter( 'the_content', 'sharing_display', 19 );
28+
remove_filter( 'the_excerpt', 'sharing_display', 19 );
29+
the_content( '<p class="serif">' . 'Read the rest of this page' . ' &raquo;</p>' );
30+
wp_link_pages( '<p><strong>Pages:</strong>', '</p>', 'number' );
3131
?>
3232
</div>
3333
<?php
34-
get_template_part('advert');
34+
get_template_part( 'advert' );
3535
?>
3636
</div>
3737
<?php
3838

39-
get_template_part('social');
40-
if (comments_open()) {
39+
get_template_part( 'social' );
40+
if ( comments_open() ) {
4141
?>
4242
<section class="container">
4343
<div class="col-sm-12 col-md-12 col-lg-12">
4444
<h3 class="hidden-lg">Comments for <?php echo multiloquent_post_title(); ?></h3>
4545
<?php
4646
comments_template();
47-
get_template_part('advert');
47+
get_template_part( 'advert' );
4848
?>
4949
</div>
5050
</section>
5151
<?php
5252
}
5353

54-
if (function_exists('related_posts')) {
54+
if ( function_exists( 'related_posts' ) ) {
5555
related_posts();
5656
}
5757
?>
5858
<section class="container">
5959
<?php
60-
get_template_part('advert');
60+
get_template_part( 'advert' );
6161
?>
6262
</section>
6363
<?php

0 commit comments

Comments
 (0)