Commit 8368b793 by rajshah

dynamic hero init

parent 520b8b37
<section class="AUDIT-INTRO pb-40"> <!-- 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="container">
<div class="ai-content"> <div class="ai-content">
<div class="section-title top-title"> <div class="section-title top-title">
<h1>Run SEO Audit for Your Website</h1> <?php if (!empty($hero_title)): ?>
<p>Fix your all website technical issues with our free seo audit tool, this tool provides you the comprehensive <h1><?php echo $hero_title; ?></h1><?php endif;
report to make your web error free</p> echo $hero_desc ?: '';
?>
<div class="search-field"> <div class="search-field">
<div class="input-field"> <div class="input-field">
<form class="turboform" method="POST" action="https://makuracreations.com/free-seo-audit/domain" <form class="turboform" method="POST" action="https://makuracreations.com/free-seo-audit/domain"
...@@ -33,4 +44,6 @@ ...@@ -33,4 +44,6 @@
</div> </div>
</div> </div>
</div> </div>
</section> </section>
\ No newline at end of file <?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