Commit d25735ad by rajshah

added enabler to show the postfolio listing

parent a1176156
<?php if (get_field('enable_section')) :
$terms = get_terms('portfolio-category');
if ($terms) :
<?php
$portfolio_listing = get_field('portfolio_listing') ?: [];
if (is_array($portfolio_listing) && !empty($portfolio_listing) && isset($portfolio_listing)):
$enable_portfolio_listing = $portfolio_listing['enable_portfolio_listing'] ?? '';
if ($enable_portfolio_listing && !empty($enable_portfolio_listing) && isset($enable_portfolio_listing)):
$terms = get_terms('portfolio-category');
?>
<section class="case-study-filter background-dark mb-60 ABOUT TOP-BANNER-SECTION">
<div class="container">
......@@ -102,4 +105,5 @@
</div>
</section>
<?php endif;
endif; ?>
\ No newline at end of file
endif;
?>
\ 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