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
5367ccd3
Commit
5367ccd3
authored
Jun 06, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the to and forth slider
parent
a1ca2eee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
6 deletions
+36
-6
style.js
assets/js/style.js
+16
-3
partners-carousel.php
blocks/partners-carousel.php
+20
-3
No files found.
assets/js/style.js
View file @
5367ccd3
...
...
@@ -274,12 +274,20 @@
});
//customer-feedback-course-detail
$
(
".client-carouselwrapper"
).
owlCarousel
({
loop
:
false
,
autoplay
:
true
,
$
(
".client-carouselwrapper"
).
each
(
function
(
index
)
{
const
isSecond
=
index
===
1
;
$
(
this
).
owlCarousel
({
loop
:
true
,
margin
:
20
,
nav
:
false
,
dots
:
false
,
autoplay
:
true
,
rtl
:
isSecond
,
slideTransition
:
"linear"
,
autoplayTimeout
:
2000
,
autoplaySpeed
:
2000
,
autoplayHoverPause
:
true
,
responsive
:
{
0
:
{
items
:
3
,
...
...
@@ -290,8 +298,13 @@
1000
:
{
items
:
5
,
},
1200
:
{
items
:
6
,
},
},
});
});
//more-course-section
$
(
".more-course-section"
).
owlCarousel
({
...
...
blocks/partners-carousel.php
View file @
5367ccd3
<?php
if
(
get_field
(
'enable_partners_carousel_section'
))
:
?>
<section
class=
"py-80 container-fluid HOME TOP-CAROUSEL-SECTION reversed"
>
<section
class=
"py-80 container-fluid HOME TOP-CAROUSEL-SECTION reversed"
>
<div
class=
"container"
>
<div
class=
"row mb-60 pb-60 border-bottom"
>
<div
class=
"mb-3 text-center title-wrapper"
>
<h5>
<?php
echo
get_field
(
'pc_title'
);
?>
</h5>
</div>
<div
class=
"col-lg-10 mx-auto"
>
<div
class=
""
>
<div
class=
"client-carouselwrapper owl-carousel owl-theme mb-4"
>
<?php
if
(
have_rows
(
'pc_partners_list'
))
:
while
(
have_rows
(
'pc_partners_list'
))
:
the_row
();
?>
<!--<a target="_blank" href="
<?php
echo
get_sub_field
(
'link'
);
?>
" class="item">-->
<!--<a href="" onclick="return false;" class="item">-->
<?php
$image
=
get_sub_field
(
'logo'
);
$size
=
'full'
;
// (thumbnail, medium, large, full or custom size)
if
(
$image
)
{
echo
wp_get_attachment_image
(
$image
,
$size
);
}
?>
<!--</a>-->
<?php
endwhile
;
endif
;
?>
</div>
<div
class=
"client-carouselwrapper owl-carousel owl-theme"
>
<?php
if
(
have_rows
(
'pc_partners_list'
))
:
...
...
@@ -25,5 +41,5 @@
</div>
</div>
</div>
</section>
</section>
<?php
endif
;
?>
\ 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