Ejemplo n.º 1
0

<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        // loop start
        ?>

	<div class="image">
		<div class="nav prev"><?php 
        next_post_link('%link');
        ?>
</div>
		<?php 
        the_image();
        ?>
		<div class="nav next"><?php 
        previous_post_link('%link');
        ?>
</div>
	</div>
	
	<?php 
        // content start
        include 'post.php';
        // content end
        ?>
	
<?php 
        // loop end
Ejemplo n.º 2
0
the_conditional_field('main_intro', '<p>', '</p>');
?>
        </div>

        <div class="row">
            <div class="col-sm-6 md-margin-bottom-50">
				<?php 
the_field('main_content');
?>
            </div>
            <div class="col-sm-6">
                <img src="<?php 
the_image('main_image', 'url');
?>
" alt="<?php 
the_image('main_image', 'alt');
?>
" class="img-responsive" />
            </div> 
        </div><!--/end row-->
    </div>
    <!--=== End Container Part ===-->

	<?php 
if (have_rows('stats')) {
    ?>
    <!--=== Parallax Counter v4 ===-->
    <div class="parallax-counter-v4 parallaxBg" style="<?php 
    the_background('stats_background');
    ?>
">
Ejemplo n.º 3
0
		<div class="container">
			<div class="box-white trans">
				<div class="row">
					<div class="col-md-10 col-md-offset-1">
						<div class="row">
							<?php 
$content = explode('<hr />', get_sub_field('content'));
?>
							<div class="col-md-6">
								<div class="row">
									<div class="col-sm-3 col-md-12 col-lg-5">
										<p><img src="<?php 
the_image('image', 'url', true);
?>
" alt="<?php 
the_image('image', 'alt', true);
?>
" class="img-responsive img-circle" /></p>
									</div>
									<div class="col-sm-9 col-md-12 col-lg-7">
										<?php 
$title = explode('<br />', get_sub_field('title'));
?>
										<h3 class="title"><?php 
printf('%s <span>%s</span> %s', $title[0], $title[1], $title[2]);
?>
</h3>
									</div>
								</div>
								<br />
								<?php 
Ejemplo n.º 4
0
function the_thumbnail()
{
    global $post;
    $src = preg_replace('/\\?w\\=[0-9]+/', '?w=125', the_image(true));
    $src = '<div class="image thumbnail">' . $src . '</div>';
    echo $src;
}
Ejemplo n.º 5
0
	<section class="banner guides-toolkits" style="background-image:url(<?php 
the_image('background_image', 'url', true);
?>
);">
		<div class="container">
			<div class="row">
				<div class="col-md-10 col-md-offset-1">
					<div class="caption">
						<h3><?php 
the_sub_field('title');
?>
</h3>
					</div>
				</div>
			</div>
			<br />
			<br />
			<?php 
