Commit 70ba1149 by rajshah

done block forhero

parent c87843db
...@@ -8,38 +8,49 @@ if (isset($hero) && is_array($hero) && !empty($hero)): ...@@ -8,38 +8,49 @@ if (isset($hero) && is_array($hero) && !empty($hero)):
$hero_desc = $hero['hero_desc'] ?: ''; $hero_desc = $hero['hero_desc'] ?: '';
$hero_url = $hero['hero_url'] ?: ''; $hero_url = $hero['hero_url'] ?: '';
$hero_btn = $hero['hero_btn'] ?: ''; $hero_btn = $hero['hero_btn'] ?: '';
?> $hero_v = $hero['hero_v'];
<section class="AUDIT-INTRO pb-40"> if ($hero_v):
<div class="container"> ?>
<div class="ai-content"> <section class="AUDIT-INTRO pb-40">
<div class="section-title top-title"> <div class="container">
<div class="ai-content">
<div class="section-title top-title">
<?php if (!empty($hero_title)): ?>
<h1><?php echo $hero_title; ?></h1><?php endif;
echo $hero_desc ?: '';
if (!empty($hero_url)):
?>
<div class="search-field">
<form class="turboform" method="POST" action="<?php echo esc_url($hero_url); ?>" onsubmit="return fixURL();">
<div class="input-field">
<input type="text" autocomplete="off" spellcheck="false" class="form-control"
placeholder="Type Your Website Address" name="url">
<?php if (!empty($hero_btn)): ?><span class="input-group-btn"> <button class="audit-search" type="submit"
id="review-btn"><span class="glyphicon glyphicon-search"></span>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M19 11C19 15.4184 15.4184 19 11 19C6.5816 19 3 15.4184 3 11C3 6.5816 6.5816 3 11 3C15.4184 3 19 6.5816 19 11Z"
stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
<path d="M20.9984 20.9999L16.6484 16.6499" stroke="white" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round" />
</svg> <?php echo $hero_btn; ?></button></span>
<?php endif; ?>
</div>
</form>
</div>
<?php endif; ?>
</div>
</div>
</div>
</section>
<?php else: ?>
<section class="AUDIT-INNER-BANNER pb-40">
<div class="container">
<div class="top-title">
<?php if (!empty($hero_title)): ?> <?php if (!empty($hero_title)): ?>
<h1><?php echo $hero_title; ?></h1><?php endif; <h1><?php echo $hero_title; ?></h1><?php endif; ?>
echo $hero_desc ?: '';
if (!empty($hero_url)):
?>
<div class="search-field">
<form class="turboform" method="POST" action="<?php echo esc_url($hero_url); ?>" onsubmit="return fixURL();">
<div class="input-field">
<input type="text" autocomplete="off" spellcheck="false" class="form-control"
placeholder="Type Your Website Address" name="url">
<?php if (!empty($hero_btn)): ?><span class="input-group-btn"> <button class="audit-search" type="submit"
id="review-btn"><span class="glyphicon glyphicon-search"></span>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M19 11C19 15.4184 15.4184 19 11 19C6.5816 19 3 15.4184 3 11C3 6.5816 6.5816 3 11 3C15.4184 3 19 6.5816 19 11Z"
stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
<path d="M20.9984 20.9999L16.6484 16.6499" stroke="white" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round" />
</svg> <?php echo $hero_btn; ?></button></span>
<?php endif; ?>
</div>
</form>
</div>
<?php endif; ?>
</div> </div>
</div> </div>
</div> </section>
</section> <?php endif; endif; endif; ?>
<?php endif; endif; ?>
<!-- !Seo - Hero Section --> <!-- !Seo - Hero Section -->
\ No newline at end of file
<?php
/**
* Template Name: SEO Audit
*/
get_header();
the_content();
get_template_part("/template-parts/seo-audit/audit-intro", null);
get_template_part("/template-parts/service-detail/service-listing", null);
get_template_part("/template-parts/seo-audit/audit-tool-box", null);
get_template_part("/template-parts/seo-audit/audit-quote", null);
get_footer();
?>
\ 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