Commit 8368b793 by rajshah

dynamic hero init

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