Commit 4ef86521 by rajshah

single-portfolio: scope of work title done

parent 284fe9f4
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
<div class="row justify-content-between"> <div class="row justify-content-between">
<div class="col-lg-7 title-wrapper"> <div class="col-lg-7 title-wrapper">
<div class="portfolio-detail-content-box pb-40"> <div class="portfolio-detail-content-box pb-40">
<?php the_field('description');?> <?php the_field('description'); ?>
</div> </div>
<?php if ($link = get_field('link')) : $link_target = $link['target'] ? $link['target'] : '_self';?> <?php if ($link = get_field('link')):
$link_target = $link['target'] ? $link['target'] : '_self'; ?>
<a href="<?php echo $link['url']; ?>" target="_blank" class="open-in-new-tab d-none d-lg-inline-block"> <a href="<?php echo $link['url']; ?>" target="_blank" class="open-in-new-tab d-none d-lg-inline-block">
<?php echo $link['title']; ?> <?php echo $link['title']; ?>
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
...@@ -14,23 +15,28 @@ ...@@ -14,23 +15,28 @@
fill="#005AFF" /> fill="#005AFF" />
</svg> </svg>
</a> </a>
<?php endif;?> <?php endif; ?>
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">
<div class="client-logo-wrapper d-none d-lg-block"> <div class="client-logo-wrapper d-none d-lg-block">
<?php if($image = get_field('client_logo')):echo wp_get_attachment_image($image,'full'); endif;?> <?php if ($image = get_field('client_logo')):
echo wp_get_attachment_image($image, 'full');
endif; ?>
</div> </div>
<?php if($scope = get_field('scope_of_work')):?> <?php
$sof_title = get_field('sof_title')?:'Scope of Work';
if ($scope = get_field('scope_of_work')): ?>
<div class="scope-work-wrapper"> <div class="scope-work-wrapper">
<span class="sm-text">Scope of Work</span> <?php if (!empty($sof_title)): ?><span class="sm-text"><?php echo $sof_title; ?></span><?php endif; ?>
<ul class="list-unstyled"> <ul class="list-unstyled">
<?php echo $scope;?> <?php echo $scope; ?>
</ul> </ul>
</div> </div>
<?php endif;?> <?php endif; ?>
</div> </div>
</div> </div>
<?php if ($link = get_field('link')) : $link_target = $link['target'] ? $link['target'] : '_self';?> <?php if ($link = get_field('link')):
$link_target = $link['target'] ? $link['target'] : '_self'; ?>
<a href="<?php echo $link['url']; ?>" target="_blank" class="open-in-new-tab d-lg-none"> <a href="<?php echo $link['url']; ?>" target="_blank" class="open-in-new-tab d-lg-none">
<?php echo $link['title']; ?> <?php echo $link['title']; ?>
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
...@@ -38,6 +44,6 @@ ...@@ -38,6 +44,6 @@
fill="#005AFF" /> fill="#005AFF" />
</svg> </svg>
</a> </a>
<?php endif;?> <?php endif; ?>
</div> </div>
</section> </section>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment