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
0776eabd
Commit
0776eabd
authored
Feb 06, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qupte update
parent
40c194c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
212 deletions
+35
-212
portfolio-conclusion-section.php
blocks/portfolio-conclusion-section.php
+33
-31
portfolio-text-image-section.php
blocks/portfolio-text-image-section.php
+2
-181
No files found.
blocks/portfolio-conclusion-section.php
View file @
0776eabd
...
@@ -53,38 +53,40 @@ if (isset($cmws) && is_array($cmws) && !empty($cmws)):
...
@@ -53,38 +53,40 @@ if (isset($cmws) && is_array($cmws) && !empty($cmws)):
$layout
=
$gallery_item
[
'layout'
]
?:
''
;
$layout
=
$gallery_item
[
'layout'
]
?:
''
;
$class_name
=
!
empty
(
$layout
)
?
explode
(
':'
,
$layout
[
0
])
:
'none'
;
$class_name
=
!
empty
(
$layout
)
?
explode
(
':'
,
$layout
[
0
])
:
'none'
;
$class_name
=
$class_name
[
0
];
$class_name
=
$class_name
[
0
];
if
(
!
empty
(
$img
))
:
if
(
!
empty
(
$img
))
:
?>
?>
<div
class=
"gallery-item
<?php
echo
$class_name
;
?>
"
>
<div
class=
"gallery-item
<?php
echo
$class_name
;
?>
"
>
<a
data-src=
"
<?php
echo
esc_url
(
$img
);
?>
"
>
<a
data-src=
"
<?php
echo
esc_url
(
$img
);
?>
"
>
<img
src=
"
<?php
echo
esc_url
(
$img
);
?>
"
alt=
"
<?php
echo
esc_attr
(
get_post_meta
(
attachment_url_to_postid
(
$img
),
'_wp_attachment_image_alt'
,
true
))
?:
get_the_title
(
attachment_url_to_postid
(
$img
));
?>
"
class=
"img-fluid"
>
<img
src=
"
<?php
echo
esc_url
(
$img
);
?>
"
<?php
if
(
$i
===
(
count
(
$cmws_gal
)
-
1
))
:
?>
<span><svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
alt=
"
<?php
echo
esc_attr
(
get_post_meta
(
attachment_url_to_postid
(
$img
),
'_wp_attachment_image_alt'
,
true
))
?:
get_the_title
(
attachment_url_to_postid
(
$img
));
?>
"
xmlns=
"http://www.w3.org/2000/svg"
>
class=
"img-fluid"
>
<path
<?php
if
(
$i
===
(
count
(
$cmws_gal
)
-
1
))
:
?>
<span><svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
d=
"M4.78477 6.63253C5.80499 6.63253 6.63205 5.80548 6.63205 4.78526C6.63205 3.76504 5.80499 2.93799 4.78477 2.93799C3.76455 2.93799 2.9375 3.76504 2.9375 4.78526C2.9375 5.80548 3.76455 6.63253 4.78477 6.63253Z"
xmlns=
"http://www.w3.org/2000/svg"
>
fill=
"white"
/>
<path
<path
d=
"M4.78477 6.63253C5.80499 6.63253 6.63205 5.80548 6.63205 4.78526C6.63205 3.76504 5.80499 2.93799 4.78477 2.93799C3.76455 2.93799 2.9375 3.76504 2.9375 4.78526C2.9375 5.80548 3.76455 6.63253 4.78477 6.63253Z"
d=
"M4.78477 13.0617C5.80499 13.0617 6.63205 12.2347 6.63205 11.2145C6.63205 10.1942 5.80499 9.36719 4.78477 9.36719C3.76455 9.36719 2.9375 10.1942 2.9375 11.2145C2.9375 12.2347 3.76455 13.0617 4.78477 13.0617Z"
fill=
"white"
/>
fill=
"white"
/>
<path
<path
d=
"M4.78477 13.0617C5.80499 13.0617 6.63205 12.2347 6.63205 11.2145C6.63205 10.1942 5.80499 9.36719 4.78477 9.36719C3.76455 9.36719 2.9375 10.1942 2.9375 11.2145C2.9375 12.2347 3.76455 13.0617 4.78477 13.0617Z"
d=
"M11.2145 6.63253C12.2347 6.63253 13.0617 5.80548 13.0617 4.78526C13.0617 3.76504 12.2347 2.93799 11.2145 2.93799C10.1942 2.93799 9.36719 3.76504 9.36719 4.78526C9.36719 5.80548 10.1942 6.63253 11.2145 6.63253Z"
fill=
"white"
/>
fill=
"white"
/>
<path
<path
d=
"M11.2145 6.63253C12.2347 6.63253 13.0617 5.80548 13.0617 4.78526C13.0617 3.76504 12.2347 2.93799 11.2145 2.93799C10.1942 2.93799 9.36719 3.76504 9.36719 4.78526C9.36719 5.80548 10.1942 6.63253 11.2145 6.63253Z"
d=
"M11.2145 13.0617C12.2347 13.0617 13.0617 12.2347 13.0617 11.2145C13.0617 10.1942 12.2347 9.36719 11.2145 9.36719C10.1942 9.36719 9.36719 10.1942 9.36719 11.2145C9.36719 12.2347 10.1942 13.0617 11.2145 13.0617Z"
fill=
"white"
/>
fill=
"white"
/>
<path
</svg>
View All
d=
"M11.2145 13.0617C12.2347 13.0617 13.0617 12.2347 13.0617 11.2145C13.0617 10.1942 12.2347 9.36719 11.2145 9.36719C10.1942 9.36719 9.36719 10.1942 9.36719 11.2145C9.36719 12.2347 10.1942 13.0617 11.2145 13.0617Z"
</span>
<?php
endif
;
?>
fill=
"white"
/>
</a>
</svg>
View All
</div>
</span>
<?php
endif
;
?>
<?php
endif
;
endforeach
;
?>
</a>
</div>
<?php
endif
;
endforeach
;
?>
</div>
</div>
<?php
endif
;
?>
<?php
endif
;
?>
</div>
</div>
</section>
</section>
<?php
endif
;
endif
;
?>
<?php
endif
;
endif
;
?>
<
section
class=
"quote PROJECT-CONCLUSION"
>
<
?php
if
(
$quote_text
=
get_field
(
'quote_text'
))
:
?
>
<
div
class=
"container
"
>
<
section
class=
"quote PROJECT-CONCLUSION
"
>
<
?php
if
(
$quote_text
=
get_field
(
'quote_text'
))
:
?
>
<
div
class=
"container"
>
<div
class=
"row justify-content-center"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-lg-10 col-xl-8 mx-auto"
>
<div
class=
"col-lg-10 col-xl-8 mx-auto"
>
<div
class=
"position-relative pt-40 pb-100 quote-text"
>
<div
class=
"position-relative pt-40 pb-100 quote-text"
>
...
@@ -99,6 +101,6 @@ if (isset($cmws) && is_array($cmws) && !empty($cmws)):
...
@@ -99,6 +101,6 @@ if (isset($cmws) && is_array($cmws) && !empty($cmws)):
</div>
</div>
</div>
</div>
</div>
</div>
<?php
endif
;
?>
</div>
</div>
</section>
</section>
<?php
endif
;
?>
\ No newline at end of file
\ No newline at end of file
blocks/portfolio-text-image-section.php
View file @
0776eabd
...
@@ -175,183 +175,4 @@ if (isset($content) && is_array($content) && !empty($content)):
...
@@ -175,183 +175,4 @@ if (isset($content) && is_array($content) && !empty($content)):
</section>
</section>
<?php
endforeach
;
endif
;
?>
<?php
endforeach
;
endif
;
?>
<!-- content -->
<!-- content -->
\ No newline at end of file
<?php
if
(
have_rows
(
'scontent'
))
:
?>
<!-- <section
class="
<?php
echo
(
get_sub_field
(
'background_colour'
)
==
'dark'
)
?
'background-dark'
:
'bg-primary'
;
?>
container-fluid py-80 ONLY-TEXT-SECTION">
<div class="container">
<div class="row">
<?php
if
(
$image_position
==
'left'
)
:
?>
<div class="col-lg-6 col-12">
<?php
if
(
$image
)
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
</div>
<?php
endif
;
?>
<div class="col-lg-6 col-12">
<?php
echo
get_sub_field
(
'description'
);
?>
</div>
<?php
if
(
$image_position
!=
'left'
)
:
?>
<div class="col-lg-6 col-12">
<?php
if
(
$image
)
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
</div>
<?php
endif
;
?>
</div>
</div>
</section> -->
<section
class=
"portfolio-block "
id=
"ui-ux-design"
>
<?php
$index
=
0
;
?>
<?php
while
(
have_rows
(
'content'
))
:
the_row
();
$bgClass
=
get_sub_field
(
'background_colour'
);
$class_name
=
!
empty
(
$bgClass
)
?
explode
(
':'
,
$bgClass
)
:
'none'
;
$class_name
=
$class_name
[
0
];
$image_position
=
get_sub_field
(
'image_position'
);
$image
=
get_sub_field
(
'image'
);
if
(
$index
===
0
)
:
?>
<div
class=
"ONLY-TEXT-SECTION py-80
<?php
echo
$class_name
;
?>
"
>
<div
class=
"container"
>
<div
class=
"row justify-content-between"
>
<div
class=
"col-lg-5 col-xl-4 order-lg-2"
>
<?php
if
(
$image
)
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
</div>
<div
class=
"col-lg-7 order-lg-1"
>
<?php
echo
get_sub_field
(
'description'
);
?>
</div>
</div>
</div>
</div>
<?php
elseif
(
$index
===
1
)
:
?>
<div
class=
"ONLY-TEXT-SECTION top-primary mb-60"
>
<div
class=
"container"
>
<div
class=
"bg-white content-box"
>
<div
class=
"section-title"
>
<h3>
Challenges of Graphics Design
</h3>
<p>
CAN faced challenges in capturing audience attention due to outdated and uninspired designs. Their social
media graphics lacked creativity, and their website failed to engage modern users, especially the younger
demographic.
</p>
</div>
<div
class=
"row justify-content-between"
>
<div
class=
"col-lg-6 order-lg-2"
>
<?php
if
(
$image
)
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
</div>
<div
class=
"col-lg-6 order-lg-1"
>
<?php
echo
get_sub_field
(
'description'
);
?>
</div>
</div>
</div>
</div>
</div>
<?php
else
:
?>
<div
class=
"ONLY-TEXT-SECTION mb-80"
>
<div
class=
"container"
>
<div
class=
"row justify-content-between"
>
<div
class=
"col-lg-5 "
>
<?php
if
(
$image
)
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
</div>
<div
class=
"col-lg-7"
>
<?php
echo
get_sub_field
(
'description'
);
?>
</div>
</div>
</div>
</div>
<?php
endif
;
$index
+=
1
;
endwhile
;
?>
<div
class=
"block-gallery makura-new mb-120"
>
<div
class=
"container"
>
<div
class=
"section-title slide-up"
>
<div
class=
"title"
>
<h3>
UI/UX Design Galleries
</h3>
<p>
Explore a collection of stunning and inspiring graphic design showcases.
</p>
</div>
<div
class=
"slider-controller d-none d-md-flex justify-content-end"
>
<button
type=
"button"
class=
"prev"
>
<svg
width=
"14"
height=
"14"
viewBox=
"0 0 14 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M13.6693 7.83341L3.5276 7.83341L8.18594 12.4917L7.0026 13.6667L0.335937 7.00008L7.0026 0.333413L8.1776 1.50841L3.5276 6.16675L13.6693 6.16675L13.6693 7.83341Z"
fill=
"#58595A"
/>
</svg>
</button>
<button
type=
"button"
class=
"next"
>
<svg
width=
"14"
height=
"14"
viewBox=
"0 0 14 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M0.33073 7.83341L10.4724 7.83341L5.81406 12.4917L6.9974 13.6667L13.6641 7.00008L6.9974 0.333413L5.8224 1.50841L10.4724 6.16675L0.33073 6.16675L0.33073 7.83341Z"
fill=
"#58595A"
/>
</svg>
</button>
</div>
</div>
<div
class=
"gallery-slider-wrapper slide-up"
>
<div
class=
"gallery-slider owl-carousel "
id=
"ui-ux-gallery"
>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-10.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-10.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-11.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-11.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-12.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-12.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-13.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-13.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-14.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-14.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-15.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-15.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-11.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-11.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-10.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-10.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
</div>
</div>
</div>
</div>
</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