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
8083b18d
Commit
8083b18d
authored
May 30, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
done case study banner
parent
c17e6f39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
case-study-banner.php
blocks/case-study/case-study-banner.php
+16
-10
No files found.
blocks/case-study/case-study-banner.php
View file @
8083b18d
...
...
@@ -22,22 +22,28 @@
</a>
<?php
endif
;
?>
</div>
<?php
$outcome
=
get_field
(
'outcome'
)
?:
[];
if
(
isset
(
$outcome
)
&&
is_array
(
$outcome
)
&&
!
empty
(
$outcome
))
:
?>
<div
class=
"col-lg-4 col-xl-3"
>
<div
class=
"banner-counter"
>
<?php
foreach
(
$outcome
as
$i
=>
$outcome_item
)
:
$outcome_title
=
$outcome_item
[
'outcome_title'
]
??
''
;
$outcome_value
=
$outcome_item
[
'outcome_desc'
]
??
''
;
?>
<div
class=
"counter-item"
>
<h2><span
class=
"counter"
data-reach=
"78"
>
78
</span>
%
</h2>
<p>
increased in organic traffic
</p>
</div>
<div
class=
"counter-item"
>
<h2><span
class=
"counter"
data-reach=
"80"
>
80
</span>
+
</h2>
<p>
keywords ranked under top 20 globally
</p>
</div>
<div
class=
"counter-item"
>
<h2><span
class=
"counter"
data-reach=
"96"
>
96
</span>
%
</h2>
<p>
reduction on bounce rate
</p>
<?php
if
(
!
empty
(
$outcome_title
))
:
?>
<h2><span
class=
""
>
<?php
echo
$outcome_title
;
?>
</span></h2>
<?php
endif
;
?>
<?php
if
(
!
empty
(
$outcome_value
))
:
?>
<p>
<?php
echo
$outcome_value
;
?>
</p>
<?php
endif
;
?>
</div>
<?php
endforeach
;
?>
</div>
</div>
<?php
endif
;
?>
</div>
<?php
if
(
$link
=
get_field
(
'link'
))
:
$link_target
=
$link
[
'target'
]
?
$link
[
'target'
]
:
'_self'
;
?>
...
...
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