Beispiel #1
0
    <!--=== End Breadcrumbs ===-->
<?php 
} elseif ($page_title == 'image') {
    ?>
	<!--=== Breadcrumbs v3 ===-->
	<div class="breadcrumbs-v3 img-v3 text-center" style="background-image:url(<?php 
    the_field('banner_image');
    ?>
);">
        <div class="container">
            <h1><?php 
    ocp_title(get_field('banner_title'));
    ?>
</h1>
			<?php 
    the_conditional_field('banner_sub_title', '<p>', '</p>');
    ?>
        </div>
    </div>
    <!--=== End Breadcrumbs v3 ===-->
<?php 
} else {
    ?>
	<!--=== Breadcrumbs ===-->
	<div class="breadcrumbs breadcrumbs-<?php 
    echo $page_title;
    ?>
">
        <div class="container">
            <h1 class="pull-left"><?php 
    echo $title;
Beispiel #2
0
?>
					<?php 
if (ocp_post_tax_no_link($post->ID, 'portfolio_cat') !== '') {
    echo '<li><i class="fa fa-tags"></i> ' . ocp_post_tax_no_link($post->ID, 'portfolio_cat') . '</li>';
}
?>
                </ul>
				<?php 
the_conditional_field('link', '<a href="', '" class="btn-u btn-u-large">VISIT THE PROJECT</a>');
?>
            </div>
            <!-- End Content Info -->        
        </div><!--/row-->

		<?php 
the_conditional_field('quote', '<div class="tag-box tag-box-v2"><p>', '</p></div>');
?>

        <div class="margin-bottom-20 clearfix"></div>    

		<?php 
$args = portfolio_query();
$loop = new WP_Query($args);
if ($loop->have_posts()) {
    $params = array(474, 300, 'bfi_thumb' => true);
    ?>
        <!-- Recent Works -->
        <div class="owl-carousel-v1 owl-work-v1 margin-bottom-40">
            <div class="headline"><h2 class="pull-left">Recent Works</h2>
                <div class="owl-navigation">
                    <div class="customNavigation">
Beispiel #3
0
                <ul class="list-unstyled">
                	<?php 
the_hours('business_hours');
?>
                </ul>

            </div><!--/col-md-3-->
        </div><!--/row-->
		
		<?php 
$images = get_field('clients');
if ($images) {
    ?>
		<!--=== Owl Clients v1 ===-->
		<?php 
    the_conditional_field('clients_title', '<div class="headline"><h2>', '</h2></div>');
    ?>
		<div class="owl-clients-v1">
			<?php 
    foreach ($images as $image) {
        ?>
			<div class="item">
				<img src="<?php 
        echo $image['url'];
        ?>
" alt="<?php 
        echo $image['alt'];
        ?>
">
			</div>
			<?php 
Beispiel #4
0
    ?>
					<?php 
    the_conditional_field('callout_text', '<p>', '</p>', false);
    ?>
                </div>            
                <div class="col-md-3 btn-buy animated fadeInRight">
					<?php 
    if (have_rows('callout_button')) {
        while (have_rows('callout_button')) {
            the_row();
            ?>
                    <a href="<?php 
            the_sub_field('link');
            ?>
" class="btn-u btn-u-lg"><?php 
            the_conditional_field('icon', '<i class="fa ', '"></i> ', true);
            the_sub_field('label');
            ?>
</a>
					<?php 
        }
    }
    ?>
                </div>
            </div>
        </div>
    </div><!--/row-->
    <!-- End Purchase Block -->
	<?php 
}
?>
Beispiel #5
0
        ?>
                    <div class="col-md-6 md-margin-bottom-50">
                        <div class="testimonials-info rounded-bottom">
							<?php 
        the_post_thumbnail('full', array('class' => 'rounded-x'));
        ?>
                            <div class="testimonials-desc">
                                <?php 
        the_content();
        ?>
                                <strong><?php 
        the_title();
        ?>
</strong>
								<?php 
        the_conditional_field('position', '<span>', '</span>');
        ?>
                            </div>
                        </div>
                    </div>
                <?php 
        if ($i % 2 == 1 || $i == $total - 1) {
            ?>
</div><!--/end row--><?php 
        }
        ?>
				<?php 
        $i++;
    }
    wp_reset_postdata();
    ?>
    <!--=== End Colorful Service Blocks ===-->
	<?php 
}
?>

	<?php 
if (have_rows('services')) {
    ?>
    <!--=== Service Blocks ===-->
    <div class="container content-sm">
        <div class="text-center margin-bottom-50">
			<?php 
    the_conditional_field('services_title', '<h2 class="title-v2 title-center">', '</h2>');
    ?>
			<?php 
    the_conditional_field('services_intro', '<p class="space-lg-hor">', '</p>');
    ?>
        </div>

        <!-- Service Blocks -->
        <div class="row service-box-v1 margin-bottom-40">
			<?php 
    while (have_rows('services')) {
        the_row();
        ?>
            <div class="<?php 
        echo get_col_x(get_field('services'), 'sm');
        ?>
 md-margin-bottom-40">
                <div class="service-block service-block-default no-margin-bottom">
                    <i class="icon-lg rounded-x fa <?php 
            echo get_col_x($blocks, 'md');
            ?>
 md-margin-bottom-30">                
                <h2 class="heading-sm">
                    <?php 
            echo $b_s;
            ?>
                        <i class="icon-custom icon-sm rounded-x icon-bg-dark fa <?php 
            the_sub_field('icon');
            ?>
"></i>
                        <?php 
            the_conditional_field('title', '<span>', '</span>', true);
            ?>
                   <?php 
            echo $b_e;
            ?>
                </h2>
				<?php 
            the_conditional_field('text', '<p class="text-justify">', '</p>', true);
            ?>
            </div>
			<?php 
        }
    }
    ?>
        </div>
	</div>
	<!-- End Content Part -->
	<?php 
}
Beispiel #8
0
                    <!-- Testimonials v4 -->
                    <div class="testimonials-v4 md-margin-bottom-50">
                        <div class="testimonials-v4-in">
                            <?php 
        the_content();
        ?>
                        </div>
                        <?php 
        the_post_thumbnail('full', array('class' => 'rounded-x'));
        ?>
                        <span class="testimonials-author">
                            <?php 
        the_title();
        ?>
							<?php 
        the_conditional_field('position', '<br><em>', '</em>');
        ?>
                        </span>
                    </div>
                    <!-- End Testimonials v4 -->
                </div>
            <?php 
        if ($i % 2 == 1 || $i == $total - 1) {
            ?>
</div><!--/end row--><?php 
        }
        ?>
			<?php 
        $i++;
    }
    wp_reset_postdata();
    }
    ?>
	</div>
	<!-- End Post Feed -->
	<?php 
    // type = boxed
} elseif ($type == 'slider') {
    ?>
	<!-- Recent Works -->
	<div class="container content>
		<?php 
    if ($loop->have_posts()) {
        ?>
		<div class="owl-carousel-v1 owl-work-v1 margin-bottom-40">
			<div class="headline"><?php 
        the_conditional_field('feed_title', '<h2 class="pull-left">', '</h2>', true);
        ?>
				<div class="owl-navigation">
					<div class="customNavigation">
						<a class="owl-btn prev-v2"><i class="fa fa-angle-left"></i></a>
						<a class="owl-btn next-v2"><i class="fa fa-angle-right"></i></a>
					</div>
				</div><!--/navigation-->
			</div>

			<div class="owl-recent-works-v1">
				<?php 
        while ($loop->have_posts()) {
            $loop->the_post();
            ?>
				<div class="item">
                    <div class="headline"><h2>Product Details</h2></div>
                    <ul class="list-unstyled project-details">
						<?php 
the_conditional_field('client', '<li><strong>Client:</strong> ', '</li>');
?>
						<?php 
the_conditional_field('date', '<li><strong>Date:</strong> ', '</li>');
?>
						<?php 
if (ocp_post_tax($post->ID, 'portfolio_cat') !== '') {
    echo '<li><strong>Categories:</strong> ' . ocp_post_tax($post->ID, 'portfolio_cat') . '</li>';
}
?>
						<?php 
the_conditional_field('link', '<li><strong>Website:</strong> <a href="', '" target="_blank">');
the_conditional_field('link', '', '</a></li>');
?>
                    </ul>
                </div>
            </div>        
            
			<?php 
$args = portfolio_query();
$loop = new WP_Query($args);
if ($loop->have_posts()) {
    $params = array(474, 300, 'bfi_thumb' => true);
    ?>
            <div class="cube-portfolio">
                <div id="grid-container" class="cbp-l-grid-agency">
					<?php 
    while ($loop->have_posts()) {