Commit 8368b793 by rajshah

dynamic hero init

parent 520b8b37
<section class="AUDIT-INTRO pb-40">
<div class="container">
<div class="ai-content">
<div class="section-title top-title">
<h1>Run SEO Audit for Your Website</h1>
<p>Fix your all website technical issues with our free seo audit tool, this tool provides you the comprehensive
report to make your web error free</p>
<div class="search-field">
<div class="input-field">
<form class="turboform" method="POST" action="https://makuracreations.com/free-seo-audit/domain"
onsubmit="return fixURL();">
<div class="input-group review">
<input type="text" autocomplete="off" spellcheck="false" class="form-control"
placeholder="Type Your Website Address" name="url">
<span class="input-group-btn"> <button class="btn btn-green" type="submit" id="review-btn"><span
class="glyphicon glyphicon-search"></span>
REVIEW</button></span>
<!-- Seo - Hero Section -->
<?php
$hero = get_field('hero') ?: [];
if (isset($hero) && is_array($hero) && !empty($hero)):
$enable_hero = $hero['enable_hero'] ?: false;
if ($enable_hero):
$hero_title = $hero['hero_title'] ?: '';
$hero_desc = $hero['hero_desc'] ?: '';
$hero_url = $hero['hero_url'] ?: '';
$hero_btn = $hero['hero_btn'] ?: '';
?>
<section class="AUDIT-INTRO pb-40">
<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 ?: '';
?>
<div class="search-field">
<div class="input-field">
<form class="turboform" method="POST" action="https://makuracreations.com/free-seo-audit/domain"
onsubmit="return fixURL();">
<div class="input-group review">
<input type="text" autocomplete="off" spellcheck="false" class="form-control"
placeholder="Type Your Website Address" name="url">
<span class="input-group-btn"> <button class="btn btn-green" type="submit" id="review-btn"><span
class="glyphicon glyphicon-search"></span>
REVIEW</button></span>
</div>
</form>
</div>
</form>
<button type="submit" class="audit-search">
<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>
Audit
</button>
</div>
</div>
<button type="submit" class="audit-search">
<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>
Audit
</button>
</div>
</div>
</div>
</div>
</section>
\ No newline at end of file
</section>
<?php endif; endif; ?>
<!-- !Seo - Hero 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