Commit 4ef86521 by rajshah

single-portfolio: scope of work title done

parent 284fe9f4
...@@ -3,41 +3,47 @@ ...@@ -3,41 +3,47 @@
<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')):
<a href="<?php echo $link['url']; ?>" target="_blank" class="open-in-new-tab d-none d-lg-inline-block"> $link_target = $link['target'] ? $link['target'] : '_self'; ?>
<?php echo $link['title']; ?> <a href="<?php echo $link['url']; ?>" target="_blank" class="open-in-new-tab d-none d-lg-inline-block">
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"> <?php echo $link['title']; ?>
<path <svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
d="M14.3379 4.552L2.8619 16.028L0.976562 14.1427L12.4512 2.66667H2.3379V0H17.0046V14.6667H14.3379V4.552Z" <path
fill="#005AFF" /> d="M14.3379 4.552L2.8619 16.028L0.976562 14.1427L12.4512 2.66667H2.3379V0H17.0046V14.6667H14.3379V4.552Z"
</svg> fill="#005AFF" />
</a> </svg>
<?php endif;?> </a>
<?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
<div class="scope-work-wrapper"> $sof_title = get_field('sof_title')?:'Scope of Work';
<span class="sm-text">Scope of Work</span> if ($scope = get_field('scope_of_work')): ?>
<ul class="list-unstyled"> <div class="scope-work-wrapper">
<?php echo $scope;?> <?php if (!empty($sof_title)): ?><span class="sm-text"><?php echo $sof_title; ?></span><?php endif; ?>
</ul> <ul class="list-unstyled">
</div> <?php echo $scope; ?>
<?php endif;?> </ul>
</div>
<?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')):
<a href="<?php echo $link['url']; ?>" target="_blank" class="open-in-new-tab d-lg-none"> $link_target = $link['target'] ? $link['target'] : '_self'; ?>
<?php echo $link['title']; ?> <a href="<?php echo $link['url']; ?>" target="_blank" class="open-in-new-tab d-lg-none">
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"> <?php echo $link['title']; ?>
<path d="M14.3379 4.552L2.8619 16.028L0.976562 14.1427L12.4512 2.66667H2.3379V0H17.0046V14.6667H14.3379V4.552Z" <svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
fill="#005AFF" /> <path d="M14.3379 4.552L2.8619 16.028L0.976562 14.1427L12.4512 2.66667H2.3379V0H17.0046V14.6667H14.3379V4.552Z"
</svg> fill="#005AFF" />
</a> </svg>
<?php endif;?> </a>
<?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