Commit 399c0e07 by rajshah

Merge branch 'dev' of gitlab.makuracreations.xyz:rajshah/makura-2025 into dev

parents 60464319 5169d410
This source diff could not be displayed because it is too large. You can view the blob instead.
(function ($) { (function ($) {
$(".FAQS-SECTION .accordion-collapse").each(function (index) { $(".FAQS-SECTION .accordion-collapse").each(function (index) {
if ($(this).hasClass("show")) if ($(this).hasClass("show"))
$(this).parent(".accordion-item").addClass("classColor"); $(this).parent(".accordion-item").addClass("classColor");
}); });
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) var tooltipTriggerList = [].slice.call(
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { document.querySelectorAll('[data-bs-toggle="tooltip"]'),
return new bootstrap.Tooltip(tooltipTriggerEl) );
}) var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl);
$(".accordion-header").click(function (index) { });
if ($(this).siblings(".accordion-collapse").hasClass("show"));
$(this).parent(".accordion-item").toggleClass("classColor"); $(".accordion-header").click(function (index) {
}); if ($(this).siblings(".accordion-collapse").hasClass("show"));
$(this).parent(".accordion-item").toggleClass("classColor");
$('.counter').countUp(); });
// trip planner step fieldset
var current_fs, next_fs, previous_fs; $(".counter").countUp();
// trip planner step fieldset
// $(".modal-steps-wrapper-box .next").click(function (event) { var current_fs, next_fs, previous_fs;
// event.preventDefault();
// $('body,html').animate({ scrollTop: 0 }, 0); // $(".modal-steps-wrapper-box .next").click(function (event) {
// current_fs = $(this).closest('fieldset'); // event.preventDefault();
// next_fs = $(this).closest('fieldset').next(); // $('body,html').animate({ scrollTop: 0 }, 0);
// current_fs = $(this).closest('fieldset');
// $("#progressbar li").eq($("fieldset").index(next_fs)).addClass("active").prev().addClass('complete'); // next_fs = $(this).closest('fieldset').next();
// next_fs.show(); // $("#progressbar li").eq($("fieldset").index(next_fs)).addClass("active").prev().addClass('complete');
// current_fs.hide();
// }) // next_fs.show();
// current_fs.hide();
// $(".modal-steps-wrapper-box .previous").click(function (event) { // })
// event.preventDefault();
// $('body,html').animate({ scrollTop: 0 }, 0); // $(".modal-steps-wrapper-box .previous").click(function (event) {
// current_fs = $(this).closest('fieldset'); // event.preventDefault();
// previous_fs = $(this).closest('fieldset').prev(); // $('body,html').animate({ scrollTop: 0 }, 0);
// current_fs = $(this).closest('fieldset');
// $("#progressbar li").eq($("fieldset").index(current_fs)).removeClass("active").prev().removeClass('complete'); // previous_fs = $(this).closest('fieldset').prev();
// previous_fs.show(); // $("#progressbar li").eq($("fieldset").index(current_fs)).removeClass("active").prev().removeClass('complete');
// current_fs.hide();
// }) // previous_fs.show();
// current_fs.hide();
// })
console.log($(".experience").length);
if ($(".experience").length == 1) { console.log($(".experience").length);
document.addEventListener("DOMContentLoaded", () => { if ($(".experience").length == 1) {
function counter(id, start, end, duration) { document.addEventListener("DOMContentLoaded", () => {
let obj = document.getElementById(id), function counter(id, start, end, duration) {
current = start, let obj = document.getElementById(id),
range = end - start, current = start,
increment = end > start ? 1 : -1, range = end - start,
step = Math.abs(Math.floor(duration / range)), increment = end > start ? 1 : -1,
timer = setInterval(() => { step = Math.abs(Math.floor(duration / range)),
current += increment; timer = setInterval(() => {
obj.textContent = current; current += increment;
if (current == end) { obj.textContent = current;
clearInterval(timer); if (current == end) {
} clearInterval(timer);
}, step); }
} }, step);
counter("experience", 0, 10, 3000); }
counter("client", 100, 432, 2500); counter("experience", 0, 10, 3000);
counter("experts", 0, 27, 3000); counter("client", 100, 432, 2500);
}); counter("experts", 0, 27, 3000);
} });
}
//gsap mobile motion
gsap.registerPlugin(ScrollTrigger); //gsap mobile motion
gsap.registerPlugin(ScrollTrigger);
gsap.to(".mob2", {
y: 600, gsap.to(".mob2", {
ease: "none", y: 600,
duration: 2, ease: "none",
scrollTrigger: { duration: 2,
trigger: ".mob2", scrollTrigger: {
start: "80px 30%", trigger: ".mob2",
end: "900px 50%", start: "80px 30%",
scrub: 2, end: "900px 50%",
}, scrub: 2,
}); },
gsap.to(".mob1", { });
y: 130, gsap.to(".mob1", {
ease: "none", y: 130,
duration: 2, ease: "none",
scrollTrigger: { duration: 2,
trigger: ".mob2", scrollTrigger: {
start: "80px 30%", trigger: ".mob2",
end: "300px 50%", start: "80px 30%",
scrub: 1, end: "300px 50%",
}, scrub: 1,
}); },
gsap.to(".mob3", { });
y: 130, gsap.to(".mob3", {
ease: "none", y: 130,
duration: 2, ease: "none",
scrollTrigger: { duration: 2,
trigger: ".mob2", scrollTrigger: {
start: "80px 30%", trigger: ".mob2",
end: "300px 50%", start: "80px 30%",
scrub: 1, end: "300px 50%",
}, scrub: 1,
}); },
gsap.to(".mob4", { });
y: 100, gsap.to(".mob4", {
ease: "none", y: 100,
duration: 2, ease: "none",
scrollTrigger: { duration: 2,
trigger: ".mob2", scrollTrigger: {
start: "60% 30%", trigger: ".mob2",
end: "60% 30%", start: "60% 30%",
scrub: 1, end: "60% 30%",
}, scrub: 1,
}); },
gsap.to(".mob5", { });
y: 100, gsap.to(".mob5", {
ease: "none", y: 100,
duration: 2, ease: "none",
scrollTrigger: { duration: 2,
trigger: ".mob2", scrollTrigger: {
start: "60% 30%", trigger: ".mob2",
end: "60% 30%", start: "60% 30%",
scrub: 1, end: "60% 30%",
}, scrub: 1,
}); },
});
$(".see-more-btn").click(function () {
$(".expandable-text").toggleClass("expanded"); $(".see-more-btn").click(function () {
if ($(".expandable-text").hasClass("expanded")) { $(".expandable-text").toggleClass("expanded");
$(".see-more-btn").text("Show less"); if ($(".expandable-text").hasClass("expanded")) {
} else { $(".see-more-btn").text("Show less");
$(".see-more-btn").text("See more"); } else {
} $(".see-more-btn").text("See more");
$("html, body").animate( }
{ $("html, body").animate(
scrollTop: $(".expandable-text").offset().top - 200, {
}, scrollTop: $(".expandable-text").offset().top - 200,
1000 },
); 1000,
}); );
});
$(".get-quote-button").click(function () {
$(".request-hide-success-modal").hide(); $(".get-quote-button").click(function () {
$(".request-success-modal").show(); $(".request-hide-success-modal").hide();
}); $(".request-success-modal").show();
});
// accordion-loadmore
$(".see-more-btn-accordion").click(function () { // accordion-loadmore
$(".expandable-text-accordion").toggleClass("expanded"); $(".see-more-btn-accordion").click(function () {
if ($(".expandable-text-accordion").hasClass("expanded")) { $(".expandable-text-accordion").toggleClass("expanded");
$(".see-more-btn-accordion").text("Load less"); if ($(".expandable-text-accordion").hasClass("expanded")) {
} else { $(".see-more-btn-accordion").text("Load less");
$(".see-more-btn-accordion").text("Load more"); } else {
} $(".see-more-btn-accordion").text("Load more");
$("html, body").animate( }
{ $("html, body").animate(
scrollTop: $(".expandable-text-accordion").offset().top - 200, {
}, scrollTop: $(".expandable-text-accordion").offset().top - 200,
1000 },
); 1000,
}); );
});
$(document).ready(function (jQuery) {
if ($(".accordion-collapse").hasClass("show")) { $(document).ready(function (jQuery) {
$(this).find(".accordion-item").addClass("bg"); if ($(".accordion-collapse").hasClass("show")) {
} else { $(this).find(".accordion-item").addClass("bg");
$(".accordion-item").removeClass("bg"); } else {
} $(".accordion-item").removeClass("bg");
}); }
});
//meet-team-wrapper
$(".meet-team-wrapper").owlCarousel({ //meet-team-wrapper
loop: false, $(".meet-team-wrapper").owlCarousel({
autoplay: true, loop: false,
margin: 40, autoplay: true,
nav: false, margin: 40,
dots: false, nav: false,
responsive: { dots: false,
0: { responsive: {
items: 1, 0: {
}, items: 1,
600: { },
items: 2, 600: {
}, items: 2,
1000: { },
items: 4, 1000: {
}, items: 4,
}, },
}); },
});
//technology-carousel-wrapper
$(".technology-carousel-wrapper").owlCarousel({ //technology-carousel-wrapper
loop: false, $(".technology-carousel-wrapper").owlCarousel({
autoplay: true, loop: false,
margin: 40, autoplay: true,
nav: false, margin: 40,
dots: false, nav: false,
responsive: { dots: false,
0: { responsive: {
items: 6, 0: {
}, items: 6,
600: { },
items: 6, 600: {
}, items: 6,
1000: { },
items: 9, 1000: {
}, items: 9,
}, },
}); },
});
//portfolio-carousel
$(".portfolio-carousel").owlCarousel({ //portfolio-carousel
loop: false, $(".portfolio-carousel").owlCarousel({
autoplay: true, loop: false,
margin: 40, autoplay: true,
nav: false, margin: 40,
dots: false, nav: false,
responsive: { dots: false,
0: { responsive: {
items: 1, 0: {
}, items: 1,
600: { },
items: 2, 600: {
}, items: 2,
1000: { },
items: 3, 1000: {
}, items: 3,
}, },
}); },
});
//customer-feedback
$(".customer-feedback").owlCarousel({ //customer-feedback
loop: false, $(".customer-feedback").owlCarousel({
autoplay: true, loop: false,
margin: 20, autoplay: true,
nav: false, margin: 20,
dots: true, nav: false,
responsive: { dots: true,
0: { responsive: {
items: 1, 0: {
}, items: 1,
576: { },
items: 1, 576: {
}, items: 1,
768: { },
items: 2, 768: {
}, items: 2,
1000: { },
items: 3, 1000: {
}, items: 3,
}, },
}); },
});
//customer-feedback-course-detail
$(".customer-feedback-course-detail").owlCarousel({ //customer-feedback-course-detail
loop: false, $(".customer-feedback-course-detail").owlCarousel({
autoplay: true, loop: false,
margin: 40, autoplay: true,
nav: false, margin: 40,
dots: true, nav: false,
responsive: { dots: true,
0: { responsive: {
items: 1, 0: {
}, items: 1,
600: { },
items: 2, 600: {
}, items: 2,
1000: { },
items: 2, 1000: {
}, items: 2,
}, },
}); },
});
//customer-feedback-course-detail
$(".client-carouselwrapper").owlCarousel({ //customer-feedback-course-detail
loop: false, $(".client-carouselwrapper").owlCarousel({
autoplay: true, loop: false,
margin: 20, autoplay: true,
nav: false, margin: 20,
dots: false, nav: false,
responsive: { dots: false,
0: { responsive: {
items: 3, 0: {
}, items: 3,
600: { },
items: 4, 600: {
}, items: 4,
1000: { },
items: 5, 1000: {
}, items: 5,
}, },
}); },
});
//more-course-section
$(".more-course-section").owlCarousel({ //more-course-section
loop: false, $(".more-course-section").owlCarousel({
autoplay: true, loop: false,
margin: 20, autoplay: true,
nav: false, margin: 20,
dots: true, nav: false,
responsive: { dots: true,
0: { responsive: {
items: 1, 0: {
}, items: 1,
600: { },
items: 2, 600: {
}, items: 2,
1000: { },
items: 2, 1000: {
}, items: 2,
}, },
}); },
});
//customer-feedback-portfolio
$(".customer-feedback-portfolio").owlCarousel({ //customer-feedback-portfolio
loop: false, $(".customer-feedback-portfolio").owlCarousel({
autoplay: true, loop: false,
margin: 10, autoplay: true,
nav: false, margin: 10,
dots: false, nav: false,
responsive: { dots: false,
0: { responsive: {
items: 1, 0: {
}, items: 1,
600: { },
items: 1, 600: {
}, items: 1,
1000: { },
items: 1, 1000: {
}, items: 1,
}, },
}); },
});
//blog-carousel
$(".blog-carousel").owlCarousel({ //blog-carousel
loop: true, $(".blog-carousel").owlCarousel({
autoplay: true, loop: true,
margin: 20, autoplay: true,
nav: false, margin: 20,
dots: false, nav: false,
responsive: { dots: false,
0: { responsive: {
items: 1, 0: {
}, items: 1,
600: { },
items: 3, 600: {
}, items: 3,
1000: { },
items: 3, 1000: {
}, items: 3,
}, },
}); },
});
//time-pickr
$("#timePicker").flatpickr({ //time-pickr
enableTime: true, $("#timePicker").flatpickr({
noCalendar: true, enableTime: true,
dateFormat: "H:i", noCalendar: true,
}); dateFormat: "H:i",
//for date picker and disable the date });
$(".date").flatpickr(); //for date picker and disable the date
var date1 = $(".start-date").flatpickr({ $(".date").flatpickr();
minDate: "today", var date1 = $(".start-date").flatpickr({
onChange: function (selectedDates, dateStr, instance) { minDate: "today",
date2.set("minDate", dateStr); onChange: function (selectedDates, dateStr, instance) {
}, date2.set("minDate", dateStr);
}); },
});
var date2 = $(".end-date").flatpickr({});
var date2 = $(".end-date").flatpickr({});
$(function () {
$("body").tooltip({ $(function () {
selector: "[data-toggle=tooltip]", $("body").tooltip({
placement: "bottom", selector: "[data-toggle=tooltip]",
}); placement: "bottom",
}); });
});
$(".toggler-icon").click(function () {
$(".navbar-nav").addClass("show"); $(".toggler-icon").click(function () {
}); $(".navbar-nav").addClass("show");
$(".navbar-nav li").click(function () { });
$(".navbar-nav").removeClass("show"); $(".navbar-nav li").click(function () {
}); $(".navbar-nav").removeClass("show");
});
$(".side-menu-close").click(function () {
$(".navbar-nav").removeClass("show"); $(".side-menu-close").click(function () {
}); $(".navbar-nav").removeClass("show");
});
// jQuery(".btn-start-project").click(function(event) {
// event.preventDefault(); // jQuery(".btn-start-project").click(function(event) {
// jQuery('body').addClass('no-scroll'); // event.preventDefault();
// }); // jQuery('body').addClass('no-scroll');
// });
$(window)
.scroll(function () { $(window)
var scrollDistance = $(window).scrollTop() + 201; .scroll(function () {
// Assign active class to nav links while scolling var scrollDistance = $(window).scrollTop() + 201;
$(".nav-content").each(function (i) { // Assign active class to nav links while scolling
if ($(this).position().top <= scrollDistance) { $(".nav-content").each(function (i) {
$(".top-nav ul li a").removeClass("active"); if ($(this).position().top <= scrollDistance) {
$(".top-nav ul li a").eq(i).addClass("active"); $(".top-nav ul li a").removeClass("active");
} $(".top-nav ul li a").eq(i).addClass("active");
}); }
if (scrollDistance == 201) { });
$(".top-nav ul li a").removeClass("active"); if (scrollDistance == 201) {
} $(".top-nav ul li a").removeClass("active");
}) }
.scroll(); })
.scroll();
// sticky nav
// $(function () { // sticky nav
// var header = $(".navbar"); // $(function () {
// $(window).scroll(function () { // var header = $(".navbar");
// var scroll = $(window).scrollTop(); // $(window).scroll(function () {
// if (scroll >= 200) { // var scroll = $(window).scrollTop();
// header.addClass("sticky-top"); // if (scroll >= 200) {
// } else { // header.addClass("sticky-top");
// header.removeClass("sticky-top"); // } else {
// } // header.removeClass("sticky-top");
// }); // }
// }); // });
// });
var lastScrollTop = 0;
$(window).scroll(function(event) { var lastScrollTop = 0;
var thisValue = $(this).scrollTop(); $(window).scroll(function (event) {
if (thisValue == 0) { var thisValue = $(this).scrollTop();
$(".navbar").removeClass("sticky-top"); if (thisValue == 0) {
} else if (thisValue > lastScrollTop) { $(".navbar").removeClass("sticky-top");
$(".navbar").removeClass("sticky-top"); } else if (thisValue > lastScrollTop) {
} else { $(".navbar").removeClass("sticky-top");
$(".navbar").addClass("sticky-top"); } else {
} $(".navbar").addClass("sticky-top");
lastScrollTop = thisValue; }
}); lastScrollTop = thisValue;
});
$(".button-close").click(function () { $(".button-close").click(function () {
$(".modal-dialog").addClass("addCss"); $(".modal-dialog").addClass("addCss");
}); });
//side-nav //side-nav
$("#side-nav").click(function () { $("#side-nav").click(function () {
$(".nav-side-menu").addClass("active"); $(".nav-side-menu").addClass("active");
$("#side-nav").css("visibility", "hidden"); $("#side-nav").css("visibility", "hidden");
}); });
$(".close-icon").click(function () { $(".close-icon").click(function () {
$(".nav-side-menu").removeClass("active"); $(".nav-side-menu").removeClass("active");
$("#side-nav").css("visibility", "visible"); $("#side-nav").css("visibility", "visible");
}); });
//read more blogs //read more blogs
$(".readmoreblogs").owlCarousel({ $(".readmoreblogs").owlCarousel({
loop: false, loop: false,
margin: 10, margin: 10,
nav: true, nav: true,
responsive: { responsive: {
0: { 0: {
items: 1, items: 1,
}, },
600: { 600: {
items: 2, items: 2,
}, },
1000: { 1000: {
items: 3, items: 3,
}, },
}, },
}); });
// returntotop // returntotop
$(window).scroll(function () { $(window).scroll(function () {
if ($(this).scrollTop() >= 200) { if ($(this).scrollTop() >= 200) {
$("#return-to-top").show(200); $("#return-to-top").show(200);
} else { } else {
$("#return-to-top").hide(200); $("#return-to-top").hide(200);
} }
}); });
$("#return-to-top").click(function () { $("#return-to-top").click(function () {
$("body,html").animate({ scrollTop: 0 }, 1000); $("body,html").animate({ scrollTop: 0 }, 1000);
}); });
//thankyou message for comment in blog-detail //thankyou message for comment in blog-detail
$("#submitBtn").click(function () { $("#submitBtn").click(function () {
$(".alert-success").slideToggle("slow").delay(2000).slideToggle("slow"); $(".alert-success").slideToggle("slow").delay(2000).slideToggle("slow");
}); });
//thankyou message for book //thankyou message for book
$("#submit").click(function () { $("#submit").click(function () {
$(".alert-success").slideToggle("slow").delay(2000).slideToggle("slow"); $(".alert-success").slideToggle("slow").delay(2000).slideToggle("slow");
}); });
jQuery(document).ready(function ($) { jQuery(document).ready(function ($) {
jQuery('img').removeAttr('width').removeAttr('height'); jQuery("img").removeAttr("width").removeAttr("height");
}); });
$('.fpData').click(function () { $(".fpData").click(function () {
var button = $(this); var button = $(this);
var dataCatValue = $(this).data('cat'); var dataCatValue = $(this).data("cat");
button.addClass('loading') button.addClass("loading");
console.log(dataCatValue); console.log(dataCatValue);
$.ajax({ $.ajax({
url: frontend_ajax_object.ajaxurl, url: frontend_ajax_object.ajaxurl,
method: 'POST', method: "POST",
dataType: 'json', dataType: "json",
data: { data: {
action: 'get_fetch_more_portfolios', action: "get_fetch_more_portfolios",
data_cat: dataCatValue data_cat: dataCatValue,
}, },
success: function (response) { success: function (response) {
button.remove(); button.remove();
// Handle the response here // Handle the response here
console.log(response.html); console.log(response.html);
$('#append_' + dataCatValue).append(response.html); $("#append_" + dataCatValue).append(response.html);
}, },
error: function (xhr, status, error) { error: function (xhr, status, error) {
// Handle errors // Handle errors
console.log(error); console.log(error);
} },
}); });
}); });
})(jQuery);
\ No newline at end of file $(function () {
$(".custom-overlay").on("click", function (e) {
e.preventDefault();
$("body").removeClass("overflow-hidden");
$(".download-popup").removeClass("active");
$(this).removeClass("active");
});
$(".download-seo-audit").on("click", function (e) {
e.preventDefault();
$("body").addClass("overflow-hidden");
$(".download-popup").addClass("active");
$(".custom-overlay").addClass("active");
$(".close-download-popup").on("click", function (e) {
e.preventDefault();
$("body").removeClass("overflow-hidden");
$(".download-popup").removeClass("active");
$(".custom-overlay").removeClass("active");
});
});
});
/* Table of Content */
function sanitizeTitle(text) {
return text
.toString()
.trim() // Remove leading and trailing whitespace
.toLowerCase() // Convert to lowercase
.replace(/[^a-z0-9\s-]/g, "") // Remove special characters
.replace(/\s+/g, "-") // Replace spaces with hyphens
.replace(/-+/g, "-"); // Remove multiple consecutive hyphens
}
$(function () {
$(".blog-detail-content h2, .blog-detail-content h3").each(function () {
var text = $(this).text();
var sanitizedText = sanitizeTitle(text);
$(this).attr("id", sanitizedText);
});
});
})(jQuery);
<?php if(get_field('enable_section')):?> <?php if(get_field('enable_section')):?>
<section class="background-dark pb-60 ABOUT TOP-BANNER-SECTION"> <section class="background-dark pb-60 ABOUT TOP-BANNER-SECTION">
<div class="container"> <div class="container">
<div class="row align-items-center justify-content-between"> <div class="row align-items-center justify-content-between">
<div class="col-lg-6 col-12"> <div class="col-lg-6 col-12">
<div class="position-relative left-text-wrapper"> <div class="position-relative left-text-wrapper">
<?php the_field('description');?> <?php the_field('description');?>
</div> </div>
</div> </div>
<div class="col-lg-5 col-md-5 mx-auto col-12 text-center right-image"> <div class="col-lg-5 col-md-5 mx-auto col-12 text-center right-image">
<!--<?php if($image = get_field('image')): echo wp_get_attachment_image($image); endif;?>--> <!--<?php if($image = get_field('image')): echo wp_get_attachment_image($image); endif;?>-->
<?php <?php
$image = get_field('image'); $image = get_field('image');
$size = 'full'; $size = 'full';
if ($image) { if ($image) {
echo wp_get_attachment_image($image, $size); echo wp_get_attachment_image($image, $size);
} ?> } ?>
</div> </div>
</div>
</div> </div>
</div>
</section> </section>
<?php endif;?> <?php endif;?>
\ No newline at end of file \ No newline at end of file
...@@ -11,47 +11,54 @@ if (isset($hero) && is_array($hero) && !empty($hero)): ...@@ -11,47 +11,54 @@ if (isset($hero) && is_array($hero) && !empty($hero)):
$hero_v = $hero['hero_v']; $hero_v = $hero['hero_v'];
if ($hero_v): if ($hero_v):
?> ?>
<section class="AUDIT-INTRO pb-40"> <section class="AUDIT-INTRO pb-40">
<div class="container"> <div class="container">
<div class="ai-content"> <div class="ai-content">
<div class="section-title top-title"> <div class="section-title top-title">
<?php if (!empty($hero_title)): ?> <?php if (!empty($hero_title)): ?>
<h1><?php echo $hero_title; ?></h1><?php endif; <h1><?php echo $hero_title; ?></h1><?php endif;
echo $hero_desc ?: ''; echo $hero_desc ?: '';
if (!empty($hero_url)): if (!empty($hero_url)):
?> ?>
<div class="search-field"> <div class="search-field">
<form class="turboform" method="POST" action="<?php echo esc_url($hero_url); ?>" onsubmit="return fixURL();"> <form class="turboform" method="POST" action="<?php echo esc_url($hero_url); ?>" onsubmit="return fixURL();">
<div class="input-field"> <div class="input-field">
<input type="text" autocomplete="off" spellcheck="false" class="form-control" <input type="text" autocomplete="off" spellcheck="false" class="form-control"
placeholder="Type Your Website Address" name="url"> placeholder="Type Your Website Address" name="url">
<?php if (!empty($hero_btn)): ?><span class="input-group-btn"> <button class="audit-search" type="submit" <?php if (!empty($hero_btn)): ?><span class="input-group-btn"> <button class="audit-search" type="submit"
id="review-btn"><span class="glyphicon glyphicon-search"></span> id="review-btn"><span class="glyphicon glyphicon-search"></span>
<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">
<path <path
d="M19 11C19 15.4184 15.4184 19 11 19C6.5816 19 3 15.4184 3 11C3 6.5816 6.5816 3 11 3C15.4184 3 19 6.5816 19 11Z" d="M19 11C19 15.4184 15.4184 19 11 19C6.5816 19 3 15.4184 3 11C3 6.5816 6.5816 3 11 3C15.4184 3 19 6.5816 19 11Z"
stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" /> stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
<path d="M20.9984 20.9999L16.6484 16.6499" stroke="white" stroke-width="3" stroke-linecap="round" <path d="M20.9984 20.9999L16.6484 16.6499" stroke="white" stroke-width="3" stroke-linecap="round"
stroke-linejoin="round" /> stroke-linejoin="round" />
</svg> <?php echo $hero_btn; ?></button></span> </svg> <?php echo $hero_btn; ?></button></span>
<?php endif; ?>
</div>
</form>
</div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</form> </div>
</div> </div>
<?php endif; ?> </section>
</div> <?php else: ?>
</div> <section class="AUDIT-INNER-BANNER pb-40">
</div> <div class="container">
</section> <!-- <a href="#" class="btn-outlined back-btn d-inline-block" onclick="history.back()">
<?php else: ?> <svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<section class="AUDIT-INNER-BANNER pb-40"> <path
<div class="container"> d="M0.987632 6.32235L0.987618 6.32236C0.807959 6.50208 0.707031 6.74579 0.707031 6.9999C0.707031 7.25402 0.807959 7.49773 0.987618 7.67745L0.987632 7.67746L6.82096 13.5108L6.82095 13.5108L6.82251 13.5123C7.00326 13.6869 7.24534 13.7835 7.49661 13.7813C7.74788 13.7791 7.98824 13.6783 8.16592 13.5006C8.34361 13.323 8.44439 13.0826 8.44658 12.8313C8.44876 12.5801 8.35217 12.338 8.1776 12.1572L8.17761 12.1572L8.17607 12.1557L3.97863 7.95824H18.3319C18.586 7.95824 18.8298 7.85727 19.0095 7.67755C19.1892 7.49783 19.2902 7.25407 19.2902 6.9999C19.2902 6.74574 19.1892 6.50198 19.0095 6.32226C18.8298 6.14254 18.586 6.04157 18.3319 6.04157H3.97863L8.17533 1.84487C8.26648 1.75663 8.33921 1.65116 8.38929 1.53458C8.43951 1.41766 8.46595 1.29191 8.46706 1.16466C8.46816 1.03741 8.44392 0.911218 8.39573 0.793443C8.34754 0.675668 8.27638 0.568668 8.1864 0.478687C8.09642 0.388707 7.98942 0.317547 7.87165 0.269362C7.75387 0.221176 7.62768 0.196928 7.50043 0.198034C7.37319 0.19914 7.24743 0.225577 7.13051 0.275802C7.01394 0.325879 6.90847 0.398603 6.82023 0.489753L0.987632 6.32235Z"
<!-- <a href="#" class="btn-outlined back-btn d-inline-block" onclick="history.back()">Go Back</a> --> fill="white" stroke="white" stroke-width="0.25" />
<div class="top-title"> </svg>
<?php if (!empty($hero_title)): ?>
<h1><?php echo $hero_title; ?></h1><?php endif; ?> Go Back</a> -->
</div> <div class="top-title">
</div> <?php if (!empty($hero_title)): ?>
</section> <h1><?php echo $hero_title; ?></h1><?php endif; ?>
<?php endif; endif; endif; ?> </div>
</div>
</section>
<?php endif; endif; endif; ?>
<!-- !Seo - Hero Section --> <!-- !Seo - Hero Section -->
\ No newline at end of file
.BLOGLISTING-TOP-TITLE-SECTION { .BLOGLISTING-TOP-TITLE-SECTION {
&.background-dark { &.background-dark {
background: #005aff !important; background: #005aff !important;
} }
} }
.left-filter { .left-filter {
border-right: 2px solid rgba(0, 0, 0, 0.2); border-right: 2px solid rgba(0, 0, 0, 0.2);
@media (max-width: 1023.98px) { @media (max-width: 1023.98px) {
border-right: 0; border-right: 0;
} }
.blog-side-bar { .blog-side-bar {
position: sticky; position: sticky;
top: 18%; top: 18%;
.back-to-blog { .back-to-blog {
margin-bottom: 3.4375rem; margin-bottom: 3.4375rem;
} }
.blog-category { .blog-category {
h6 { h6 {
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 600; font-weight: 600;
color: #005aff; color: #005aff;
} }
.category-list { .category-list {
ul { ul {
list-style-type: none; list-style-type: none;
li { li {
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
font-weight: 400; font-weight: 400;
font-size: 16px; font-size: 16px;
&::marker { &::marker {
display: none; display: none;
} }
&:last-child { &:last-child {
margin: 0; margin: 0;
} }
a { a {
color: #1215269b; color: #1215269b;
} }
&:hover { &:hover,
a { &.current-cat {
color: #005aff; a {
} color: #005aff;
} }
} }
} }
} }
} }
} }
}
} }
.blog-list { .blog-list {
button { button {
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1);
} }
.quote { .quote {
svg { svg {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
} }
.launch-container { .launch-container {
.left-text-wrapper { .left-text-wrapper {
.text-wrapper { .text-wrapper {
h2 { h2 {
font-size: 2rem; font-size: 2rem;
} }
} }
} }
} }
.blog-detail-content { .blog-detail-content {
span { span {
color: #58595a; color: #58595a;
} }
ul, ul,
ol { ol {
margin-left: 1.25rem; margin-left: 1.25rem;
list-style-type: none; list-style-type: none;
li { li {
font-size: 1.125rem; font-size: 1.125rem;
display: flex; display: flex;
position: relative; position: relative;
flex-direction: column; flex-direction: column;
padding-left: 18px; padding-left: 18px;
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
color: #58595a; color: #58595a;
&::before { &::before {
content: ""; content: "";
background-image: url(../../assets/img/dot2.svg); background-image: url(../../assets/img/dot2.svg);
height: 11px; height: 11px;
width: 34px; width: 34px;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
margin-right: 8px; margin-right: 8px;
display: block; display: block;
position: absolute; position: absolute;
left: 0; left: 0;
top: 7px; top: 7px;
} }
} }
} }
h1, h1,
h2, h2,
h3, h3,
h4, h4,
h5, h5,
h6 { h6 {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
} scroll-margin-top: 150px;
.image-wrapper {
img { &:target::before {
width: 25rem; content: unset;
height: 25rem; }
object-fit: contain; }
} .image-wrapper {
} img {
} width: 25rem;
height: 25rem;
object-fit: contain;
}
}
}
} }
.BLOGDETAIL-TOP-TITLE-SECTION { .BLOGDETAIL-TOP-TITLE-SECTION {
&.background-dark { &.background-dark {
background: #005aff !important; background: #005aff !important;
} }
.title-wrapper { .title-wrapper {
.views { .views {
.post-views { .post-views {
margin-right: 6px; margin-right: 6px;
} }
} }
.post-date { .post-date {
.svg-wrapper { .svg-wrapper {
@media (max-width: 767.98px) { @media (max-width: 767.98px) {
display: block !important; display: block !important;
} }
} }
span { span {
margin-right: 2rem; margin-right: 2rem;
margin-bottom: 0; margin-bottom: 0;
svg { svg {
margin-right: 0.625rem; margin-right: 0.625rem;
} }
} }
div { div {
margin-right: 2rem; margin-right: 2rem;
} }
} }
h1 { h1 {
margin: 1.25rem 0; margin: 1.25rem 0;
} }
} }
} }
.share-article { .share-article {
@media (max-width: 767.98px) { @media (max-width: 767.98px) {
margin-bottom: 0; margin-bottom: 0;
} }
margin-bottom: 3.5rem; margin-bottom: 3.5rem;
h5 { h5 {
margin-bottom: 1rem; margin-bottom: 1rem;
color: $primary; color: $primary;
} }
.social-icon { .social-icon {
margin-bottom: 1rem; margin-bottom: 1rem;
.icon { .icon {
min-height: 3rem; min-height: 3rem;
min-width: 3rem; min-width: 3rem;
margin-right: 1rem; margin-right: 1rem;
border-radius: 50%; border-radius: 50%;
border: 1px solid #8f8f8f; border: 1px solid #8f8f8f;
transition: 0.5s ease; transition: 0.5s ease;
transition: 0.3s ease-in-out; transition: 0.3s ease-in-out;
svg { svg {
path { path {
transition: 0.3s ease-in-out; transition: 0.3s ease-in-out;
fill: #8f8f8f; fill: #8f8f8f;
} }
} }
&:hover { &:hover {
border: 1px solid $white; border: 1px solid $white;
svg { svg {
path { path {
fill: $white; fill: $white;
} }
} }
} }
} }
} }
} }
.share-article2 { .share-article2 {
@media (max-width: 767.98px) { @media (max-width: 767.98px) {
margin-bottom: 0; margin-bottom: 0;
} }
margin-bottom: 3.5rem; margin-bottom: 3.5rem;
h5 { h5 {
margin-bottom: 1rem; margin-bottom: 1rem;
color: $primary; color: $primary;
} }
.social-icon { .social-icon {
margin-bottom: 1rem; margin-bottom: 1rem;
.icon { .icon {
min-height: 3rem; min-height: 3rem;
min-width: 3rem; min-width: 3rem;
margin-right: 1rem; margin-right: 1rem;
border-radius: 50%; border-radius: 50%;
border: 1px solid #878787; border: 1px solid #878787;
transition: 0.5s ease; transition: 0.5s ease;
background-color: $white; background-color: $white;
transition: 0.3s ease-in-out; transition: 0.3s ease-in-out;
svg { svg {
path { path {
transition: 0.3s ease-in-out; transition: 0.3s ease-in-out;
fill: #878787; fill: #878787;
} }
} }
&:hover { &:hover {
border: 1px solid #000; border: 1px solid #000;
svg { svg {
path { path {
fill: #000; fill: #000;
} }
} }
} }
} }
} }
} }
.left-filter { .left-filter {
.blog-side-bar { .blog-side-bar {
.tags-wrapper { .tags-wrapper {
display: unset; display: unset;
ul { ul {
list-style-type: none; list-style-type: none;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
li { li {
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1);
padding: 0.375rem 1.25rem; padding: 0.375rem 1.25rem;
margin-right: 0.75rem; margin-right: 0.75rem;
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1);
padding: 0.375rem 1.25rem; padding: 0.375rem 1.25rem;
margin-right: 0.75rem; margin-right: 0.75rem;
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
font-family: $body-font; font-family: $body-font;
font-size: 0.875rem; font-size: 0.875rem;
font-weight: 600; font-weight: 600;
a { a {
color: #121526; color: #121526;
} }
} }
} }
h5 { h5 {
margin-bottom: 1rem; margin-bottom: 1rem;
color: $primary; color: $primary;
} }
.tags { .tags {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; align-items: center;
margin-right: 0.75rem; margin-right: 0.75rem;
font-size: 0.8125rem; font-size: 0.8125rem;
font-weight: 500; font-weight: 500;
height: auto; height: auto;
white-space: nowrap; white-space: nowrap;
.tag { .tag {
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1);
padding: 0.375rem 1.25rem; padding: 0.375rem 1.25rem;
margin-right: 0.75rem; margin-right: 0.75rem;
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
} }
} }
} }
} }
} }
.RELATED-BLOGS { .RELATED-BLOGS {
.after-title { .after-title {
@media (max-width: 767.98px) { @media (max-width: 767.98px) {
display: block !important; display: block !important;
.right-button { .right-button {
justify-content: start !important; justify-content: start !important;
} }
} }
} }
.right-button { .right-button {
button { button {
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1);
} }
@media (max-width: 767.98px) { @media (max-width: 767.98px) {
.btn-start-project, .btn-start-project,
.btn-start-project { .btn-start-project {
padding: 1rem !important; padding: 1rem !important;
} }
} }
} }
span { span {
color: #b1b1b1; color: #b1b1b1;
} }
} }
.BLOGDETAIL-LIST-ITEM-SECTION { .BLOGDETAIL-LIST-ITEM-SECTION {
.blog-detail-side-bar { .blog-detail-side-bar {
p { p {
margin-bottom: 3.4375rem; margin-bottom: 3.4375rem;
} }
} }
} }
...@@ -9,12 +9,29 @@ ...@@ -9,12 +9,29 @@
margin-bottom: 52px; margin-bottom: 52px;
min-width: unset; min-width: unset;
&::before { &:hover {
content: ""; background-color: $white !important;
width: 18px; color: $primary !important;
height: 13px; svg {
display: inline-block; path {
background: url(../img/arrow-back.svg) no-repeat center/contain; stroke: $primary;
fill: $primary !important;
}
}
}
.COMPARISON-FORM .section-title {
margin-bottom: 24px;
}
// &::before {
// content: "";
// width: 18px;
// height: 13px;
// display: inline-block;
// background: url(../img/arrow-back.svg) no-repeat center/contain;
// margin-right: 12px;
// }
svg {
margin-right: 12px; margin-right: 12px;
} }
} }
......
...@@ -4,7 +4,8 @@ $theme-colors: ( ...@@ -4,7 +4,8 @@ $theme-colors: (
"secondary": #f9f8f4, "secondary": #f9f8f4,
"dark": #000000, "dark": #000000,
"light": #f6f8f9, "light": #f6f8f9,
"grey": #58595a "grey": #58595a,
"red": #f71d24
); );
//colors //colors
...@@ -14,6 +15,7 @@ $secondary: #f9f8f4; ...@@ -14,6 +15,7 @@ $secondary: #f9f8f4;
$background-dark: #121526; $background-dark: #121526;
$primary-second: #005aff; $primary-second: #005aff;
$grey: #58595a; $grey: #58595a;
$red: #f71d24;
//fonts //fonts
$body-font: "Sora", sans-serif; $body-font: "Sora", sans-serif;
...@@ -34,3 +36,22 @@ $body-font: "Sora", sans-serif; ...@@ -34,3 +36,22 @@ $body-font: "Sora", sans-serif;
@import "pages/service"; @import "pages/service";
@import "pages/course-detail"; @import "pages/course-detail";
@import "pages/responsive"; @import "pages/responsive";
@import "base/global";
@import "pages/service-detail/service-lisiting";
@import "pages/service-detail/service-plans";
@import "pages/service-detail/service-detail-form";
@import "pages/portfolio-detail/portfolio-gallery";
@import "pages/portfolio-detail/portfolio-icon-and-typo";
@import "pages/portfolio-detail/portfolio-icon-list";
@import "pages/portfolio-detail/portfolio-intro";
@import "pages/portfolio-detail/portfolio-mockup";
@import "pages/portfolio-detail/portfolio-single-image";
@import "pages/portfolio-detail/portfolio-single-image";
@import "pages/portfolio-detail/portfolio-testimonial";
@import "pages/portfolio-detail/portfolio-title-desc";
@import "pages/portfolio-detail/related-portfolio";
@import "pages/seo-audit/audit-intro";
@import "pages/seo-audit/audit-toolbox";
@import "pages/seo-audit/audit-quote";
@import "pages/site-comparision/inner-banner";
@import "pages/site-comparision/comparison-form";
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
</a> </a>
<div class="whats-app-icon-wrapper"> <div class="whats-app-icon-wrapper">
<a href="https://wa.me/<?php echo $whatsapp ?>" target="_blank"> <a href="https://wa.me/<?php echo get_field('whats_app_number', 'option'); ?>" target="_blank">
<svg width="60" height="60" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg width="60" height="60" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path <path
d="M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z" d="M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z"
...@@ -246,6 +246,66 @@ ...@@ -246,6 +246,66 @@
</div> </div>
</div> </div>
<div class="download-popup">
<div class="dp-content-box">
<div class="top-title section-title d-flex justify-content-between align-items-start">
<div class="title">
<h2>Get Your Free SEO Audit Delivered to Your Inbox</h2>
<p class="d-none d-md-block">Fill out the form, and we'll send you a detailed SEO audit directly to your email,
helping you improve your
website's performance.
</p>
</div>
<button type="button" class="close-download-popup">
<img src="<?php echo get_parent_theme_file_uri()?>/assets/img/x-mark.svg" alt="">
</button>
</div>
<div class="form-content-box">
<div class="row">
<div class="col-sm-6">
<div class="input-field">
<label>Full Name</label>
<input type="text" placeholder="Enter your Full Name ">
</div>
</div>
<div class="col-sm-6">
<div class="input-field">
<label>Phone Number (Optional)</label>
<input type="text" placeholder="Enter your Phone Number">
</div>
</div>
<div class="col-sm-6">
<div class="input-field">
<label>Enter your Email Address</label>
<input type="text" placeholder="Enter your Email Address ">
</div>
</div>
<div class="col-sm-6">
<div class="input-field">
<label>Company Name</label>
<input type="text" placeholder="Enter the Name of your Company">
</div>
</div>
<div class="col">
<div class="input-field">
<label>Message (optional)</label>
<textarea rows="3" placeholder="Enter the message you want us to send"></textarea>
</div>
</div>
</div>
<div class="submit-field ">
<input type="submit" value="Submit">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M-6.11959e-07 9L12.17 9L6.58 14.59L8 16L16 8L8 6.99382e-07L6.59 1.41L12.17 7L-7.86805e-07 7L-6.11959e-07 9Z"
fill="white" />
</svg>
</div>
</div>
</div>
</div>
<a href="#" class="custom-overlay"></a>
<?php wp_footer() ?> <?php wp_footer() ?>
</body> </body>
......
...@@ -7,688 +7,752 @@ function my_acf_init_block_types() ...@@ -7,688 +7,752 @@ function my_acf_init_block_types()
if (function_exists('acf_register_block_type')) { if (function_exists('acf_register_block_type')) {
// Welcome Banner Block // Welcome Banner Block
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Welcome Banner Block', 'name' => 'Welcome Banner Block',
'title' => __('Welcome Banner Block'), 'title' => __('Welcome Banner Block'),
'description' => __('Welcome Banner Block'), 'description' => __('Welcome Banner Block'),
'render_template' => 'blocks/welcome-banner.php', 'render_template' => 'blocks/welcome-banner.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Welcome Banner'), 'keywords' => array('Welcome Banner'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
// Welcome Banner Spider Block // Welcome Banner Spider Block
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Welcome Banner Spider Block', 'name' => 'Welcome Banner Spider Block',
'title' => __('Welcome Banner Spider Block'), 'title' => __('Welcome Banner Spider Block'),
'description' => __('Welcome Banner Spider Block'), 'description' => __('Welcome Banner Spider Block'),
'render_template' => 'blocks/welcome-banner-spider.php', 'render_template' => 'blocks/welcome-banner-spider.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Welcome Banner Spider'), 'keywords' => array('Welcome Banner Spider'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
// Partners Carousel Block // Partners Carousel Block
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Partners Carousel Block', 'name' => 'Partners Carousel Block',
'title' => __('Partners Carousel Block'), 'title' => __('Partners Carousel Block'),
'description' => __('Partners Carousel Block'), 'description' => __('Partners Carousel Block'),
'render_template' => 'blocks/partners-carousel.php', 'render_template' => 'blocks/partners-carousel.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Welcome Banner'), 'keywords' => array('Welcome Banner'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
// Text Image Block // Text Image Block
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Our Information Section', 'name' => 'Our Information Section',
'title' => __('Our Information Section'), 'title' => __('Our Information Section'),
'description' => __('Our Information Section'), 'description' => __('Our Information Section'),
'render_template' => 'blocks/our-information-section.php', 'render_template' => 'blocks/our-information-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Our Information Section'), 'keywords' => array('Our Information Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'What we do Section', 'name' => 'What we do Section',
'title' => __('What we do Section'), 'title' => __('What we do Section'),
'description' => __('What we do Section'), 'description' => __('What we do Section'),
'render_template' => 'blocks/what-we-do-section.php', 'render_template' => 'blocks/what-we-do-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('What we do Section'), 'keywords' => array('What we do Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Title CTA', 'name' => 'Title CTA',
'title' => __('Title CTA'), 'title' => __('Title CTA'),
'description' => __('Title CTA'), 'description' => __('Title CTA'),
'render_template' => 'blocks/title-cta.php', 'render_template' => 'blocks/title-cta.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Title CTA'), 'keywords' => array('Title CTA'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Right Image With Description', 'name' => 'Right Image With Description',
'title' => __('Right Image With Description'), 'title' => __('Right Image With Description'),
'description' => __('Right Image With Description'), 'description' => __('Right Image With Description'),
'render_template' => 'blocks/right-image-description.php', 'render_template' => 'blocks/right-image-description.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Right Image With Description'), 'keywords' => array('Right Image With Description'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Portfolio Block', 'name' => 'Portfolio Block',
'title' => __('Portfolio Block'), 'title' => __('Portfolio Block'),
'description' => __('Portfolio Block'), 'description' => __('Portfolio Block'),
'render_template' => 'blocks/portfolio-block.php', 'render_template' => 'blocks/portfolio-block.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Portfolio Block'), 'keywords' => array('Portfolio Block'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Testimonials Block', 'name' => 'Testimonials Block',
'title' => __('Testimonials Block'), 'title' => __('Testimonials Block'),
'description' => __('Testimonials Block'), 'description' => __('Testimonials Block'),
'render_template' => 'blocks/testimonial-block.php', 'render_template' => 'blocks/testimonial-block.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Testimonials Block'), 'keywords' => array('Testimonials Block'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Blogs Block', 'name' => 'Blogs Block',
'title' => __('Blogs Block'), 'title' => __('Blogs Block'),
'description' => __('Blogs Block'), 'description' => __('Blogs Block'),
'render_template' => 'blocks/blogs-block.php', 'render_template' => 'blocks/blogs-block.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Blogs Block'), 'keywords' => array('Blogs Block'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'FAQs Block', 'name' => 'FAQs Block',
'title' => __('FAQs Block'), 'title' => __('FAQs Block'),
'description' => __('FAQs Block'), 'description' => __('FAQs Block'),
'render_template' => 'blocks/faqs-block.php', 'render_template' => 'blocks/faqs-block.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('FAQs Block'), 'keywords' => array('FAQs Block'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Start Project CTA', 'name' => 'Start Project CTA',
'title' => __('Start Project CTA'), 'title' => __('Start Project CTA'),
'description' => __('Start Project CTA'), 'description' => __('Start Project CTA'),
'render_template' => 'blocks/start-project-cta.php', 'render_template' => 'blocks/start-project-cta.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Start Project CTA'), 'keywords' => array('Start Project CTA'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Banner Block', 'name' => 'Banner Block',
'title' => __('Banner Block'), 'title' => __('Banner Block'),
'description' => __('Banner Block'), 'description' => __('Banner Block'),
'render_template' => 'blocks/banner-block.php', 'render_template' => 'blocks/banner-block.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Banner Block'), 'keywords' => array('Banner Block'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Two Column Image Block', 'name' => 'Two Column Image Block',
'title' => __('Two Column Image Block'), 'title' => __('Two Column Image Block'),
'description' => __('Two Column Image Block'), 'description' => __('Two Column Image Block'),
'render_template' => 'blocks/two-coloumns-block.php', 'render_template' => 'blocks/two-coloumns-block.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Two Column Image Block'), 'keywords' => array('Two Column Image Block'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Custom Quote Block', 'name' => 'Custom Quote Block',
'title' => __('Custom Quote Block'), 'title' => __('Custom Quote Block'),
'description' => __('Custom Quote Block'), 'description' => __('Custom Quote Block'),
'render_template' => 'blocks/custom-quote-block.php', 'render_template' => 'blocks/custom-quote-block.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Custom Quote Block'), 'keywords' => array('Custom Quote Block'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Portfolio Banner', 'name' => 'Portfolio Banner',
'title' => __('Portfolio Banner'), 'title' => __('Portfolio Banner'),
'description' => __('Portfolio Banner'), 'description' => __('Portfolio Banner'),
'render_template' => 'blocks/portfolio-banner.php', 'render_template' => 'blocks/portfolio-banner.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Portfolio Banner'), 'keywords' => array('Portfolio Banner'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Custom Page Banner', 'name' => 'Custom Page Banner',
'title' => __('Custom Page Banner'), 'title' => __('Custom Page Banner'),
'description' => __('Custom Page Banner'), 'description' => __('Custom Page Banner'),
'render_template' => 'blocks/custom-page-banner.php', 'render_template' => 'blocks/custom-page-banner.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Custom Page Banner'), 'keywords' => array('Custom Page Banner'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'About Client Section', 'name' => 'About Client Section',
'title' => __('About Client Section'), 'title' => __('About Client Section'),
'description' => __('About Client Section'), 'description' => __('About Client Section'),
'render_template' => 'blocks/about-client-section.php', 'render_template' => 'blocks/about-client-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('About Client Section'), 'keywords' => array('About Client Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Portfolio Text Image Section', 'name' => 'Portfolio Text Image Section',
'title' => __('Portfolio Text Image Section'), 'title' => __('Portfolio Text Image Section'),
'description' => __('Portfolio Text Image Section'), 'description' => __('Portfolio Text Image Section'),
'render_template' => 'blocks/portfolio-text-image-section.php', 'render_template' => 'blocks/portfolio-text-image-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Portfolio Text Image Section'), 'keywords' => array('Portfolio Text Image Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Technology Used Section', 'name' => 'Technology Used Section',
'title' => __('Technology Used Section'), 'title' => __('Technology Used Section'),
'description' => __('Technology Used Section'), 'description' => __('Technology Used Section'),
'render_template' => 'blocks/technology-used-section.php', 'render_template' => 'blocks/technology-used-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Technology Used Section'), 'keywords' => array('Technology Used Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Portfolio Conclusion Section', 'name' => 'Portfolio Conclusion Section',
'title' => __('Portfolio Conclusion Section'), 'title' => __('Portfolio Conclusion Section'),
'description' => __('Portfolio Conclusion Section'), 'description' => __('Portfolio Conclusion Section'),
'render_template' => 'blocks/portfolio-conclusion-section.php', 'render_template' => 'blocks/portfolio-conclusion-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Portfolio Conclusion Section'), 'keywords' => array('Portfolio Conclusion Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Share Buttons Section', 'name' => 'Share Buttons Section',
'title' => __('Share Buttons Section'), 'title' => __('Share Buttons Section'),
'description' => __('Share Buttons Section'), 'description' => __('Share Buttons Section'),
'render_template' => 'blocks/share-buttons-section.php', 'render_template' => 'blocks/share-buttons-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Share Buttons Section'), 'keywords' => array('Share Buttons Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Related Portfolio Section', 'name' => 'Related Portfolio Section',
'title' => __('Related Portfolio Section'), 'title' => __('Related Portfolio Section'),
'description' => __('Related Portfolio Section'), 'description' => __('Related Portfolio Section'),
'render_template' => 'blocks/related-portfolio-section.php', 'render_template' => 'blocks/related-portfolio-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Related Portfolio Section'), 'keywords' => array('Related Portfolio Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Custom banner with right image', 'name' => 'Custom banner with right image',
'title' => __('Custom banner with right image'), 'title' => __('Custom banner with right image'),
'description' => __('Custom banner with right image'), 'description' => __('Custom banner with right image'),
'render_template' => 'blocks/custom-banner-with-right-image.php', 'render_template' => 'blocks/custom-banner-with-right-image.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Custom banner with right image'), 'keywords' => array('Custom banner with right image'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Breadcrumb Section', 'name' => 'Breadcrumb Section',
'title' => __('Breadcrumb'), 'title' => __('Breadcrumb'),
'description' => __('Breadcrumb'), 'description' => __('Breadcrumb'),
'render_template' => 'blocks/custom-breadcrumb.php', 'render_template' => 'blocks/custom-breadcrumb.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Breadcrumb'), 'keywords' => array('Breadcrumb'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Our Story Section', 'name' => 'Our Story Section',
'title' => __('Our Story Section'), 'title' => __('Our Story Section'),
'description' => __('Our Story Section'), 'description' => __('Our Story Section'),
'render_template' => 'blocks/about-us/our-story.php', 'render_template' => 'blocks/about-us/our-story.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Our Story Section'), 'keywords' => array('Our Story Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Mission/Vision Section', 'name' => 'Mission/Vision Section',
'title' => __('Mission/Vision Section'), 'title' => __('Mission/Vision Section'),
'description' => __('Mission/Vision Section'), 'description' => __('Mission/Vision Section'),
'render_template' => 'blocks/about-us/mission-vision.php', 'render_template' => 'blocks/about-us/mission-vision.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Mission/Vision Section'), 'keywords' => array('Mission/Vision Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Our Team Section', 'name' => 'Our Team Section',
'title' => __('Our Team Section'), 'title' => __('Our Team Section'),
'description' => __('Our Team Section'), 'description' => __('Our Team Section'),
'render_template' => 'blocks/about-us/our-team.php', 'render_template' => 'blocks/about-us/our-team.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Our Team Section'), 'keywords' => array('Our Team Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Our Team with Departments Section', 'name' => 'Our Team with Departments Section',
'title' => __('Our Team with Departments Section'), 'title' => __('Our Team with Departments Section'),
'description' => __('Our Team with Departments Section'), 'description' => __('Our Team with Departments Section'),
'render_template' => 'blocks/about-us/our-team-with-departments.php', 'render_template' => 'blocks/about-us/our-team-with-departments.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Our Team with Departments Section'), 'keywords' => array('Our Team with Departments Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'How It Feels Section', 'name' => 'How It Feels Section',
'title' => __('How It Feels Section'), 'title' => __('How It Feels Section'),
'description' => __('How It Feels Section'), 'description' => __('How It Feels Section'),
'render_template' => 'blocks/about-us/how-it-feels.php', 'render_template' => 'blocks/about-us/how-it-feels.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('How It Feels Section'), 'keywords' => array('How It Feels Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Employe Feel Section', 'name' => 'Employe Feel Section',
'title' => __('Employe Feel Section'), 'title' => __('Employe Feel Section'),
'description' => __('Employe Feel Section'), 'description' => __('Employe Feel Section'),
'render_template' => 'blocks/about-us/employe-feel.php', 'render_template' => 'blocks/about-us/employe-feel.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Employe Feel Section'), 'keywords' => array('Employe Feel Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Vacancy Listing', 'name' => 'Vacancy Listing',
'title' => __('Vacancy Listing'), 'title' => __('Vacancy Listing'),
'description' => __('Vacancy Listing'), 'description' => __('Vacancy Listing'),
'render_template' => 'blocks/vacancy-listing.php', 'render_template' => 'blocks/vacancy-listing.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Vacancy Listing'), 'keywords' => array('Vacancy Listing'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Contact Details Section', 'name' => 'Contact Details Section',
'title' => __('Contact Details Section'), 'title' => __('Contact Details Section'),
'description' => __('Contact Details Section'), 'description' => __('Contact Details Section'),
'render_template' => 'blocks/contact-us/contact-details.php', 'render_template' => 'blocks/contact-us/contact-details.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Contact Details Section'), 'keywords' => array('Contact Details Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Contact Form Section', 'name' => 'Contact Form Section',
'title' => __('Contact Form Section'), 'title' => __('Contact Form Section'),
'description' => __('Contact Form Section'), 'description' => __('Contact Form Section'),
'render_template' => 'blocks/contact-us/contact-form.php', 'render_template' => 'blocks/contact-us/contact-form.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Contact Form Section'), 'keywords' => array('Contact Form Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Map Section', 'name' => 'Map Section',
'title' => __('Map Section'), 'title' => __('Map Section'),
'description' => __('Map Section'), 'description' => __('Map Section'),
'render_template' => 'blocks/contact-us/map-section.php', 'render_template' => 'blocks/contact-us/map-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Map Section'), 'keywords' => array('Map Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Portfolio Listing Section', 'name' => 'Portfolio Listing Section',
'title' => __('Portfolio Listing Section'), 'title' => __('Portfolio Listing Section'),
'description' => __('Portfolio Listing Section'), 'description' => __('Portfolio Listing Section'),
'render_template' => 'blocks/portfolio-listing-section.php', 'render_template' => 'blocks/portfolio-listing-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Portfolio Listing Section'), 'keywords' => array('Portfolio Listing Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'About Us Stat Section', 'name' => 'About Us Stat Section',
'title' => __('About Us Stat Section'), 'title' => __('About Us Stat Section'),
'description' => __('About Us Stat Section'), 'description' => __('About Us Stat Section'),
'render_template' => 'blocks/about-us/stat-section.php', 'render_template' => 'blocks/about-us/stat-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('About Us Stat Section'), 'keywords' => array('About Us Stat Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Service List Section', 'name' => 'Service List Section',
'title' => __('Service List Section'), 'title' => __('Service List Section'),
'description' => __('Service List Section'), 'description' => __('Service List Section'),
'render_template' => 'blocks/service-list-section.php', 'render_template' => 'blocks/service-list-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Service List Section'), 'keywords' => array('Service List Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Service Content List Section', 'name' => 'Service Content List Section',
'title' => __('Service Content List Section'), 'title' => __('Service Content List Section'),
'description' => __('Service Content List Section'), 'description' => __('Service Content List Section'),
'render_template' => 'blocks/service-content-list-section.php', 'render_template' => 'blocks/service-content-list-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Service Content List Section'), 'keywords' => array('Service Content List Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'New Service Content List Section', 'name' => 'New Service Content List Section',
'title' => __('New Service Content List Section'), 'title' => __('New Service Content List Section'),
'description' => __('New Service Content List Section'), 'description' => __('New Service Content List Section'),
'render_template' => 'blocks/new-service-content-list-section.php', 'render_template' => 'blocks/new-service-content-list-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('New Service Content List Section'), 'keywords' => array('New Service Content List Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Service Work Process Section', 'name' => 'Service Work Process Section',
'title' => __('Service Work Process Section'), 'title' => __('Service Work Process Section'),
'description' => __('Service Work Process Section'), 'description' => __('Service Work Process Section'),
'render_template' => 'blocks/service-work-process-section.php', 'render_template' => 'blocks/service-work-process-section.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => 'admin-comments',
'keywords' => array('Service Work Process Section'), 'keywords' => array('Service Work Process Section'),
'example' => [ 'example' => [
'attributes' => [
'mode' => 'preview',
'data' => [],
],
],
));
acf_register_block_type(array(
'name' => 'Service Portfolio List Section',
'title' => __('Service Portfolio List Section'),
'description' => __('Service Portfolio List Section'),
'render_template' => 'blocks/service-portfolio-list-section.php',
'category' => 'formatting',
'icon' => 'admin-comments',
'keywords' => array('Service Portfolio List Section'),
'example' => [
'attributes' => [
'mode' => 'preview',
'data' => [],
],
],
));
acf_register_block_type(array(
'name' => 'Contact Us Breadcrumb',
'title' => __('Contact Us Breadcrumb'),
'description' => __('Contact Us Breadcrumb'),
'render_template' => 'blocks/contact-us/contact-breadcrumb.php',
'category' => 'formatting',
'icon' => 'admin-comments',
'keywords' => array('Contact Us Breadcrumb'),
'example' => [
'attributes' => [
'mode' => 'preview',
'data' => [],
],
],
));
// SEO - Hero Section
acf_register_block_type(array(
'name' => 'Hero Section',
'title' => __('Hero Section'),
'description' => __('Hero Section for SEO Pages'),
'render_template' => 'blocks/seo/hero.php',
'category' => 'formatting',
'icon' => file_get_contents(get_template_directory() . '/assets/img/makura.svg'),
'keywords' => array('Hero Section'),
'example' => [
'attributes' => [
'mode' => 'preview',
'data' => [],
],
],
));
// SEO - Icon Box Section
acf_register_block_type(array(
'name' => 'SEO - Icon Box Section',
'title' => __('SEO - Icon Box Section'),
'description' => __('SEO - Icon Box Section for SEO Pages'),
'render_template' => 'blocks/seo/icon-box.php',
'category' => 'formatting',
'icon' => file_get_contents(get_template_directory() . '/assets/img/makura.svg'),
'keywords' => array('SEO - Icon Box Section'),
'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
// SEO - Quote Section
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Service Portfolio List Section', 'name' => 'SEO - Quote Section',
'title' => __('Service Portfolio List Section'), 'title' => __('Quote Block'),
'description' => __('Service Portfolio List Section'), 'description' => __('SEO - Quote Section for SEO Pages'),
'render_template' => 'blocks/service-portfolio-list-section.php', 'render_template' => 'blocks/seo/quote.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => file_get_contents(get_template_directory() . '/assets/img/makura.svg'),
'keywords' => array('Service Portfolio List Section'), 'keywords' => array('SEO - Quote Section'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
// SEO - Competitive Analysis Form Block
acf_register_block_type(array( acf_register_block_type(array(
'name' => 'Contact Us Breadcrumb', 'name' => 'SEO - Competitive Analysis Form Block',
'title' => __('Contact Us Breadcrumb'), 'title' => __('Competitive Analysis Form Block'),
'description' => __('Contact Us Breadcrumb'), 'description' => __('SEO - Competitive Analysis Form Block for SEO Pages'),
'render_template' => 'blocks/contact-us/contact-breadcrumb.php', 'render_template' => 'blocks/seo/compare.php',
'category' => 'formatting', 'category' => 'formatting',
'icon' => 'admin-comments', 'icon' => file_get_contents(get_template_directory() . '/assets/img/makura.svg'),
'keywords' => array('Contact Us Breadcrumb'), 'keywords' => array('SEO - Competitive Analysis Form Block'),
'example' => [ 'example' => [
'attributes' => [ 'attributes' => [
'mode' => 'preview', 'mode' => 'preview',
'data' => [] 'data' => [],
] ],
], ],
)); ));
} }
......
...@@ -6,226 +6,249 @@ get_header(); ...@@ -6,226 +6,249 @@ 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 <?php
</a> $content = apply_filters('the_content', get_the_content());
</div> if (!empty($content)) {
<p><?php echo the_field('read_time'); ?></p> libxml_use_internal_errors(true);
<div class="share-article2"> $dom = new DOMDocument();
<h5>Share this article</h5> $dom->loadHTML(mb_convert_encoding($content, 'HTML-ENTITIES', 'UTF-8'));
<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=" $table_of_contents = '<div class="blog-category toc">
rel="nofollow noopener" target="_blank" <div class="toc-title">
class="a2a_button_facebook share-option-icon icon d-flex align-items-center justify-content-center facebook"> <h6>Table of Content</h6>
<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="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="category-list">
<div class="row"> <ul class="wp-block-categories-list wp-block-categories">';
<div class="col-11 blog-detail-content mx-auto">
<?php the_content(); ?> $xpath = new DOMXPath($dom);
</div> $headings = $xpath->query('//h2 | //h3');
</div>
foreach ($headings as $heading) {
$id = sanitize_title($heading->nodeValue);
$heading->setAttribute('id', $id);
$table_of_contents .= '<li><a class="cat-item" href="#' . $id . '">' . $heading->nodeValue . '</a></li>';
}
$table_of_contents .= '</ul>
</div> </div>
</div>';
echo $table_of_contents;
} else {
echo '<div class="table-of-content"><h4>No Content Available</h4></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="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> </div>
<?php endif; ?> <?php endif; ?>
</div>
<?php endif; ?>
</div> </div>
<?php <?php endif; ?>
</div>
$related = get_posts(array('category__in' => wp_get_post_categories(get_the_ID()), 'numberposts' => 5, 'post__not_in' => array(get_the_ID()))); <?php
if ($related):
?>
<div class="row">
<div class="blog-carousel owl-carousel owl-theme owl-loaded owl-drag">
<?php foreach ($related as $post):
setup_postdata($post); ?>
<div class="item blog-card">
<a href="<?php the_permalink(); ?>">
<div class="blog-image-wrapper">
<?php the_post_thumbnail(); ?>
</div>
<div class="text-wrapper">
<!--<p><?php echo get_simple_tag_list(get_the_ID()); ?></p>-->
<h6><?php the_title(); ?></h6>
<?php the_excerpt(); ?>
<span><svg width="20" height="21" viewBox="0 0 20 21" fill="none"
xmlns="http://www.w3.org/2000/svg">
<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"
stroke="#005AFF" stroke-width="1.5" stroke-linecap="round"
stroke-linejoin="round"></path>
<path d="M13.75 2.375V4.875" stroke="#005AFF" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M6.25 2.375V4.875" stroke="#005AFF" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M3.125 7.375H16.875" stroke="#005AFF" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></path>
</svg> <?php echo get_the_date('d, M Y', get_the_ID()); ?></span>
</div>
</a>
</div>
<?php endforeach;
wp_reset_postdata(); ?>
</div> $related = get_posts(array('category__in' => wp_get_post_categories(get_the_ID()), 'numberposts' => 5, 'post__not_in' => array(get_the_ID())));
if ($related):
?>
<div class="row">
<div class="blog-carousel owl-carousel owl-theme owl-loaded owl-drag">
<?php foreach ($related as $post):
setup_postdata($post); ?>
<div class="item blog-card">
<a href="<?php the_permalink(); ?>">
<div class="blog-image-wrapper">
<?php the_post_thumbnail(); ?>
</div>
<div class="text-wrapper">
<!--<p><?php echo get_simple_tag_list(get_the_ID()); ?></p>-->
<h6><?php the_title(); ?></h6>
<?php the_excerpt(); ?>
<span><svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<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"
stroke="#005AFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M13.75 2.375V4.875" stroke="#005AFF" stroke-width="1.5" stroke-linecap="round"
stroke-linejoin="round"></path>
<path d="M6.25 2.375V4.875" stroke="#005AFF" stroke-width="1.5" stroke-linecap="round"
stroke-linejoin="round"></path>
<path d="M3.125 7.375H16.875" stroke="#005AFF" stroke-width="1.5" stroke-linecap="round"
stroke-linejoin="round"></path>
</svg> <?php echo get_the_date('d, M Y', get_the_ID()); ?></span>
</div>
</a>
</div> </div>
<?php endif; <?php endforeach;
?> wp_reset_postdata(); ?>
</div>
</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'); ?>
......
/* /*
Theme Name: Makura Theme Theme Name: Makura Theme
Text Domain: makura-theme Text Domain: makura-theme
Version: 1.0 Version: 1.02
Description: Custom theme for Makura Description: Custom theme for Makura
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment