Commit 6f2d3317 by rajshah

single missions done

parent 54013916
<?php
/**
* Template Name: Resource Detail
*/
get_header();
the_content();
get_template_part("/template-parts/resource-page/resource-detail",null);
get_footer();
?>
\ No newline at end of file
......@@ -85,61 +85,30 @@ endif;
<div class="col-lg-10 col-xl-8">
<div class="rd-content">
<?php echo the_content(); ?>
<?php get_template_part('/blocks/faqs-block'); ?>
<!-- faqs -->
<h3>Frequently Asked Questions</h3>
<div class="faq-wrapper">
<div class="faq-item">
<div class="faq-title">
<strong>Can I customize the template for my specific needs? Can I customize the template
for my
specificCan I customize the template for my specific needs?
needs?</strong>
<?php if (get_field('enable_section')): ?>
<span><?php the_field('subtitle'); ?></span>
<h3><?php the_field('title'); ?></h3>
<?php the_field('description'); ?>
<?php $faqs = get_field('faqs');
if ($faqs): ?>
<div class="faq-wrapper">
<?php foreach ($faqs as $key => $faq): ?>
<div class="faq-item">
<div class="faq-title">
<strong><?php echo get_the_title($faq); ?></strong>
</div>
<div class="faq-content-box">
<div class="faq-content">
<?php echo get_the_content(null, false, $faq); ?>
</div>
</div>
</div>
<?php endforeach; ?>
</div>
<div class="faq-content-box">
<div class="faq-content">
<p>You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.</p>
</div>
</div>
</div>
<div class="faq-item">
<div class="faq-title">
<strong>Can I customize the template for my specific needs?</strong>
</div>
<div class="faq-content-box">
<div class="faq-content">
<p>You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.</p>
<p>You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.</p>
<p>You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.</p>
</div>
</div>
</div>
<div class="faq-item">
<div class="faq-title">
<strong>Can I customize the template for my specific needs?</strong>
</div>
<div class="faq-content-box">
<div class="faq-content">
<p>You need to include your personal or business details, domain name, and any
required identification
or
authorization documents.</p>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
<!-- faqs -->
</div>
<div class="rd-footer-action-group">
......@@ -198,21 +167,6 @@ endif;
</svg>
</a>
</li>
<!-- Google+ Share -->
<li>
<a href="https://plus.google.com/share?url=<?php echo urlencode(get_permalink()); ?>"
target="_blank">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none"
xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="31" height="31" rx="15.5"
stroke="#878787" />
<path
d="M24.1562 11.9062C24.5312 13.2188 24.5312 16.0312 24.5312 16.0312C24.5312 16.0312 24.5312 18.8125 24.1562 20.1562C23.9688 20.9062 23.375 21.4688 22.6562 21.6562C21.3125 22 16 22 16 22C16 22 10.6562 22 9.3125 21.6562C8.59375 21.4688 8 20.9062 7.8125 20.1562C7.4375 18.8125 7.4375 16.0312 7.4375 16.0312C7.4375 16.0312 7.4375 13.2188 7.8125 11.9062C8 11.1562 8.59375 10.5625 9.3125 10.375C10.6562 10 16 10 16 10C16 10 21.3125 10 22.6562 10.375C23.375 10.5625 23.9688 11.1562 24.1562 11.9062ZM14.25 18.5625L18.6875 16.0312L14.25 13.5V18.5625Z"
fill="#878787" />
</svg>
</a>
</li>
</ul>
</div>
......
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