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
4ef86521
Commit
4ef86521
authored
Feb 05, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
single-portfolio: scope of work title done
parent
284fe9f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
29 deletions
+36
-29
portfolio-banner.php
blocks/portfolio-banner.php
+36
-29
No files found.
blocks/portfolio-banner.php
View file @
4ef86521
...
@@ -3,41 +3,47 @@
...
@@ -3,41 +3,47 @@
<div
class=
"row justify-content-between"
>
<div
class=
"row justify-content-between"
>
<div
class=
"col-lg-7 title-wrapper"
>
<div
class=
"col-lg-7 title-wrapper"
>
<div
class=
"portfolio-detail-content-box pb-40"
>
<div
class=
"portfolio-detail-content-box pb-40"
>
<?php
the_field
(
'description'
);
?>
<?php
the_field
(
'description'
);
?>
</div>
</div>
<?php
if
(
$link
=
get_field
(
'link'
))
:
$link_target
=
$link
[
'target'
]
?
$link
[
'target'
]
:
'_self'
;
?>
<?php
if
(
$link
=
get_field
(
'link'
))
:
<a
href=
"
<?php
echo
$link
[
'url'
];
?>
"
target=
"_blank"
class=
"open-in-new-tab d-none d-lg-inline-block"
>
$link_target
=
$link
[
'target'
]
?
$link
[
'target'
]
:
'_self'
;
?>
<?php
echo
$link
[
'title'
];
?>
<a
href=
"
<?php
echo
$link
[
'url'
];
?>
"
target=
"_blank"
class=
"open-in-new-tab d-none d-lg-inline-block"
>
<svg
width=
"17"
height=
"17"
viewBox=
"0 0 17 17"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<?php
echo
$link
[
'title'
];
?>
<path
<svg
width=
"17"
height=
"17"
viewBox=
"0 0 17 17"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
d=
"M14.3379 4.552L2.8619 16.028L0.976562 14.1427L12.4512 2.66667H2.3379V0H17.0046V14.6667H14.3379V4.552Z"
<path
fill=
"#005AFF"
/>
d=
"M14.3379 4.552L2.8619 16.028L0.976562 14.1427L12.4512 2.66667H2.3379V0H17.0046V14.6667H14.3379V4.552Z"
</svg>
fill=
"#005AFF"
/>
</a>
</svg>
<?php
endif
;
?>
</a>
<?php
endif
;
?>
</div>
</div>
<div
class=
"col-lg-4"
>
<div
class=
"col-lg-4"
>
<div
class=
"client-logo-wrapper d-none d-lg-block"
>
<div
class=
"client-logo-wrapper d-none d-lg-block"
>
<?php
if
(
$image
=
get_field
(
'client_logo'
))
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
<?php
if
(
$image
=
get_field
(
'client_logo'
))
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
</div>
</div>
<?php
if
(
$scope
=
get_field
(
'scope_of_work'
))
:?>
<?php
<
div
class
="
scope
-
work
-
wrapper
">
$sof_title
=
get_field
(
'sof_title'
)
?:
'Scope of Work'
;
<span class="
sm
-
text
">Scope of Work</span>
if
(
$scope
=
get_field
(
'scope_of_work'
))
:
?>
<ul class="
list
-
unstyled
">
<div
class=
"scope-work-wrapper"
>
<?php echo
$scope
;?>
<?php
if
(
!
empty
(
$sof_title
))
:
?>
<span
class=
"sm-text"
>
<?php
echo
$sof_title
;
?>
</span>
<?php
endif
;
?>
</ul>
<ul
class=
"list-unstyled"
>
</div>
<?php
echo
$scope
;
?>
<?php endif;?>
</ul>
</div>
<?php
endif
;
?>
</div>
</div>
</div>
</div>
<?php if (
$link
= get_field('link')) :
$link_target
=
$link['target']
?
$link['target']
: '_self';?>
<?php
if
(
$link
=
get_field
(
'link'
))
:
<a href="
<?
php
echo
$link
[
'url'
];
?>
" target="_blank" class="open-in-new-tab d-lg-none">
$link_target
=
$link
[
'target'
]
?
$link
[
'target'
]
:
'_self'
;
?>
<?php
echo
$link
[
'title'
];
?>
<a
href=
"
<?php
echo
$link
[
'url'
];
?>
"
target=
"_blank"
class=
"open-in-new-tab d-lg-none"
>
<svg
width=
"17"
height=
"17"
viewBox=
"0 0 17 17"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<?php
echo
$link
[
'title'
];
?>
<path
d=
"M14.3379 4.552L2.8619 16.028L0.976562 14.1427L12.4512 2.66667H2.3379V0H17.0046V14.6667H14.3379V4.552Z"
<svg
width=
"17"
height=
"17"
viewBox=
"0 0 17 17"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
fill=
"#005AFF"
/>
<path
d=
"M14.3379 4.552L2.8619 16.028L0.976562 14.1427L12.4512 2.66667H2.3379V0H17.0046V14.6667H14.3379V4.552Z"
</svg>
fill=
"#005AFF"
/>
</a>
</svg>
<?php
endif
;
?>
</a>
<?php
endif
;
?>
</div>
</div>
</section>
</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