%PDF- %PDF-
Direktori : /var/www/projetos/stb.ind.br/wp-content/themes/stb/ |
Current File : //var/www/projetos/stb.ind.br/wp-content/themes/stb/single-cases.php |
<?php get_header(); $service = get_the_terms( $post, 'services' )[0]; ?> <div class="entry-content case"> <div class="page-header flex-middle" style="background-image: url(<?php the_field( 'service_thumbnail', $service ) ?>);"> <div class="container"> <div class="inner flex-middle"> <h1 class="page-title"><?php echo $service->name ?></h1> </div> </div> </div> <div class="container"> <div class="row"> <div class="case-excerpt col-lg-8"> <?php the_excerpt() ?> </div> <div class="case-info col-lg-4"> <div class="row"> <div class="case-attribute col-xs-6"> <h6 class="case-attribute__title"><?php _e( 'Client:', 'stb' ) ?></h6> <span class="case-attribute__info"><?php the_field( 'case_client' ) ?></span> </div> <div class="case-attribute col-xs-6"> <h6 class="case-attribute__title"><?php _e( 'Date:', 'stb' ) ?></h6> <span class="case-attribute__info"><?php the_field( 'case_date' ) ?></span> </div> <div class="case-attribute col-xs-6"> <h6 class="case-attribute__title"><?php _e( 'Site:', 'stb' ) ?></h6> <span class="case-attribute__info"><?php the_field( 'case_site' ) ?></span> </div> <div class="case-attribute col-xs-6"> <h6 class="case-attribute__title"><?php _e( 'Segment:', 'stb' ) ?></h6> <span class="case-attribute__info"><?php the_field( 'case_segment' ) ?></span> </div> </div> </div> </div> <div class="case-thumbnail"> <?php the_post_thumbnail( 'full' ) ?> </div> <div class="case-content"> <?php the_content() ?> </div> </div> </div> <?php get_footer();