rebase from live enviornment

This commit is contained in:
Rachit Bhargava
2024-01-09 22:14:20 -05:00
parent ff0b49a046
commit 3a22fcaa4a
15968 changed files with 2344674 additions and 45234 deletions

View File

@@ -0,0 +1,54 @@
<?php
/**
* Template Name: Business Template
*
* Displays the Business Template of the theme.
*
* @package thbusiness
*/
get_header(); ?>
</div><!-- .row -->
</div><!-- .container -->
<?php
if( is_active_sidebar( 'thbusiness-business-top-sidebar' ) ) {
// Calling the business page top section sidebar if it exists.
if ( !dynamic_sidebar( 'thbusiness-business-top-sidebar' ) ):
endif;
} ?>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<?php
if( is_active_sidebar( 'thbusiness-business-left-sidebar' ) ) {
// Calling the business page left section sidebar if it exists.
if ( !dynamic_sidebar( 'thbusiness-business-left-sidebar' ) ):
endif;
} ?>
</div><!-- col-xs-12 col-sm-6 col-md-6 col-lg-6 -->
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<?php
if( is_active_sidebar( 'thbusiness-business-right-sidebar' ) ) {
// Calling the business page right section sidebar if it exists.
if ( !dynamic_sidebar( 'thbusiness-business-right-sidebar' ) ):
endif;
} ?>
</div><!-- col-xs-12 col-sm-6 col-md-6 col-lg-6 -->
</div><!-- .row -->
</div><!-- .container -->
<?php
if( is_active_sidebar( 'thbusiness-business-bottom-sidebar' ) ) {
// Calling the business page bottom sidebar if it exists.
if ( !dynamic_sidebar( 'thbusiness-business-bottom-sidebar' ) ):
endif;
} ?>
<div class="container">
<div class="row">
<?php get_footer(); ?>

View File

@@ -0,0 +1,22 @@
/*
Theme Name: thbusiness
Layout: Content-Sidebar
*/
.content-area {
float: left;
margin: 0 -25% 0 0;
width: 100%;
}
.site-main {
margin: 0 25% 0 0;
}
.site-content .widget-area {
float: right;
overflow: hidden;
width: 25%;
}
.site-footer {
clear: both;
width: 100%;
}

View File

@@ -0,0 +1,32 @@
<?php
/**
* Template Name: Atlas
*
* Displays a Landing Page with out navigation bar.
*
* @package thbusiness
*/
get_header('atlas'); ?>
<div class="col-xs-12 col-sm-12 col-md-12">
<div id="primary" class="content-area">
<main id="main" class="site-main no-title" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .col-xs-12 col-sm-12 col-md-12 -->
<?php get_footer('lpnonumber'); ?>

View File

@@ -0,0 +1,95 @@
<?php
/**
* Template Name: Home Blog
*
* @package thbusiness
*/
get_header();?>
<div id="content" class="site-content">
<div class="container">
<section id="blog">
<h1 class="page-title">Medical Alert Blog</h1>
<!-- <div class="col-xs-12 col-sm-12 col-md-12 blogpost">
<div class="row">
<div class="owl-carousel owl-theme">
<?php
$slide = new WP_Query(array('post_type' => 'post', 'cat' => 61, ));
if ( $slide->have_posts() ) : ?>
<?php while ( $slide->have_posts() ) : $slide->the_post(); ?>
<div class="recent-post" style="background-color: #e6f0f9;">
<div class ="row" >
<div class="col-sm-6">
<h2 style="margin:30px 20px 20px 20px; color:#032e67; font-weight:700;"><?php print get_the_title(); ?></h2>
<div id="slideblogcontent"><p><?php print get_the_excerpt(); ?></p></div>
<p style="margin:0px 0 10px 20px; font-size:12px;"><a class="moretag" id="blogread" href="<?php print get_permalink($post->ID) ?>">Read More</a></p>
</div>
<div class="col-sm-6">
<a class="feat-img" href="<?php print get_permalink($post->ID) ?>">
<?php echo the_post_thumbnail(); ?></a></div>
</div>
</div>
<?php endwhile; ?>
<?php else : ?>
<?php //do nothing ?>
<?php endif; ?>
</div>
</div>
<div class="row">
</div>
</div> -->
<div class="row">
<div class="col-xs-3 col-sm-3 col-md-3">
<?php echo do_shortcode('[searchandfilter id="46870"]'); ?>
</div>
<div class="col-xs-9 col-sm-9 col-md-9 blogpost">
<?php
global $wp_query, $paged;
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
//$wp_query = new WP_Query(array('post_type' => 'post', 'posts_per_page' => 6, 'cat' => -61, 'paged' => $paged));
$wp_query = new WP_Query(array('post_type' => 'post', 'paged' => $paged));
while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
<?php get_template_part('content'); ?>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
</div>
</div>
<div class="row">
<?php thbusiness_paging_nav(); ?>
</div>
</div>
</section>
</div>
</div>
<?php get_footer(); ?>

View File

@@ -0,0 +1,32 @@
<?php
/**
* Template Name: Landing Page
*
* Displays a Landing Page with promo offer + phone number.
*
* @package thbusiness
*/
get_header('lp'); ?>
<div class="col-xs-12 col-sm-12 col-md-12">
<div id="primary" class="content-area" style="margin-top:0; margin-bottom:0">
<main id="main" class="site-main no-title" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .col-xs-12 col-sm-12 col-md-12 -->
<?php get_footer() ?>

View File

