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
1b83707e
Commit
1b83707e
authored
Jan 02, 2025
by
jhukal9@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the toc
parent
d0a84baf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
200 additions
and
184 deletions
+200
-184
style.css
assets/css/style.css
+0
-0
single-post.php
single-post.php
+200
-184
No files found.
assets/css/style.css
View file @
1b83707e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
single-post.php
View file @
1b83707e
...
@@ -6,226 +6,242 @@ get_header();
...
@@ -6,226 +6,242 @@ get_header();
?>
?>
<div
class=
"container-fluid py-40 background-dark blog-breadcrumb-background-dark breadcrumb-background-dark py-40"
>
<div
class=
"container-fluid py-40 background-dark blog-breadcrumb-background-dark breadcrumb-background-dark py-40"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<nav
aria-label=
"breadcrumb"
>
<nav
aria-label=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
<li
class=
"breadcrumb-item"
><a
href=
<?php
echo
site_url
(
'/'
);
?>
>
Home</a
></li>
<li
class=
"breadcrumb-item"
><a
href=
<?php
echo
site_url
(
'/'
);
?>
>
Home</a
></li>
<li
class=
"breadcrumb-item"
><a
href=
"
<?php
echo
get_home_url
()
.
'/blogs/'
;
?>
"
>
Blog
</a></li>
<li
class=
"breadcrumb-item"
><a
href=
"
<?php
echo
get_home_url
()
.
'/blogs/'
;
?>
"
>
Blog
</a></li>
<li
class=
"breadcrumb-item active"
aria-current=
"page"
>
<?php
the_title
();
?>
</li>
<li
class=
"breadcrumb-item active"
aria-current=
"page"
>
<?php
the_title
();
?>
</li>
</ol>
</ol>
</nav>
</nav>
</div>
</div>
</div>
</div>
</div>
</div>
<section
class=
"background-dark pb-60 BLOGDETAIL-TOP-TITLE-SECTION"
>
<section
class=
"background-dark pb-60 BLOGDETAIL-TOP-TITLE-SECTION"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row justify-content-between"
>
<div
class=
"row justify-content-between"
>
<div
class=
"col-lg-10 pb-60 title-wrapper"
>
<div
class=
"col-lg-10 pb-60 title-wrapper"
>
<span>
Published
<?php
echo
get_the_date
(
'd, M Y'
);
?>
</span>
<span>
Published
<?php
echo
get_the_date
(
'd, M Y'
);
?>
</span>
<h1>
<?php
the_title
();
?>
</h1>
<h1>
<?php
the_title
();
?>
</h1>
<div
class=
"post-date d-flex align-items-center"
>
<div
class=
"post-date d-flex align-items-center"
>
<div
class=
"d-flex align-items-center svg-wrapper"
>
<div
class=
"d-flex align-items-center svg-wrapper"
>
<svg
height=
"24"
width=
"24"
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"none"
<svg
height=
"24"
width=
"24"
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
width=
"24"
height=
"24"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
width=
"24"
height=
"24"
stroke-width=
"2"
>
stroke-width=
"2"
>
<path
d=
"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"
></path>
<path
d=
"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"
></path>
<path
d=
"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"
></path>
<path
d=
"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"
></path>
</svg>
</svg>
<?php
echo
get_the_author
();
?>
<?php
echo
get_the_author
();
?>
</div>
</div>
<div
class=
"d-flex align-items-center svg-wrapper"
>
<div
class=
"d-flex align-items-center svg-wrapper"
>
<svg
width=
"24"
height=
"24"
viewBox=
"0 0 24 24"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<svg
width=
"24"
height=
"24"
viewBox=
"0 0 24 24"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
clip-path=
"url(#clip0_1250_4547)"
>
<g
clip-path=
"url(#clip0_1250_4547)"
>
<path
<path
d=
"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"
d=
"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"
stroke=
"#F9F8F4"
stroke-width=
"2"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
stroke=
"#F9F8F4"
stroke-width=
"2"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
<path
d=
"M12 7V12L15 15"
stroke=
"#F9F8F4"
stroke-width=
"2"
stroke-linecap=
"round"
<path
d=
"M12 7V12L15 15"
stroke=
"#F9F8F4"
stroke-width=
"2"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
stroke-linejoin=
"round"
/>
</g>
</g>
<defs>
<defs>
<clipPath
id=
"clip0_1250_4547"
>
<clipPath
id=
"clip0_1250_4547"
>
<rect
width=
"24"
height=
"24"
fill=
"white"
/>
<rect
width=
"24"
height=
"24"
fill=
"white"
/>
</clipPath>
</clipPath>
</defs>
</defs>
</svg>
</svg>
<?php
<?php
$post_content
=
get_the_content
();
$post_content
=
get_the_content
();
$reading_time
=
calculate_reading_time
(
$post_content
);
$reading_time
=
calculate_reading_time
(
$post_content
);
echo
$reading_time
;
?>
mins read
echo
$reading_time
;
?>
mins read
</div>
</div>
<div
class=
"d-flex views"
>
<div
class=
"d-flex views"
>
<svg
class=
"me-2"
width=
"24"
height=
"24"
viewBox=
"0 0 24 24"
fill=
"none"
<svg
class=
"me-2"
width=
"24"
height=
"24"
viewBox=
"0 0 24 24"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
xmlns=
"http://www.w3.org/2000/svg"
>
<path
<path
d=
"M12 5.25C4.5 5.25 1.5 12 1.5 12C1.5 12 4.5 18.75 12 18.75C19.5 18.75 22.5 12 22.5 12C22.5 12 19.5 5.25 12 5.25Z"
d=
"M12 5.25C4.5 5.25 1.5 12 1.5 12C1.5 12 4.5 18.75 12 18.75C19.5 18.75 22.5 12 22.5 12C22.5 12 19.5 5.25 12 5.25Z"
stroke=
"#F9F8F4"
stroke-width=
"2"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
stroke=
"#F9F8F4"
stroke-width=
"2"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
<path
<path
d=
"M12 15.75C14.0711 15.75 15.75 14.0711 15.75 12C15.75 9.92893 14.0711 8.25 12 8.25C9.92893 8.25 8.25 9.92893 8.25 12C8.25 14.0711 9.92893 15.75 12 15.75Z"
d=
"M12 15.75C14.0711 15.75 15.75 14.0711 15.75 12C15.75 9.92893 14.0711 8.25 12 8.25C9.92893 8.25 8.25 9.92893 8.25 12C8.25 14.0711 9.92893 15.75 12 15.75Z"
stroke=
"#F9F8F4"
stroke-width=
"2"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
stroke=
"#F9F8F4"
stroke-width=
"2"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
</svg>
</svg>
<?php
echo
do_shortcode
(
'[post-views]'
);
?>
Views
<?php
echo
do_shortcode
(
'[post-views]'
);
?>
Views
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</section>
<section
class=
"container-fluid px-0 BLOGDETAIL-PAGE-BANNER"
>
<section
class=
"container-fluid px-0 BLOGDETAIL-PAGE-BANNER"
>
<div
class=
"row"
>
<div
class=
"row"
>
<?php
get_banner_image
(
get_the_ID
());
?>
<?php
get_banner_image
(
get_the_ID
());
?>
</div>
</div>
</section>
</section>
<section
class=
"py-60 mb-60 BLOGDETAIL-LIST-ITEM-SECTION"
>
<section
class=
"py-60 mb-60 BLOGDETAIL-LIST-ITEM-SECTION"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row justify-content-between"
>
<div
class=
"row justify-content-between"
>
<div
class=
"col-lg-3 col-12 left-filter"
>
<div
class=
"col-lg-3 col-12 left-filter"
>
<div
class=
"blog-side-bar blog-detail-side-bar"
>
<div
class=
"blog-side-bar blog-detail-side-bar"
>
<div
class=
"back-to-blog font-16 fw-600"
>
<div
class=
"back-to-blog font-16 fw-600"
>
<a
href=
"
<?php
echo
get_home_url
()
.
'/blogs/'
;
?>
"
>
<a
href=
"
<?php
echo
get_home_url
()
.
'/blogs/'
;
?>
"
>
<svg
width=
"12"
height=
"16"
viewBox=
"0 0 12 16"
fill=
"none"
<svg
width=
"12"
height=
"16"
viewBox=
"0 0 12 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
xmlns=
"http://www.w3.org/2000/svg"
>
<path
<path
d=
"M2 4H8.66667C9.02029 4 9.35943 4.14048 9.60948 4.39052C9.85952 4.64057 10 4.97971 10 5.33333V14"
d=
"M2 4H8.66667C9.02029 4 9.35943 4.14048 9.60948 4.39052C9.85952 4.64057 10 4.97971 10 5.33333V14"
stroke=
"#005AFF"
stroke-width=
"2.5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
stroke=
"#005AFF"
stroke-width=
"2.5"
stroke-linecap=
"round"
<path
stroke-linejoin=
"round"
/>
d=
"M3.33344 6L1.42677 4.06C1.41384 4.04813 1.40352 4.03371 1.39645 4.01764C1.38939 4.00158 1.38574 3.98422 1.38574 3.96667C1.38574 3.94912 1.38939 3.93176 1.39645 3.91569C1.40352 3.89962 1.41384 3.8852 1.42677 3.87333L3.33344 2"
<path
stroke=
"#005AFF"
stroke-width=
"2.5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
d=
"M3.33344 6L1.42677 4.06C1.41384 4.04813 1.40352 4.03371 1.39645 4.01764C1.38939 4.00158 1.38574 3.98422 1.38574 3.96667C1.38574 3.94912 1.38939 3.93176 1.39645 3.91569C1.40352 3.89962 1.41384 3.8852 1.42677 3.87333L3.33344 2"
</svg>
stroke=
"#005AFF"
stroke-width=
"2.5"
stroke-linecap=
"round"
Back to Blog
stroke-linejoin=
"round"
/>
</a>
</svg>
</div>
Back to Blog
</a>
</div>
<p>
<?php
echo
the_field
(
'read_time'
);
?>
</p>
<div
class=
"share-article2"
>
<h5>
Share this article
</h5>
<div
class=
"d-flex social-icon"
>
<a
href=
"https://www.addtoany.com/add_to/facebook?linkurl=
<?php
echo
urlencode
(
get_the_permalink
());
?>
&linkname=
<?php
echo
urlencode
(
get_the_title
());
?>
&linknote="
rel=
"nofollow noopener"
target=
"_blank"
class=
"a2a_button_facebook share-option-icon icon d-flex align-items-center justify-content-center facebook"
>
<svg
width=
"12"
height=
"21"
viewBox=
"0 0 12 21"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M10.6484 11.75L11.1953 8.15625H7.71875V5.8125C7.71875 4.79688 8.1875 3.85938 9.75 3.85938H11.3516V0.773438C11.3516 0.773438 9.90625 0.5 8.53906 0.5C5.6875 0.5 3.8125 2.25781 3.8125 5.38281V8.15625H0.609375V11.75H3.8125V20.5H7.71875V11.75H10.6484Z"
fill=
"#878787"
/>
</svg>
</a>
<a
href=
"https://www.addtoany.com/add_to/twitter?linkurl=
<?php
echo
urlencode
(
get_the_permalink
());
?>
&linkname=
<?php
echo
urlencode
(
get_the_title
());
?>
&linknote="
class=
"share-option-icon a2a_button_twitter icon d-flex align-items-center justify-content-center twitter"
>
<svg
width=
"20"
height=
"17"
viewBox=
"0 0 20 17"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M17.9297 4.4375C18.7109 3.85156 19.4141 3.14844 19.9609 2.32812C19.2578 2.64062 18.4375 2.875 17.6172 2.95312C18.4766 2.44531 19.1016 1.66406 19.4141 0.6875C18.6328 1.15625 17.7344 1.50781 16.8359 1.70312C16.0547 0.882812 15 0.414062 13.8281 0.414062C11.5625 0.414062 9.72656 2.25 9.72656 4.51562C9.72656 4.82812 9.76562 5.14062 9.84375 5.45312C6.44531 5.25781 3.39844 3.61719 1.36719 1.15625C1.01562 1.74219 0.820312 2.44531 0.820312 3.22656C0.820312 4.63281 1.52344 5.88281 2.65625 6.625C1.99219 6.58594 1.32812 6.42969 0.78125 6.11719V6.15625C0.78125 8.14844 2.1875 9.78906 4.0625 10.1797C3.75 10.2578 3.35938 10.3359 3.00781 10.3359C2.73438 10.3359 2.5 10.2969 2.22656 10.2578C2.73438 11.8984 4.25781 13.0703 6.05469 13.1094C4.64844 14.2031 2.89062 14.8672 0.976562 14.8672C0.625 14.8672 0.3125 14.8281 0 14.7891C1.79688 15.9609 3.94531 16.625 6.28906 16.625C13.8281 16.625 17.9297 10.4141 17.9297 4.98438C17.9297 4.78906 17.9297 4.63281 17.9297 4.4375Z"
fill=
"#878787"
/>
</svg>
</a>
<a
href=
"https://www.addtoany.com/add_to/linkedin?linkurl=
<?php
echo
urlencode
(
get_the_permalink
());
?>
&linkname=
<?php
echo
urlencode
(
get_the_title
());
?>
&linknote="
class=
"share-option-icon a2a_button_linkedin icon d-flex align-items-center justify-content-center linkedin"
>
<svg
width=
"18"
height=
"18"
viewBox=
"0 0 18 18"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M4.15625 18V6.32031H0.523438V18H4.15625ZM2.32031 4.75781C3.49219 4.75781 4.42969 3.78125 4.42969 2.60938C4.42969 1.47656 3.49219 0.539062 2.32031 0.539062C1.1875 0.539062 0.25 1.47656 0.25 2.60938C0.25 3.78125 1.1875 4.75781 2.32031 4.75781ZM17.7109 18H17.75V11.5938C17.75 8.46875 17.0469 6.04688 13.375 6.04688C11.6172 6.04688 10.4453 7.02344 9.9375 7.92188H9.89844V6.32031H6.42188V18H10.0547V12.2188C10.0547 10.6953 10.3281 9.25 12.2031 9.25C14.0781 9.25 14.1172 10.9688 14.1172 12.3359V18H17.7109Z"
fill=
"#878787"
/>
</svg>
</a>
</div>
</div>
<div
class=
"blog-category toc"
>
<div
class=
"tags-wrapper"
>
<div
class=
"toc-title"
>
<h5>
Tags
</h5>
<h6>
Table of Content
</h6>
<?php
</div>
$tags
=
get_tags
();
<div
class=
"category-list"
>
if
(
$tags
)
:
?>
<ul
class=
"wp-block-categories-list wp-block-categories"
>
<ul>
<li
class=
"cat-item cat-item-44"
><a
<?php
foreach
(
$tags
as
$tag
)
:
?>
href=
"http://192.168.1.89/makura-theme/category/company/"
>
Company
</a>
<li><a
href=
"
<?php
echo
esc_url
(
get_tag_link
(
$tag
->
term_id
));
?>
"
</li>
title=
"
<?php
echo
esc_attr
(
$tag
->
name
);
?>
"
>
<?php
echo
esc_html
(
$tag
->
name
);
?>
</a>
<li
class=
"cat-item cat-item-30"
><a
</li>
href=
"http://192.168.1.89/makura-theme/category/digital-marketing/"
>
Digital Marketing
</a>
<?php
endforeach
;
?>
</li>
</ul>
<li
class=
"cat-item cat-item-33"
><a
href=
"http://192.168.1.89/makura-theme/category/updates/"
>
News
&
<?php
endif
;
?>
Updates
</a>
</div>
</li>
</div>
<li
class=
"cat-item cat-item-1"
><a
href=
"http://192.168.1.89/makura-theme/category/uncategorized/"
>
Uncategorized
</a>
</li>
<li
class=
"cat-item cat-item-31"
><a
href=
"http://192.168.1.89/makura-theme/category/web-development/"
>
Web Development
</a>
</li>
</ul>
</div>
</div>
<div
class=
"col-lg-9 col-12 blog-list"
>
</div>
<div
class=
"row"
>
<p>
<?php
echo
the_field
(
'read_time'
);
?>
</p>
<div
class=
"col-11 blog-detail-content mx-auto"
>
<div
class=
"share-article2"
>
<?php
the_content
();
?>
<h5>
Share this article
</h5>
</div>
<div
class=
"d-flex social-icon"
>
</div>
<a
href=
"https://www.addtoany.com/add_to/facebook?linkurl=
<?php
echo
urlencode
(
get_the_permalink
());
?>
&linkname=
<?php
echo
urlencode
(
get_the_title
());
?>
&linknote="
rel=
"nofollow noopener"
target=
"_blank"
class=
"a2a_button_facebook share-option-icon icon d-flex align-items-center justify-content-center facebook"
>
<svg
width=
"12"
height=
"21"
viewBox=
"0 0 12 21"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M10.6484 11.75L11.1953 8.15625H7.71875V5.8125C7.71875 4.79688 8.1875 3.85938 9.75 3.85938H11.3516V0.773438C11.3516 0.773438 9.90625 0.5 8.53906 0.5C5.6875 0.5 3.8125 2.25781 3.8125 5.38281V8.15625H0.609375V11.75H3.8125V20.5H7.71875V11.75H10.6484Z"
fill=
"#878787"
/>
</svg>
</a>
<a
href=
"https://www.addtoany.com/add_to/twitter?linkurl=
<?php
echo
urlencode
(
get_the_permalink
());
?>
&linkname=
<?php
echo
urlencode
(
get_the_title
());
?>
&linknote="
class=
"share-option-icon a2a_button_twitter icon d-flex align-items-center justify-content-center twitter"
>
<svg
width=
"20"
height=
"17"
viewBox=
"0 0 20 17"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M17.9297 4.4375C18.7109 3.85156 19.4141 3.14844 19.9609 2.32812C19.2578 2.64062 18.4375 2.875 17.6172 2.95312C18.4766 2.44531 19.1016 1.66406 19.4141 0.6875C18.6328 1.15625 17.7344 1.50781 16.8359 1.70312C16.0547 0.882812 15 0.414062 13.8281 0.414062C11.5625 0.414062 9.72656 2.25 9.72656 4.51562C9.72656 4.82812 9.76562 5.14062 9.84375 5.45312C6.44531 5.25781 3.39844 3.61719 1.36719 1.15625C1.01562 1.74219 0.820312 2.44531 0.820312 3.22656C0.820312 4.63281 1.52344 5.88281 2.65625 6.625C1.99219 6.58594 1.32812 6.42969 0.78125 6.11719V6.15625C0.78125 8.14844 2.1875 9.78906 4.0625 10.1797C3.75 10.2578 3.35938 10.3359 3.00781 10.3359C2.73438 10.3359 2.5 10.2969 2.22656 10.2578C2.73438 11.8984 4.25781 13.0703 6.05469 13.1094C4.64844 14.2031 2.89062 14.8672 0.976562 14.8672C0.625 14.8672 0.3125 14.8281 0 14.7891C1.79688 15.9609 3.94531 16.625 6.28906 16.625C13.8281 16.625 17.9297 10.4141 17.9297 4.98438C17.9297 4.78906 17.9297 4.63281 17.9297 4.4375Z"
fill=
"#878787"
/>
</svg>
</a>
<a
href=
"https://www.addtoany.com/add_to/linkedin?linkurl=
<?php
echo
urlencode
(
get_the_permalink
());
?>
&linkname=
<?php
echo
urlencode
(
get_the_title
());
?>
&linknote="
class=
"share-option-icon a2a_button_linkedin icon d-flex align-items-center justify-content-center linkedin"
>
<svg
width=
"18"
height=
"18"
viewBox=
"0 0 18 18"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M4.15625 18V6.32031H0.523438V18H4.15625ZM2.32031 4.75781C3.49219 4.75781 4.42969 3.78125 4.42969 2.60938C4.42969 1.47656 3.49219 0.539062 2.32031 0.539062C1.1875 0.539062 0.25 1.47656 0.25 2.60938C0.25 3.78125 1.1875 4.75781 2.32031 4.75781ZM17.7109 18H17.75V11.5938C17.75 8.46875 17.0469 6.04688 13.375 6.04688C11.6172 6.04688 10.4453 7.02344 9.9375 7.92188H9.89844V6.32031H6.42188V18H10.0547V12.2188C10.0547 10.6953 10.3281 9.25 12.2031 9.25C14.0781 9.25 14.1172 10.9688 14.1172 12.3359V18H17.7109Z"
fill=
"#878787"
/>
</svg>
</a>
</div>
</div>
</div>
<div
class=
"tags-wrapper"
>
<h5>
Tags
</h5>
<?php
$tags
=
get_tags
();
if
(
$tags
)
:
?>
<ul>
<?php
foreach
(
$tags
as
$tag
)
:
?>
<li><a
href=
"
<?php
echo
esc_url
(
get_tag_link
(
$tag
->
term_id
));
?>
"
title=
"
<?php
echo
esc_attr
(
$tag
->
name
);
?>
"
>
<?php
echo
esc_html
(
$tag
->
name
);
?>
</a>
</li>
<?php
endforeach
;
?>
</ul>
<?php
endif
;
?>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-9 col-12 blog-list"
>
<div
class=
"row"
>
<div
class=
"col-11 blog-detail-content mx-auto"
>
<?php
the_content
();
?>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</section>
<section
class=
"container-fluid pb-80 RELATED-BLOGS"
>
<section
class=
"container-fluid pb-80 RELATED-BLOGS"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<?php
$related_posts_section
=
get_field
(
'related_post_section'
,
'option'
);
<?php
$related_posts_section
=
get_field
(
'related_post_section'
,
'option'
);
if
(
!
empty
(
$related_posts_section
))
:
if
(
!
empty
(
$related_posts_section
))
:
?>
?>
<h2>
<?php
echo
$related_posts_section
[
'title'
];
?>
</h2>
<h2>
<?php
echo
$related_posts_section
[
'title'
];
?>
</h2>
<div
class=
"d-flex align-items after-title pb-60 justify-content-between"
>
<div
class=
"d-flex align-items after-title pb-60 justify-content-between"
>
<div
class=
"col-lg-8 col-md-8 col-sm-8 paragraph"
>
<div
class=
"col-lg-8 col-md-8 col-sm-8 paragraph"
>
<?php
echo
$related_posts_section
[
'description'
];
?>
<?php
echo
$related_posts_section
[
'description'
];
?>
</div>
</div>
<?php
if
(
$link
=
$related_posts_section
[
'link'
])
:
<?php
if
(
$link
=
$related_posts_section
[
'link'
])
:
$link_target
=
$link
[
'target'
]
?
$link
[
'target'
]
:
'_self'
;
?>
$link_target
=
$link
[
'target'
]
?
$link
[
'target'
]
:
'_self'
;
?>
<div
class=
"col-lg-3 col-md-3 col-sm-3 right-button d-flex align-items-center justify-content-end"
>
<div
class=
"col-lg-3 col-md-3 col-sm-3 right-button d-flex align-items-center justify-content-end"
>
<a
href=
"
<?php
echo
$link
[
'url'
];
?>
"
target=
"
<?php
echo
esc_attr
(
$link_target
);
?>
"
<a
href=
"
<?php
echo
$link
[
'url'
];
?>
"
target=
"
<?php
echo
esc_attr
(
$link_target
);
?>
"
class=
"btn btn-primary btn-start-project"
>
<?php
echo
$link
[
'title'
];
?>
</a>
class=
"btn btn-primary btn-start-project"
>
<?php
echo
$link
[
'title'
];
?>
</a>
</div>
<?php
endif
;
?>
</div>
<?php
endif
;
?>
</div>
</div>
<?php
<?php
endif
;
?>
</div>
<?php
endif
;
?>
</div>
<?php
$related
=
get_posts
(
array
(
'category__in'
=>
wp_get_post_categories
(
get_the_ID
()),
'numberposts'
=>
5
,
'post__not_in'
=>
array
(
get_the_ID
())));
$related
=
get_posts
(
array
(
'category__in'
=>
wp_get_post_categories
(
get_the_ID
()),
'numberposts'
=>
5
,
'post__not_in'
=>
array
(
get_the_ID
())));
if
(
$related
)
:
if
(
$related
)
:
?>
?>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"blog-carousel owl-carousel owl-theme owl-loaded owl-drag"
>
<div
class=
"blog-carousel owl-carousel owl-theme owl-loaded owl-drag"
>
<?php
foreach
(
$related
as
$post
)
:
<?php
foreach
(
$related
as
$post
)
:
setup_postdata
(
$post
);
?>
setup_postdata
(
$post
);
?>
<div
class=
"item blog-card"
>
<div
class=
"item blog-card"
>
<a
href=
"
<?php
the_permalink
();
?>
"
>
<a
href=
"
<?php
the_permalink
();
?>
"
>
<div
class=
"blog-image-wrapper"
>
<div
class=
"blog-image-wrapper"
>
<?php
the_post_thumbnail
();
?>
<?php
the_post_thumbnail
();
?>
</div>
</div>
<div
class=
"text-wrapper"
>
<div
class=
"text-wrapper"
>
<!--<p>
<?php
echo
get_simple_tag_list
(
get_the_ID
());
?>
</p>-->
<!--<p>
<?php
echo
get_simple_tag_list
(
get_the_ID
());
?>
</p>-->
<h6>
<?php
the_title
();
?>
</h6>
<h6>
<?php
the_title
();
?>
</h6>
<?php
the_excerpt
();
?>
<?php
the_excerpt
();
?>
<span><svg
width=
"20"
height=
"21"
viewBox=
"0 0 20 21"
fill=
"none"
<span><svg
width=
"20"
height=
"21"
viewBox=
"0 0 20 21"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
xmlns=
"http://www.w3.org/2000/svg"
>
<path
<path
d=
"M16.25 3.625H3.75C3.40482 3.625 3.125 3.90482 3.125 4.25V16.75C3.125 17.0952 3.40482 17.375 3.75 17.375H16.25C16.5952 17.375 16.875 17.0952 16.875 16.75V4.25C16.875 3.90482 16.5952 3.625 16.25 3.625Z"
d=
"M16.25 3.625H3.75C3.40482 3.625 3.125 3.90482 3.125 4.25V16.75C3.125 17.0952 3.40482 17.375 3.75 17.375H16.25C16.5952 17.375 16.875 17.0952 16.875 16.75V4.25C16.875 3.90482 16.5952 3.625 16.25 3.625Z"
stroke=
"#005AFF"
stroke-width=
"1.5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></path>
stroke=
"#005AFF"
stroke-width=
"1.5"
stroke-linecap=
"round"
<path
d=
"M13.75 2.375V4.875"
stroke=
"#005AFF"
stroke-width=
"1.5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></path>
stroke-linejoin=
"round"
></path>
<path
d=
"M13.75 2.375V4.875"
stroke=
"#005AFF"
stroke-width=
"1.5"
<path
d=
"M6.25 2.375V4.875"
stroke=
"#005AFF"
stroke-width=
"1.5"
stroke-linecap=
"round"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></path>
stroke-linejoin=
"round"
></path>
<path
d=
"M6.25 2.375V4.875"
stroke=
"#005AFF"
stroke-width=
"1.5"
<path
d=
"M3.125 7.375H16.875"
stroke=
"#005AFF"
stroke-width=
"1.5"
stroke-linecap=
"round"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></path>
stroke-linejoin=
"round"
></path>
<path
d=
"M3.125 7.375H16.875"
stroke=
"#005AFF"
stroke-width=
"1.5"
</svg>
<?php
echo
get_the_date
(
'd, M Y'
,
get_the_ID
());
?>
</span>
stroke-linecap=
"round"
stroke-linejoin=
"round"
></path>
</div>
</svg>
<?php
echo
get_the_date
(
'd, M Y'
,
get_the_ID
());
?>
</span>
</a>
</div>
</div>
</a>
<?php
endforeach
;
</div>
<?php
endforeach
;
wp_reset_postdata
();
?>
wp_reset_postdata
();
?>
</div>
</div>
</div>
<?php
endif
;
?>
</div>
</div>
<?php
endif
;
?>
</div>
</section>
</section>
<?php
get_template_part
(
'template-parts/footer-project-banner'
);
?>
<?php
get_template_part
(
'template-parts/footer-project-banner'
);
?>
...
...
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