|
6 | 6 | */
|
7 | 7 | get_header();
|
8 | 8 | echo '<!-- google_ad_section_start-->';
|
9 |
| -if (have_posts()) { |
10 |
| - while (have_posts()) { |
| 9 | +if ( have_posts() ) { |
| 10 | + while ( have_posts() ) { |
11 | 11 | the_post();
|
12 |
| - get_template_part('featuredposts'); |
13 |
| - get_template_part('featuredimage'); |
| 12 | + get_template_part( 'featuredposts' ); |
| 13 | + get_template_part( 'featuredimage' ); |
14 | 14 | echo '<div id="post-' . get_the_ID() . '" ';
|
15 |
| - echo post_class("post"); |
| 15 | + echo post_class( 'post' ); |
16 | 16 | echo '>';
|
17 |
| - get_template_part('breadcrumb'); |
| 17 | + get_template_part( 'breadcrumb' ); |
18 | 18 | ?>
|
19 | 19 | <div class="container">
|
20 | 20 | <div class="col-sm-12 col-md-12 col-lg-12">
|
21 | 21 | <?php
|
22 |
| - if ($values = get_post_custom_values("leadvideo")) { |
| 22 | + if ( $values = get_post_custom_values( 'leadvideo' ) ) { |
23 | 23 | echo '<iframe width="100%" height="400" src="//www.youtube.com/embed/';
|
24 | 24 | echo $values[0];
|
25 | 25 | echo '" frameborder="0" allowfullscreen></iframe>';
|
26 | 26 | }
|
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' . " »</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' . ' »</p>' ); |
| 30 | + wp_link_pages( '<p><strong>Pages:</strong>', '</p>', 'number' ); |
31 | 31 | ?>
|
32 | 32 | </div>
|
33 | 33 | <?php
|
34 |
| - get_template_part('advert'); |
| 34 | + get_template_part( 'advert' ); |
35 | 35 | ?>
|
36 | 36 | </div>
|
37 | 37 | <?php
|
38 | 38 |
|
39 |
| - get_template_part('social'); |
40 |
| - if (comments_open()) { |
| 39 | + get_template_part( 'social' ); |
| 40 | + if ( comments_open() ) { |
41 | 41 | ?>
|
42 | 42 | <section class="container">
|
43 | 43 | <div class="col-sm-12 col-md-12 col-lg-12">
|
44 | 44 | <h3 class="hidden-lg">Comments for <?php echo multiloquent_post_title(); ?></h3>
|
45 | 45 | <?php
|
46 | 46 | comments_template();
|
47 |
| - get_template_part('advert'); |
| 47 | + get_template_part( 'advert' ); |
48 | 48 | ?>
|
49 | 49 | </div>
|
50 | 50 | </section>
|
51 | 51 | <?php
|
52 | 52 | }
|
53 | 53 |
|
54 |
| - if (function_exists('related_posts')) { |
| 54 | + if ( function_exists( 'related_posts' ) ) { |
55 | 55 | related_posts();
|
56 | 56 | }
|
57 | 57 | ?>
|
58 | 58 | <section class="container">
|
59 | 59 | <?php
|
60 |
| - get_template_part('advert'); |
| 60 | + get_template_part( 'advert' ); |
61 | 61 | ?>
|
62 | 62 | </section>
|
63 | 63 | <?php
|
|
0 commit comments