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
e3bfb144
Commit
e3bfb144
authored
Jun 11, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab.makuracreations.xyz:rajshah/makura-2025 into dev
parents
b86ad37b
f9ddb829
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
partners-carousel.php
blocks/partners-carousel.php
+12
-11
welcome-banner.php
blocks/welcome-banner.php
+4
-3
No files found.
blocks/partners-carousel.php
View file @
e3bfb144
...
@@ -24,20 +24,21 @@
...
@@ -24,20 +24,21 @@
</div>
</div>
<div
class=
"client-carouselwrapper owl-carousel owl-theme"
>
<div
class=
"client-carouselwrapper owl-carousel owl-theme"
>
<?php
<?php
if
(
have_rows
(
'pc_partners_list'
))
:
$partners
=
get_field
(
'pc_partners_list'
);
// Get entire repeater as array
while
(
have_rows
(
'pc_partners_list'
))
:
the_row
();
?>
if
(
$partners
)
{
<!--<a target="_blank" href="
<?php
echo
get_sub_field
(
'link'
);
?>
" class="item">-->
$partners
=
array_reverse
(
$partners
);
// Reverse the order
<!--<a href="" onclick="return false;" class="item">-->
<?php
foreach
(
$partners
as
$partner
)
{
$image
=
get_sub_field
(
'logo'
)
;
$image
=
$partner
[
'logo'
]
;
$size
=
'full'
;
// (thumbnail, medium, large, full or custom size)
$size
=
'full'
;
// thumbnail, medium, large, full or custom size
if
(
$image
)
{
if
(
$image
)
{
echo
wp_get_attachment_image
(
$image
,
$size
);
echo
wp_get_attachment_image
(
$image
,
$size
);
}
?>
}
<!--</a>-->
}
<?php
endwhile
;
}
endif
;
?>
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
blocks/welcome-banner.php
View file @
e3bfb144
<?php
if
(
get_field
(
'enable_welcome_banner_section'
))
:
?>
<?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=
"container"
>
<div
class=
"row align-items-center"
>
<div
class=
"row align-items-center"
>
<div
class=
"col-lg-6 col-md-6 col-12 mx-auto order-md-2"
>
<div
class=
"col-lg-6 col-md-6 col-12 mx-auto order-md-2"
>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
$review_items
=
$review_widget
[
'widget_items'
]
?:
''
;
$review_items
=
$review_widget
[
'widget_items'
]
?:
''
;
if
(
isset
(
$review_items
)
&&
is_array
(
$review_items
)
&&
!
empty
(
$review_items
))
:
if
(
isset
(
$review_items
)
&&
is_array
(
$review_items
)
&&
!
empty
(
$review_items
))
:
?>
?>
<div
class=
"review-block d-flex
"
>
<div
class=
"review-block d-flex gap-2 flex-wrap
"
>
<?php
foreach
(
$review_items
as
$i
=>
$item
)
:
<?php
foreach
(
$review_items
as
$i
=>
$item
)
:
$widget
=
$item
[
'widget'
]
??
''
;
$widget
=
$item
[
'widget'
]
??
''
;
if
(
empty
(
$widget
))
continue
;
if
(
empty
(
$widget
))
continue
;
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</section>
<?php
endif
;
?>
<?php
endif
;
?>
<script
type=
"text/javascript"
src=
"https://widget.clutch.co/static/js/widget.js"
></script>
<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