Commit b941d99b by jhukal9@gmail.com

updated the bugfixes

parent eadeeeb7
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -78,11 +78,55 @@ ...@@ -78,11 +78,55 @@
}); });
/** MAKURA LATEST FAQ EXPAND COLLAPSE ENDS HERE */ /** MAKURA LATEST FAQ EXPAND COLLAPSE ENDS HERE */
/** STICKY TAB AT MASTER PORTFOLIO START HERE */ /** MOBILE OFFCANVAS TOC START HERE */
$(function () { $(function () {
$(".sticky-tab"); $(".blog-side-bar h6").on("click", function () {
$(this).addClass("remove");
$(".category-list").addClass("active");
});
$(".category-list a").on("click", function () {
$(".blog-side-bar h6").removeClass("remove");
$(".category-list").removeClass("active");
});
$(document).on("click", function (e) {
if (!$(e.target).closest(".blog-side-bar").length) {
$(".blog-side-bar h6").removeClass("remove");
$(".category-list").removeClass("active");
}
});
$(window).on("scroll", function () {
$(".blog-side-bar h6").removeClass("remove");
$(".category-list").removeClass("active");
});
const tocObserver = new IntersectionObserver(
function (entries) {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".blog-side-bar h6").show();
} else {
$(".blog-side-bar h6").hide();
}
});
},
{
threshold: 0.1,
},
);
const sections = [
document.querySelector(".BLOGDETAIL-LIST-ITEM-SECTION"),
document.querySelector(".BLOGLISTING-LIST-ITEM-SECTION"),
];
sections.length &&
sections.forEach((section) => {
if (section) tocObserver.observe(section);
});
}); });
/** STICKY TAB AT MASTER PORTFOLIO ENDS HERE */ /** MOBILE OFFCANVAS TOC ENDS HERE */
/** GALLERY LIGHT BOX AND DYNAMIC SLIDER START HERE */ /** GALLERY LIGHT BOX AND DYNAMIC SLIDER START HERE */
$(function () { $(function () {
......
<?php if(get_field('enable_section')):?> <?php if(get_field('enable_section')):?>
<section class="container-fluid py-80 ABOUT MEET-OUR-TEAM-SECTION"> <section class="container-fluid py-80 ABOUT MEET-OUR-TEAM-SECTION">
<div class="container"> <div class="container">
<div class="row">
<div class="col-xl-7 col-lg-6 col-md-8 text-center col-12 m-auto pb-80 title-wrapper">
<h2><?php the_field('title');?></h2>
<?php the_field('description');?>
</div>
<?php if($members = get_field('members')):?>
<div class="about-team">
<div class="row"> <div class="row">
<div class="col-lg-5 col-md-5 text-center col-12 m-auto pb-80 title-wrapper"> <?php foreach($members as $member):?>
<h2><?php the_field('title');?></h2> <div class="col-sm-6 col-md-4 col-lg-3 mb-3 team-card">
<?php the_field('description');?> <div href="meet-our-team" class="card">
<?php echo get_the_post_thumbnail($member);?>
<div class="info text-center">
<h5><?php echo get_the_title($member);?></h5>
<span><?php echo get_field('designation',$member);?></span>
</div>
</div> </div>
<?php if($members = get_field('members')):?> </div>
<div class="about-team"> <?php endforeach;?>
<div class="row">
<?php foreach($members as $member):?>
<div class="col-sm-6 col-md-4 col-lg-3 mb-3 team-card">
<div href="meet-our-team" class="card">
<?php echo get_the_post_thumbnail($member);?>
<div class="info text-center">
<h5><?php echo get_the_title($member);?></h5>
<span><?php echo get_field('designation',$member);?></span>
</div>
</div>
</div>
<?php endforeach;?>
</div>
<?php if ($link = get_field('link')) : $link_target = $link['target'] ? $link['target'] : '_self';?>
<a href="<?php echo $link['url']; ?>" target="<?php echo esc_attr( $link_target ); ?>"
class="btn d-flex m-auto mt-60 align-items-center start-project btn-start-project-white"
style="width: fit-content; margin: auto;"><?php echo $link['title']; ?>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M4 13L16.17 13L10.58 18.59L12 20L20 12L12 4L10.59 5.41L16.17 11L4 11L4 13Z" fill="white">
</path>
</svg>
</a>
<?php endif;?>
</div>
<?php endif;?>
</div> </div>
<?php if ($link = get_field('link')) : $link_target = $link['target'] ? $link['target'] : '_self';?>
<a href="<?php echo $link['url']; ?>" target="<?php echo esc_attr( $link_target ); ?>"
class="btn d-flex m-auto mt-60 align-items-center start-project btn-start-project-white"
style="width: fit-content; margin: auto;"><?php echo $link['title']; ?>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M4 13L16.17 13L10.58 18.59L12 20L20 12L12 4L10.59 5.41L16.17 11L4 11L4 13Z" fill="white">
</path>
</svg>
</a>
<?php endif;?>
</div>
<?php endif;?>
</div> </div>
</div>
</section> </section>
<?php endif;?> <?php endif;?>
\ No newline at end of file
<?php if(get_field('enable_section')):?> <?php if(get_field('enable_section')):?>
<section class="container-fluid py-80 SERVICE HOMEPAGE-TOP-AFTER-CAROUSEL-SECTION"> <section class="container-fluid py-80 SERVICE HOMEPAGE-TOP-AFTER-CAROUSEL-SECTION">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="title-wrapper"> <div class="title-wrapper">
<h3><?php the_field('title');?></h3> <h3><?php the_field('title');?></h3>
<?php the_field('description');?> <?php the_field('description');?>
</div> </div>
</div>
<?php if(have_rows('content')): while(have_rows('content')): the_row();?>
<div class="row">
<div class="col-lg-6 m-auto left-text-wrapper">
<div class="text-wrapper">
<h2><?php the_sub_field('title');?></h2>
<?php the_sub_field('description');?>
</div>
<div class="technology-used">
<h3><?php the_sub_field('technology_title');?></h3>
<?php if($images = get_sub_field('technology_images')):?>
<ul class="d-flex list-unstyled flex-wrap">
<?php foreach( $images as $image_id ): ?>
<li>
<?php echo wp_get_attachment_image( $image_id, 'full' ); ?>
</li>
<?php endforeach;?>
</ul>
<?php endif;?>
</div> </div>
<?php if(have_rows('content')): while(have_rows('content')): the_row();?> </div>
<div class="row"> <div class="col-lg-6 m-auto right-image-wrapper">
<div class="col-lg-6 m-auto left-text-wrapper"> <div class="image-wrapper">
<div class="text-wrapper"> <?php if($image=get_sub_field('image')): echo wp_get_attachment_image($image,'full'); endif;?>
<h2><?php the_sub_field('title');?></h2>
<?php the_sub_field('description');?>
</div>
<div class="technology-used">
<h3><?php the_sub_field('technology_title');?></h3>
<?php if($images = get_sub_field('technology_images')):?>
<ul class="d-flex list-unstyled">
<?php foreach( $images as $image_id ): ?>
<li>
<?php echo wp_get_attachment_image( $image_id, 'full' ); ?>
</li>
<?php endforeach;?>
</ul>
<?php endif;?>
</div>
</div>
<div class="col-lg-6 m-auto right-image-wrapper">
<div class="image-wrapper">
<?php if($image=get_sub_field('image')): echo wp_get_attachment_image($image,'full'); endif;?>
</div>
</div>
</div> </div>
<?php endwhile; endif;?> </div>
</div> </div>
<?php endwhile; endif;?>
</div>
</section> </section>
<?php endif;?> <?php endif;?>
\ No newline at end of file
<?php if(get_field('enable_section')):?> <?php if(get_field('enable_section')):?>
<section class="container-fluid py-80 SERVICE HOMEPAGE-TOP-AFTER-CAROUSEL-SECTION"> <section class="container-fluid py-80 SERVICE HOMEPAGE-TOP-AFTER-CAROUSEL-SECTION">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="title-wrapper"> <div class="title-wrapper">
<h3><?php the_field('title');?></h3> <h3><?php the_field('title');?></h3>
<?php the_field('description');?> <?php the_field('description');?>
</div> </div>
</div>
<?php if(have_rows('content')): while(have_rows('content')): the_row();?>
<div class="row">
<div class="col-lg-6 m-auto left-text-wrapper">
<div class="text-wrapper">
<h2><?php the_sub_field('title');?></h2>
<?php the_sub_field('description');?>
</div>
<div class="technology-used">
<h3><?php the_sub_field('technology_title');?></h3>
<?php if($images = get_sub_field('technology_images')):?>
<ul class="d-flex list-unstyled flex-wrap">
<?php foreach( $images as $image_id ): ?>
<li>
<?php echo wp_get_attachment_image( $image_id, 'full' ); ?>
</li>
<?php endforeach;?>
</ul>
<?php endif;?>
</div> </div>
<?php if(have_rows('content')): while(have_rows('content')): the_row();?> </div>
<div class="row"> <div class="col-lg-6 m-auto right-image-wrapper">
<div class="col-lg-6 m-auto left-text-wrapper"> <div class="image-wrapper">
<div class="text-wrapper"> <?php if($image=get_sub_field('image')): echo wp_get_attachment_image($image,'full'); endif;?>
<h2><?php the_sub_field('title');?></h2>
<?php the_sub_field('description');?>
</div>
<div class="technology-used">
<h3><?php the_sub_field('technology_title');?></h3>
<?php if($images = get_sub_field('technology_images')):?>
<ul class="d-flex list-unstyled">
<?php foreach( $images as $image_id ): ?>
<li>
<?php echo wp_get_attachment_image( $image_id, 'full' ); ?>
</li>
<?php endforeach;?>
</ul>
<?php endif;?>
</div>
</div>
<div class="col-lg-6 m-auto right-image-wrapper">
<div class="image-wrapper">
<?php if($image=get_sub_field('image')): echo wp_get_attachment_image($image,'full'); endif;?>
</div>
</div>
</div> </div>
<?php endwhile; endif;?> </div>
</div> </div>
<?php endwhile; endif;?>
</div>
</section> </section>
<?php endif;?> <?php endif;?>
\ No newline at end of file
<?php if(get_field('enable_section')):?> <?php if(get_field('enable_section')):?>
<section class="my-60 WORKS-ON-WORK-SECTION"> <section class="my-60 WORKS-ON-WORK-SECTION">
<div class="container"> <div class="container">
<div class="row">
<div class="main-wrapper">
<div class="top-title-wrapper">
<h2><?php the_field('title');?></h2>
<?php the_field('description');?>
</div>
</div>
<?php if(have_rows('steps')): ?>
<div class="inner-list-wrapper">
<div class="row"> <div class="row">
<div class="main-wrapper"> <?php while(have_rows('steps')): the_row();?>
<div class="top-title-wrapper"> <div class="text-center mx-auto col-lg-2 col-sm-6 mb-2">
<h2><?php the_field('title');?></h2> <div class="m-auto icon-wrapper">
<?php the_field('description');?> <?php if($image = get_sub_field('image')): echo wp_get_attachment_image($image,'full'); endif;?>
</div>
</div>
<?php if(have_rows('steps')): ?>
<div class="inner-list-wrapper">
<div class="row">
<?php while(have_rows('steps')): the_row();?>
<div class="text-center mx-auto col-lg-2 col-6 mb-2">
<div class="m-auto icon-wrapper">
<?php if($image = get_sub_field('image')): echo wp_get_attachment_image($image,'full'); endif;?>
</div>
<h5><?php the_sub_field('title');?></h5>
<?php the_sub_field('description');?>
</div>
<?php endwhile;?>
</div>
</div> </div>
<?php endif;?> <h5><?php the_sub_field('title');?></h5>
<?php the_sub_field('description');?>
</div>
<?php endwhile;?>
</div> </div>
</div>
<?php endif;?>
</div> </div>
</div>
</section> </section>
<?php endif;?> <?php endif;?>
\ No newline at end of file
...@@ -4,51 +4,52 @@ get_header(); ...@@ -4,51 +4,52 @@ get_header();
?> ?>
<!-- BREADCRUMB --> <!-- BREADCRUMB -->
<div class="container-fluid py-40"> <div class="container-fluid py-40 general-breadcrumb">
<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 get_home_url('/'); ?>">Home</a></li> <li class="breadcrumb-item"><a href="<?php echo get_home_url('/'); ?>">Home</a></li>
<li class="breadcrumb-item active" aria-current="page"><a href="#"><?php echo the_title(); ?></a> <li class="breadcrumb-item active" aria-current="page"><a href="#"><?php echo the_title(); ?></a>
</li> </li>
</ol> </ol>
</nav> </nav>
</div>
</div> </div>
</div>
</div> </div>
<!-- BREADCRUMB --> <!-- BREADCRUMB -->
<section class="terms-and-conditions-wrapper"> <section class="terms-and-conditions-wrapper">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-3"> <div class="col-lg-3">
<div class="terms-sidebar-wrapper"> <div class="terms-sidebar-wrapper">
<ul> <ul>
<?php <?php
if( have_rows('general_sidebar_links') ): if( have_rows('general_sidebar_links') ):
while( have_rows('general_sidebar_links') ) : the_row(); while( have_rows('general_sidebar_links') ) : the_row();
?> ?>
<li class="active"><a href="<?php echo esc_attr( get_sub_field('links') ); ?>"><?php echo get_sub_field('title'); ?></a></li> <li class="active"><a
<?php href="<?php echo esc_attr( get_sub_field('links') ); ?>"><?php echo get_sub_field('title'); ?></a></li>
<?php
endwhile; endwhile;
endif; endif;
?> ?>
</ul> </ul>
</div> </div>
</div> </div>
<div class="col-lg-9"> <div class="col-lg-9">
<div class="right-top-content-wrapper"> <div class="right-top-content-wrapper">
<h1><?php echo get_the_title(); ?></h1> <h1><?php echo get_the_title(); ?></h1>
<div class="updated-date">Last Updated: <?php echo get_the_date('d F Y'); ?></div> <div class="updated-date">Last Updated: <?php echo get_the_date('d F Y'); ?></div>
<p><?php the_excerpt(); ?></p> <p><?php the_excerpt(); ?></p>
</div> </div>
<div class="point-frame-wrapper"> <div class="point-frame-wrapper">
<?php the_content(); ?> <?php the_content(); ?>
</div>
</div>
</div> </div>
</div>
</div> </div>
</div>
</section> </section>
<?php get_footer(); ?> <?php get_footer(); ?>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<?php wp_head(); ?> <?php wp_head(); ?>
......
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