-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-pic-services.php
40 lines (31 loc) · 1.17 KB
/
single-pic-services.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php get_header(); ?>
<?php pic_title_header( __( 'Services', 'pics' ), carbon_get_theme_option( 'services-h-i' ) ); ?>
<div class="container">
<?php wp_nav_menu( array(
'theme_location' => 'services_menu',
'item_spacing' => 'discard',
'menu_class' => 'nav-sub d-md-flex align-items-md-center list-unstyled',
'container' => false,
) ); ?>
<div class="teaser">
<div class="row">
<?php $video_id = carbon_get_the_post_meta( 's-i' ); ?>
<figure class="teaser-thumb col-xl-5 col-lg-6"><?php the_post_thumbnail( 'service-thumb', array( 'class' => 'img-block' ) ); ?></figure>
<div class="col-xl-7 col-lg-6">
<div class="teaser-content">
<h3 class="teaser-title">
<?php
$title_meta = carbon_get_the_post_meta( 's-t' );
$title = ! empty( $title_meta ) ? $title_meta : get_the_title();
echo esc_html( $title );
?>
</h3>
<?php echo wpautop( carbon_get_the_post_meta( 's-c' ) ); ?>
<p><span class="btn btn-primary btn-more" data-fancybox data-src="#order-service"><?php _e( 'Get Order', 'pic' ); ?></span></p>
</div>
</div>
</div>
</div>
<?php the_post(); the_content(); ?>
</div>
<?php get_footer(); ?>