@@ -0,0 +1,22 @@
<?php
/**
* Template Name: MA Connect
*
*/
get_header('maconnect'); ?>
<div class="col-xs-12 col-sm-12 col-md-12">
<div id="primary" class="content-area" style="margin-top:0; margin-bottom:0">
<main id="main" class="site-main no-title" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .col-xs-12 col-sm-12 col-md-12 -->

View File

@@ -0,0 +1,31 @@
<?php
/**
* Template Name: SEM
*
*
* @package thbusiness
*/
get_header(); ?>
<div class="col-xs-12 col-sm-12 col-md-12">
<div id="primary" class="content-area" style="margin-top:0; margin-bottom:0">
<main id="main" class="site-main no-title" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .col-xs-12 col-sm-12 col-md-12 -->
<?php get_footer('sem'); ?>

View File

@@ -0,0 +1,32 @@
<?php
/**
* Template Name: Special Offer
*
* Displays a Landing Page with promo offer + phone number.
*
* @package thbusiness
*/
get_header('specialoffer'); ?>
<div class="col-xs-12 col-sm-12 col-md-12">
<div id="primary" class="content-area" style="margin-top:40px; margin-bottom:0">
<main id="main" class="site-main no-title" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .col-xs-12 col-sm-12 col-md-12 -->
<?php get_footer('lpnonumber'); ?>

View File

@@ -0,0 +1,32 @@
<?php
/**
* Template Name: Support Page
*
* Displays a full width page.
*
* @package thbusiness
*/
get_header('support'); ?>
<div class="col-xs-12 col-sm-12 col-md-12">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .col-xs-12 col-sm-12 col-md-12 -->
<?php get_footer('support'); ?>

View File

@@ -0,0 +1,32 @@
<?php
/**
* Template Name: Main Nav Pages
*
* Displays a full width page.
*
* @package thbusiness
*/
get_header(); ?>
<div class="col-xs-9 col-sm-9 col-md-9" style="margin-left: auto; margin-right: auto;">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .col-xs-12 col-sm-12 col-md-12 -->
<?php get_footer(); ?>

View File

@@ -0,0 +1,22 @@
/*
Theme Name: thbusiness
Layout: Sidebar-Content
*/
.content-area {
float: right;
margin: 0 0 0 -25%;
width: 100%;
}
.site-main {
margin: 0 0 0 25%;
}
.site-content .widget-area {
float: left;
overflow: hidden;
width: 25%;
}
.site-footer {
clear: both;
width: 100%;
}

View File

@@ -0,0 +1,37 @@
<?php
/**
* Template Name: Sitemap Template
*
* @package thbusiness
*/
get_header(); ?>
<div class="col-xs-12 col-sm-12 col-md-8">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php the_content(); ?>
<h2 id="sitemap">Sitemap</h2>
<ul>
<?php
// Add pages you'd like to exclude in the exclude here
wp_list_pages(
array(
'exclude' => '32,99,101,112,115,280,442,459,493,557,658,669,791,883,1045,1060,1062,1065,1067,1069,1085,1095,1104,1143,1223,1230,1233,1236,1239,1242,1245,1281,1282,1283,1284,1285,1286,1287,1288,1291,1294,1297,1431,1432,1433,1434,1435,1438,1439,1442,1444,1448,1451,1455,1457,1461,1465,1467,1534,1537,1539,1542,1546,1562,1636,1967,1968,1969,1970,1971,1972,1973,1976,1977,1978,1979,1980,1981,1982,1983,1984,2350,2356,2368,2369,2370,2371,2376,2381,2385,2387,2392,2438,2449,2450,2463,2472,2474,2475,2477,2485,2486,2495,2501,2502,2503,2555,2556,2579,2580,2581,2582,2583,2584,2585,2586,2587,2588,2609,2615,2619,2621,2629,2632,2635,2650,2658,2659,2677,2684,2706,2716,2719,2720,2722,2724,2727,2729,2731,2744,2749,2752,2762,2778,2780,2783,2785,2789,2796,2800,2805,2806,2807,2821,2823,2830,2837,2838,2839,2840,2841,2852,2883,2909,2916,2917,2918,2919,2920,2927,2929,2931,2933,3002,3026,3027,3028,3029,3030,3033,3034,3035,3036,3037,3049,3097,3099,3101,3104,3105,3125,3128,3130,3158,3171,3172,3173,3174,3175,3176,3177,3181,3182,3183,3184,3218,3219,3220,3221,3223,3224,3225,3226,3227,3229,3230,3248,3249,3254,3274,3402,3421,3426,3436,3440,3442,3448,3453,3456,3528,3548,3558,3570,3645,3706,3711,3713,3726,3727,3728,3729,3730,3731,3732,3733,3734,3758,3994,4001,4005,4006,4094,4173,4174,4175,4176,4177,4178,4180,4181,4182,4183,4184,4188,4267,4268,4269,4295,4299,4300,4332,4434,4440,4454,4469,4470,4471,4586,4610,4611,4612,4613,4620,4675,5872,5877,6009,6013,6014,6015,6016,6017,6071,6110,7261,7371,7378,7381,7383,7385,7387,7416,7418,7422,7573,7619,7621,7709,8288,8770,8775',
'title_li' => '',
)
);
?>
</ul>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .col-xs-12 col-sm-12 col-md-8 -->
<div class="col-xs-12 col-sm-6 col-md-4">
<?php get_sidebar(); ?>
</div><!-- .col-xs-12 .col-sm-6 .col-md-4 -->
<?php get_footer(); ?>

File diff suppressed because it is too large Load Diff