$tools = get_posts(array('post_type' => 'tool', 'posts_per_page' => 9));
if ($tools) {
    $total = count($tools);
    ?>
			<div id="slideshow_guides-toolkits" class="carousel slide slideshow_content" data-interval="false">
				<ol class="carousel-indicators">
					<li data-target="#slideshow_guides-toolkits" data-slide-to="0" class="active"></li>
					<?php 
    if ($total > 3) {
        ?>
 
					<li data-target="#slideshow_guides-toolkits" data-slide-to="1"></li>
					<?php 
Ejemplo n.º 6
0
the_conditional_field('secondary_intro', '<p>', '</p>');
?>
			</div>

			<div class="row">
				<div class="col-sm-6 md-margin-bottom-50">
					<?php 
the_field('secondary_content');
?>
				</div>
				<div class="col-sm-6">
					<img src="<?php 
the_image('secondary_image', 'url');
?>
" alt="<?php 
the_image('secondary_image', 'alt');
?>
" class="img-responsive" />
				</div> 
			</div><!--/end row-->
		</div>
	</div>
    <!--=== End Container Part ===-->
	
	<?php 
$team = get_field('team_members');
if ($team) {
    ?>
    <!--=== Team v4 ===-->
    <div class="container content-sm">
        <div class="headline-center margin-bottom-60">
Ejemplo n.º 7
0
    }
    ?>
			</div>
			<?php 
}
?>
		</div>
	</section>
	<?php 
if (have_rows('chair_governance')) {
    while (have_rows('chair_governance')) {
        the_row();
        ?>
	<section class="banner">
		<div class="banner-image member-info" style="background-image:url('<?php 
        the_image('image_governace', 'url', false);
        ?>
');"></div>
		<div class="container">
			<br />
			<br />
			<div class="row">
				<div class="col-md-10 col-md-offset-1">
					<div class="caption">
						<h3><?php 
        the_sub_field('name');
        ?>
</h3>
						<p>See Announcement message from IARD Board of Director Chair</p>
					</div>
				</div>
Ejemplo n.º 8
0
	<section class="banner">
		<div class="banner-image" style="background-image:url('<?php 
the_image('image', 'url', true);
?>
')"></div>
		<div class="container">
			<div class="row">
				<div class="col-md-10 col-md-offset-1">
					<div class="caption">
						<?php 
the_sub_field('caption');
?>
					</div>
				</div>
			</div>
			<br />
			<br />
			<?php 
$id = uniqid();
?>
			<div class="collapse expandable" id="<?php 
echo $id;
?>
"></div>
			<a href="#<?php 
echo $id;
?>
" data-toggle="collapse" class="btn btn-more blue"><?php 
the_sub_field('button_text');
?>
</a>
Ejemplo n.º 9
0
get_header();
?>

<?php 
while (have_posts()) {
    the_post();
    ?>
<section class="page-about-us">
	<div class="crop">
		<div class="overlay"></div>
		<h1><?php 
    the_title();
    ?>
</h1>
		<img src="<?php 
    the_image(get_the_ID());
    ?>
">
	</div>
	<div class="pull">
		<?php 
    the_content();
    ?>
	</div>
</section>
<?php 
}
get_footer();
?>
 
Ejemplo n.º 10
0
					<?php 
        if (get_sub_field('video_link')) {
            ?>
					<a class="box-white fancy-webinar fancybox.iframe" href="<?php 
            the_video('video_link', 'embed', true);
            ?>
" title="<?php 
            the_sub_field('title');
            ?>
">
						<i class="material-icons">play_circle_filled</i>
						<img src="<?php 
            the_image('thumbnail', 'url', true);
            ?>
" alt="<?php 
            the_image('thumbnail', 'alt', true);
            ?>
" class="img-responsive" />
						<h4 class="text-center"><?php 
            the_sub_field('title');
            ?>
</h4>
						<p class="text-center"><small><?php 
            the_sub_field('date');
            ?>
</small></p>
					</a>
					<?php 
        } else {
            ?>
					<div class="box-empty">
Ejemplo n.º 11
0
		<ul class="slides">

			<?php 
$query = new WP_Query($args);
?>
 
			<?php 
while ($query->have_posts()) {
    $query->the_post();
    ?>
	
				<li>
					<div class="img-wrap">
						<div class="overlay"></div>
						<img src="<?php 
    the_image($query->ID);
    ?>
" />	
					</div> 
					<h2>
						<span class="small"><?php 
    the_title();
    ?>
</span>
						<span class="big"><?php 
    the_field("slides_subtitle");
    ?>
</span>
						
					</h2>
				</li>
Ejemplo n.º 12
0
        $active = $i == 0 ? ' active' : '';
        ?>
			<div class="item<?php 
        echo $active;
        ?>
">
				<img src="<?php 
        the_image('image', 'url', true);
        ?>
" alt="<?php 
        the_image('image', 'alt', true);
        ?>
" />
				<div class="image-comment">
					<div class="container"><?php 
        the_image('image', 'caption', true);
        ?>
</div>
				</div>
				<div class="carousel-caption">
					<div class="container">
						<?php 
        the_sub_field('caption');
        ?>
					</div>
				</div>
			</div>
			<?php 
        $i++;
    }
    ?>