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
837811b9
Commit
837811b9
authored
Jan 02, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finalized site comparison
parent
d532082b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
76 additions
and
104 deletions
+76
-104
compare.php
blocks/seo/compare.php
+76
-39
site-comparison.php
page-templates/site-comparison.php
+0
-16
audit-page-intro.php
template-parts/site-comparison/audit-page-intro.php
+0
-8
comparison-form.php
template-parts/site-comparison/comparison-form.php
+0
-41
No files found.
blocks/seo/compare.php
View file @
837811b9
<section
class=
"COMPARISON-FORM pt-80"
>
<!-- SEO - compare Section -->
<div
class=
"container"
>
<?php
<div
class=
"section-title top-title"
>
$compare
=
get_field
(
'compare'
)
?:
[];
<h3>
Find Keyword GAP Study from our best competitor analysis tool
</h3>
if
(
isset
(
$compare
)
&&
is_array
(
$compare
)
&&
!
empty
(
$compare
))
:
<p>
Unable to find competion gap to perform in google search, try our best competitor analysis tool, which gives
$enable_compare
=
$compare
[
'enable_compare'
];
you the detail data of your competitors
</p>
if
(
$enable_compare
)
:
$compare_title
=
$compare
[
'compare_title'
]
?:
''
;
</div>
$compare_desc
=
$compare
[
'compare_desc'
]
?:
''
;
<div
class=
"row"
>
$compare_url
=
$compare
[
'compare_url'
]
?:
''
;
<div
class=
"col-sm-6"
>
$compare_btn
=
$compare
[
'compare_btn'
]
?:
''
;
<div
class=
"input-field"
>
?>
<input
type=
"text"
placeholder=
"Website URL"
>
<section
class=
"COMPARISON-FORM pt-80"
>
<div
class=
"container"
>
<div
class=
"section-title top-title"
>
<?php
if
(
!
empty
(
$compare_title
))
:
?>
<h3>
<?php
echo
$compare_title
;
?>
</h3>
<?php
endif
;
echo
$compare_desc
?:
''
;
?>
</div>
</div>
</div>
<?php
<div
class=
"col-sm-6"
>
if
(
!
empty
(
$compare_url
))
:
<div
class=
"input-field"
>
?>
<input
type=
"text"
placeholder=
"Competitor’s Website URL"
>
<form
class=
"turboform"
method=
"POST"
action=
"
<?php
echo
esc_url
(
$compare_url
);
?>
"
onsubmit=
"return fixURL();"
>
<div
class=
"row"
>
<div
class=
"col-sm-6"
>
<div
class=
"input-field"
>
<input
type=
"text"
id=
"websiteUrl"
name=
"websiteUrl"
placeholder=
"Website URL"
>
</div>
</div>
<div
class=
"col-sm-6"
>
<div
class=
"input-field"
>
<input
type=
"text"
id=
"competitorUrl"
name=
"competitorUrl"
placeholder=
"Competitor’s Website URL"
>
</div>
</div>
</div>
<?php
if
(
!
empty
(
$compare_btn
))
:
?>
<div
class=
"submit-field "
>
<button
class=
"btn btn-start-project-white"
>
<?php
echo
$compare_btn
;
?>
<svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M-6.11959e-07 9L12.17 9L6.58 14.59L8 16L16 8L8 6.99382e-07L6.59 1.41L12.17 7L-7.86805e-07 7L-6.11959e-07 9Z"
fill=
"white"
/>
</svg>
</button>
<?php
endif
;
?>
</div>
</form>
<?php
endif
;
?>
<!-- <div class="submit-field download-seo-audit">
<input type="submit" value="Experimental Download">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M-6.11959e-07 9L12.17 9L6.58 14.59L8 16L16 8L8 6.99382e-07L6.59 1.41L12.17 7L-7.86805e-07 7L-6.11959e-07 9Z"
fill="white" />
</svg>
</div>
</div>
</div>
</div> -->
</div>
</section>
<div
class=
"submit-field "
>
<button
class=
"btn btn-start-project-white"
>
<script>
Analyze
function
fixURL
()
{
<svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
var
websiteUrl
=
document
.
getElementById
(
'websiteUrl'
).
value
.
trim
();
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
var
competitorUrl
=
document
.
getElementById
(
'competitorUrl'
).
value
.
trim
();
d=
"M-6.11959e-07 9L12.17 9L6.58 14.59L8 16L16 8L8 6.99382e-07L6.59 1.41L12.17 7L-7.86805e-07 7L-6.11959e-07 9Z"
if
(
!
websiteUrl
||
!
competitorUrl
)
{
fill=
"white"
/>
alert
(
'Please provide both URLs.'
);
</svg>
return
false
;
</button>
}
</div>
websiteUrl
=
websiteUrl
.
replace
(
/^https
?
:
\/\/
/
,
''
).
replace
(
/^www
\.
/
,
''
).
toLowerCase
();
<div
class=
"submit-field download-seo-audit"
>
competitorUrl
=
competitorUrl
.
replace
(
/^https
?
:
\/\/
/
,
''
).
replace
(
/^www
\.
/
,
''
).
toLowerCase
();
<input
type=
"submit"
value=
"Experimental Download"
>
var
actionUrl
=
'https://makuracreations.com/free-seo-audit/compare/'
+
websiteUrl
+
'/vs/'
+
competitorUrl
;
<svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
document
.
querySelector
(
'form.turboform'
).
action
=
actionUrl
;
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
return
true
;
d=
"M-6.11959e-07 9L12.17 9L6.58 14.59L8 16L16 8L8 6.99382e-07L6.59 1.41L12.17 7L-7.86805e-07 7L-6.11959e-07 9Z"
}
fill=
"white"
/>
</script>
<?php
endif
;
endif
;
?>
</svg>
<!-- !SEO - compare Section -->
</div>
\ No newline at end of file
</div>
</section>
\ No newline at end of file
page-templates/site-comparison.php
deleted
100644 → 0
View file @
d532082b
<?php
/**
* Template Name: SITE Comparison
*/
get_header
();
the_content
();
get_template_part
(
"/template-parts/site-comparison/audit-page-intro"
,
null
);
get_template_part
(
"/template-parts/site-comparison/comparison-form"
,
null
);
get_template_part
(
"/template-parts/service-detail/service-listing"
,
null
);
get_template_part
(
"/template-parts/seo-audit/audit-quote"
,
null
);
get_footer
();
?>
\ No newline at end of file
template-parts/site-comparison/audit-page-intro.php
deleted
100644 → 0
View file @
d532082b
<section
class=
"AUDIT-INNER-BANNER pb-40"
>
<div
class=
"container"
>
<div
class=
"top-title"
>
<h1>
Best Competitor Analysis Tool for you
</h1>
</div>
</div>
</section>
\ No newline at end of file
template-parts/site-comparison/comparison-form.php
deleted
100644 → 0
View file @
d532082b
<section
class=
"COMPARISON-FORM pt-80"
>
<div
class=
"container"
>
<div
class=
"section-title top-title"
>
<h3>
Find Keyword GAP Study from our best competitor analysis tool
</h3>
<p>
Unable to find competion gap to perform in google search, try our best competitor analysis tool, which gives
you the detail data of your competitors
</p>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-6"
>
<div
class=
"input-field"
>
<input
type=
"text"
placeholder=
"Website URL"
>
</div>
</div>
<div
class=
"col-sm-6"
>
<div
class=
"input-field"
>
<input
type=
"text"
placeholder=
"Competitor’s Website URL"
>
</div>
</div>
</div>
<div
class=
"submit-field "
>
<button
class=
"btn btn-start-project-white"
>
Analyze
<svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M-6.11959e-07 9L12.17 9L6.58 14.59L8 16L16 8L8 6.99382e-07L6.59 1.41L12.17 7L-7.86805e-07 7L-6.11959e-07 9Z"
fill=
"white"
/>
</svg>
</button>
</div>
<div
class=
"submit-field download-seo-audit"
>
<input
type=
"submit"
value=
"Experimental Download"
>
<svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M-6.11959e-07 9L12.17 9L6.58 14.59L8 16L16 8L8 6.99382e-07L6.59 1.41L12.17 7L-7.86805e-07 7L-6.11959e-07 9Z"
fill=
"white"
/>
</svg>
</div>
</div>
</section>
\ 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