Merged in release/release-1.09 (pull request #10)
Release/release 1.09 * Install missing plugins * rs set to 1 * rebase pantheon for aws * rebase pantheon for aws * prod config change * prod config change * fix campaing issue * revert Approved-by: Jay Sharma
This commit is contained in:
committed by
Jay Sharma
parent
779393381f
commit
22f10a9edd
@@ -8,24 +8,69 @@
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
<div class="col-xs-11 col-sm-11 col-md-11" style="margin-top:30px; margin-right: auto; margin-left: auto;">
|
||||
<div class="col-xs-9 col-sm-9 col-md-9" style="margin-top:30px; margin-right: auto; margin-left: auto;">
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"> Results</h1>
|
||||
<h1 class="page-title">
|
||||
<?php
|
||||
if ( is_category() ) :
|
||||
single_cat_title();
|
||||
|
||||
elseif ( is_tag() ) :
|
||||
single_tag_title();
|
||||
|
||||
elseif ( is_author() ) :
|
||||
printf( __( 'Author: %s', 'thbusiness' ), '<span class="vcard">' . get_the_author() . '</span>' );
|
||||
|
||||
elseif ( is_day() ) :
|
||||
printf( __( 'Day: %s', 'thbusiness' ), '<span>' . get_the_date() . '</span>' );
|
||||
|
||||
elseif ( is_month() ) :
|
||||
printf( __( 'Month: %s', 'thbusiness' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'thbusiness' ) ) . '</span>' );
|
||||
|
||||
elseif ( is_year() ) :
|
||||
printf( __( 'Year: %s', 'thbusiness' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'thbusiness' ) ) . '</span>' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-aside' ) ) :
|
||||
_e( 'Asides', 'thbusiness' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) :
|
||||
_e( 'Galleries', 'thbusiness');
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-image' ) ) :
|
||||
_e( 'Images', 'thbusiness');
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-video' ) ) :
|
||||
_e( 'Videos', 'thbusiness' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-quote' ) ) :
|
||||
_e( 'Quotes', 'thbusiness' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-link' ) ) :
|
||||
_e( 'Links', 'thbusiness' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-status' ) ) :
|
||||
_e( 'Statuses', 'thbusiness' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-audio' ) ) :
|
||||
_e( 'Audios', 'thbusiness' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-chat' ) ) :
|
||||
_e( 'Chats', 'thbusiness' );
|
||||
|
||||
else :
|
||||
_e( 'Archives', 'thbusiness' );
|
||||
|
||||
endif;
|
||||
?>
|
||||
</h1>
|
||||
|
||||
</header><!-- .page-header -->
|
||||
<div class="row">
|
||||
<div class="col-xs-3 col-sm-3 col-md-3">
|
||||
|
||||
|
||||
<?php echo do_shortcode('[searchandfilter id="35078"]'); ?>
|
||||
|
||||
</div>
|
||||
<div class="col-xs-9 col-sm-9 col-md-9 blogpost">
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
@@ -39,7 +84,6 @@ get_header(); ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<?php thbusiness_paging_nav(); ?>
|
||||
|
||||
@@ -53,7 +97,7 @@ get_header(); ?>
|
||||
</section><!-- #primary -->
|
||||
|
||||
</div><!-- .col-xs-12 col-sm-12 col-md-8 -->
|
||||
<!-- <div class="col-xs-9col-sm-9 col-md-9" style="margin:auto;">
|
||||
|
||||
</div> --><!-- .col-xs-12 .col-sm-6 .col-md-4 -->
|
||||
<div class="col-xs-9col-sm-9 col-md-9" style="margin:auto;">
|
||||
<?php get_sidebar('footer-blog'); ?>
|
||||
</div><!-- .col-xs-12 .col-sm-6 .col-md-4 -->
|
||||
<?php get_footer(); ?>
|
||||
|
||||
@@ -3,62 +3,33 @@
|
||||
* @package thbusiness
|
||||
*/
|
||||
?>
|
||||
<?php echo '<a href="'. get_permalink() . '">' ?>
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<div class="col-md-4 col-sm-4 col-xs-12">
|
||||
<article class="blogpostcol" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<div class="row">
|
||||
<div class="col-md-4 blog-feat-img">
|
||||
<?php thbusiness_featured_image(); ?>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$categories_list = get_the_category_list( __( ', ', 'thbusiness' ) );
|
||||
if ( $categories_list && thbusiness_categorized_blog() ) :
|
||||
?>
|
||||
<span class="cat-links">
|
||||
<?php echo $categories_list; ?>
|
||||
</span>
|
||||
<?php endif; // End if categories ?>
|
||||
</span>
|
||||
<header class="entry-header" id="blogentry">
|
||||
<?php the_title( sprintf( '<h2 class="blog-title" id="blogtitle"><a href="%s" rel="bookmark">', esc_url( get_permalink()) ), '</a></h2>' ); ?>
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
<div class="entry-meta" id="blogmeta">
|
||||
<?php //thbusiness_posted_on();
|
||||
<?php thbusiness_posted_on();
|
||||
if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'thbusiness' ), __( '1 Comment', 'thbusiness' ), __( '% Comments', 'thbusiness' ) ); ?></span>
|
||||
<?php endif; ?>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$tags_list = get_the_tag_list( '', __( ', ', 'thbusiness' ) );
|
||||
if ( $tags_list ) :
|
||||
?>
|
||||
<span class="tags-links">
|
||||
<?php echo $tags_list; ?>
|
||||
</span>
|
||||
<?php endif; // End if $tags_list ?>
|
||||
|
||||
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
|
||||
<div class="entry-content" id="blogcontent">
|
||||
<?php the_excerpt(); ?>
|
||||
<?php
|
||||
// echo '<div><a class="moretag" id="blogread" href="'. get_permalink( get_the_ID() ) . '">' . __( 'Read More ', 'thbusiness') . '</a></div>';
|
||||
echo '<div><a class="moretag" id="blogread" href="'. get_permalink( get_the_ID() ) . '">' . __( 'Read More ', 'thbusiness') . '</a></div>';
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-footer" id="blogfooter">
|
||||
@@ -86,4 +57,4 @@
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'thbusiness' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-## --></div> <?php echo '</a>'; ?>
|
||||
</article><!-- #post-## --></div>
|
||||
|
||||
@@ -833,14 +833,6 @@ function jsVariables(){
|
||||
var enddate = new Date(d.getFullYear(), d.getMonth()+1,1);
|
||||
</script>
|
||||
|
||||
<script>
|
||||
jQuery(document).ready(function(){
|
||||
jQuery(".pa-blog-module article").each(function(){
|
||||
jQuery(this).children('h2,p,div').not(':first-child').wrapAll('<div class="wrap"></div>');
|
||||
})
|
||||
})
|
||||
</script>
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
@@ -11,11 +11,10 @@ get_header();?>
|
||||
|
||||
<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="col-xs-12 col-sm-12 col-md-12 blogpost">
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="owl-carousel owl-theme">
|
||||
@@ -54,34 +53,27 @@ get_header();?>
|
||||
</div>
|
||||
<div class="row">
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-3 col-sm-3 col-md-3">
|
||||
|
||||
|
||||
<?php echo do_shortcode('[searchandfilter id="35078"]'); ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-xs-9 col-sm-9 col-md-9 blogpost">
|
||||
|
||||
|
||||
<div class="blogpost">
|
||||
<div class="row">
|
||||
|
||||
<?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));
|
||||
$wp_query = new WP_Query(array('post_type' => 'post', 'posts_per_page' => 6, 'cat' => -61, '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>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@@ -43,6 +43,6 @@ get_header(); ?>
|
||||
|
||||
</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(); ?>
|
||||
|
||||
@@ -31,6 +31,6 @@ get_header(); ?>
|
||||
|
||||
</div><!-- .col-xs-12 col-sm-6 col-md-8 -->
|
||||
<div class="col-xl-8 col-md-9 col-xs-9" style="margin:0px auto;">
|
||||
|
||||
<?php get_sidebar('footer-blog'); ?>
|
||||
</div><!-- .col-xs-12 .col-sm-6 .col-md-4 -->
|
||||
<?php get_footer(''); ?>
|
||||
<?php get_footer('blog'); ?>
|
||||
|
||||
@@ -365,8 +365,8 @@ a.call-to-action-wdg-button:visited {color: #fff;}
|
||||
.author:before, .comments-link:before {margin: 0 15px 0 20px;font-weight: 400;display: inline-block;font-family: FontAwesome;}
|
||||
.author:before {content: "\f007";}
|
||||
.comments-link:before {content: "\f0e6";font-size: 12px;}
|
||||
/*.cat-links:before {content: "\f07c";display: inline-block;font-family: FontAwesome;font-weight: 400;margin: 0 10px 0 0;}
|
||||
.tags-links:before {content: "\f02c";display: inline-block;font-family: FontAwesome;font-weight: 400;margin: 0 10px 0 18px;}*/
|
||||
.cat-links:before {content: "\f07c";display: inline-block;font-family: FontAwesome;font-weight: 400;margin: 0 10px 0 0;}
|
||||
.tags-links:before {content: "\f02c";display: inline-block;font-family: FontAwesome;font-weight: 400;margin: 0 10px 0 18px;}
|
||||
.th-post-permalink:before {content: "\f0c1";display: inline-block;font-family: FontAwesome;font-weight: 400;margin: 0 15px;}
|
||||
.meta-nav-next:after {content: "\f061";display: inline-block;font-family: FontAwesome;margin: 0 0 3px 10px;}
|
||||
.edit-link:before {content: "\f044";display: inline-block;font-family: FontAwesome;margin: 0 10px 0 18px;}
|
||||
@@ -709,12 +709,8 @@ p.sub-callout {margin-top: 0;color: #354052;font-family: 'Source Sans Pro', sans
|
||||
|
||||
|
||||
/*** BLOG STYLES */
|
||||
.blogpost {margin: 10px 0px 30px; margin-left:auto; margin-right:auto;}
|
||||
.sf-input-checkbox {vertical-align: top;}
|
||||
.sf-label-checkbox {width:94% !important;}
|
||||
.blogpostcol{border: solid 1px #ededed;margin: 0px 0 30px 0; box-shadow: 0px 12px 0px 0px rgb(160 190 212 / 20%) !important;
|
||||
border-radius: 6px;}
|
||||
.blogpostcol:hover { box-shadow: 0px 12px 0px 0px rgb(194 27 45 / 20%) !important; border-radius: 6px; border: 1px solid #d3d3d3 !important;}
|
||||
.blogpost {margin: 30px 0px; margin-left:auto; margin-right:auto;}
|
||||
.blogpostcol{border: solid 1px #ededed;margin: 20px 0 20px 0;/*height: 550px;*/}
|
||||
#blogread {background: #002f5e;float: left; margin: 10px 0px; font-size: 14px;}
|
||||
.entry-header{margin: 20px 5px 10px 5px;}
|
||||
h1#blogtitle a{color: #002f5e !important;font-size: 20px;line-height: 30px;font-weight: 700;text-overflow: ellipsis;white-space: normal;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
|
||||
@@ -1348,12 +1344,3 @@ span.author.vcard {display:none;}
|
||||
|
||||
.et-db #et-boc .et-l .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a { padding:15px 0px !important;}
|
||||
|
||||
.blog-feat-img img {object-fit: cover; height: 245px;}
|
||||
|
||||
.blog-feat-img .article-preview-image {margin-bottom:0px;}
|
||||
|
||||
.blogpost .tags-links {margin-left:10px;}
|
||||
|
||||
.searchandfilter label { width:100%;}
|
||||
.searchandfilter ul {margin:0px;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user