Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
makura-2025
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Raj Shah
makura-2025
Commits
70ba1149
Commit
70ba1149
authored
Jan 02, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
done block forhero
parent
c87843db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
47 deletions
+43
-47
hero.php
blocks/seo/hero.php
+43
-31
seo-audit.php
page-templates/seo-audit.php
+0
-16
No files found.
blocks/seo/hero.php
View file @
70ba1149
...
...
@@ -8,38 +8,49 @@ if (isset($hero) && is_array($hero) && !empty($hero)):
$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"
>
$hero_v
=
$hero
[
'hero_v'
];
if
(
$hero_v
)
:
?>
<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
?:
''
;
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
))
:
?>
<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
;
?>
<h1>
<?php
echo
$hero_title
;
?>
</h1>
<?php
endif
;
?>
</div>
</div>
</div>
</section>
<?php
endif
;
endif
;
?>
</section>
<?php
endif
;
endif
;
endif
;
?>
<!-- !Seo - Hero Section -->
\ No newline at end of file
page-templates/seo-audit.php
deleted
100644 → 0
View file @
c87843db
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment