예제 #1
0
							<div class="col-md-8">
								<h2><a href="<?php 
            echo get_the_permalink($su);
            ?>
"><?php 
            echo get_the_title($su);
            ?>
</a></h2>
								<span id="priceInSearch"><?php 
            if ($priceRange) {
                echo 'Price: PHP ' . $priceRange;
            }
            ?>
</span>
								<p><?php 
            echo get_the_content_by_id($su);
            ?>
</p>
								<a href="<?php 
            echo get_the_permalink($su);
            ?>
" class="viewBtn">VIEW PROPERTY</a>
							</div>
						</div>
				<?php 
        }
        ?>
			<?php 
    }
    ?>
		</div>
예제 #2
0
                            </span>
                        <?php 
} else {
    ?>
                            <h2>Место для постов категории</h2>
                        <?php 
}
?>
                    </div>
                </article>
                <article class="col-1-2">
                	<div class="wrap-col indent-top">
                        <?php 
$id_about_intex = 40;
$id_compamny = 4;
echo get_the_content_by_id($id_about_intex);
?>
   
                        <span class="button-2">
                            <a href="<?php 
echo get_page_link($id_compamny);
?>
"><strong>aBOUT cOMPANY</strong></a>
                        </span>
                    </div>                        
                </article>
            </div>
        </div>
    </section>
    
<?php 
예제 #3
0
            ?>
							<?php 
            getImage(1);
            ?>
						<?php 
        }
        ?>
						<a href="<?php 
        echo get_permalink(get_the_ID());
        ?>
"><h4><?php 
        the_title();
        ?>
</h4></a>
						<p><?php 
        $trimmed_content = wp_trim_words(get_the_content_by_id(get_the_ID()), 25, '<a href="' . get_permalink() . '"> ...Read More</a>');
        echo $trimmed_content;
        ?>
<p>
					</div>
		<?php 
    }
} else {
    ?>
				<div class="col-md-6">
					<p>No Featured Blog Posts Yet.</p>
				</div>
		<?php 
}
wp_reset_postdata();
?>
예제 #4
0
<?php

$featTestiLink = get_post_meta(get_the_ID(), 'featured_testimonial_link', true);
$featTestiId = get_post_meta(get_the_ID(), 'featured_testimonial', true);
$featTesti = get_the_content_by_id($featTestiId[0]);
$featTestiRating = get_post_meta($featTestiId[0], 'ratings', true);
?>

<div class="reviewWrap" itemscope itemtype="http://schema.org/Review">
	<div class="container">
		<div class="row">
			<div class="col-md-6 col-md-offset-3" >

				<section itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
					<span id="ratingValue" itemprop="ratingValue" style="display: none;"><?php 
echo $featTestiRating;
?>
</span>
					<?php 
for ($i = 0; $i < $featTestiRating; $i++) {
    ?>
							<i class="fa fa-star"></i>
					<?php 
}
?>
				</section>

				<section>
					<p itemprop="reviewBody">"<?php 
echo $featTesti;
?>
예제 #5
0
							<div class="col-md-8">
								<h2><a href="<?php 
        echo get_the_permalink($res);
        ?>
"><?php 
        echo get_the_title($res);
        ?>
</a></h2>
								<span id="priceInSearch"><?php 
        if ($priceRange) {
            echo 'Price: PHP ' . $priceRange;
        }
        ?>
</span>
								<p><?php 
        echo get_the_content_by_id($res);
        ?>
</p>
								<a href="<?php 
        echo get_the_permalink($res);
        ?>
" class="viewBtn">VIEW PROPERTY</a>
							</div>
						</div>
			<?php 
    }
} else {
    ?>
				<h1>No Results Found.</h1>
			<?php 
}
						<div class="col-md-5">
							<img src="<?php 
        echo $tbn[0];
        ?>
" alt="<?php 
        echo get_the_title($amenity);
        ?>
" data-toggle="modal" data-target="#myModal" id="expandAmenity" style="cursor: pointer;">
						</div>
						<div class="col-md-7">
							<h3><?php 
        echo get_the_title($amenity);
        ?>
</h3>
							<?php 
        echo get_the_content_by_id($amenity);
        ?>
						</div>
					</div>
			<?php 
    }
    ?>
		</div>
	</div>
<?php 
}
?>

<?php 
if ($cf && $cfTitle) {
    ?>