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
357e464b
Commit
357e464b
authored
Jun 06, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle spider interactive animation
parent
1e1b1a93
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
welcome-banner.php
blocks/welcome-banner.php
+12
-5
No files found.
blocks/welcome-banner.php
View file @
357e464b
<?php
if
(
get_field
(
'enable_welcome_banner_section'
))
:
?>
<section
class=
"bg-secondary background-dark py-80 HOME TOP-BANNER-SECTION"
>
<section
class=
"bg-secondary background-dark py-80 HOME TOP-BANNER-SECTION"
>
<div
class=
"container"
>
<div
class=
"row align-items-center"
>
<div
class=
"col-lg-5 col-md-5 col-12 mx-auto left-text"
>
...
...
@@ -42,16 +42,22 @@
endif
;
?>
</div>
<div
class=
"col-lg-6 col-md-6 col-12 mx-auto"
>
<?php
<?php
$enable_interactive_spider
=
get_field
(
'enable_interactive_spider'
)
?:
''
;
if
(
isset
(
$enable_interactive_spider
)
&&
$enable_interactive_spider
)
:
?>
<canvas
id=
"scratch"
style=
"width: 500px; height: 400px;"
></canvas>
<?php
else
:
$image
=
get_field
(
'banner_image'
);
$size
=
'full'
;
// (thumbnail, medium, large, full or custom size)
$size
=
'full'
;
if
(
$image
)
{
echo
wp_get_attachment_image
(
$image
,
$size
);
}
?>
}
endif
;
?>
</div>
</div>
</div>
</section>
</section>
<?php
endif
;
?>
<script
type=
"text/javascript"
src=
"https://widget.clutch.co/static/js/widget.js"
></script>
\ 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