|
@@ -1,75 +1,41 @@
|
|
<?php get_header();?>
|
|
<?php get_header();?>
|
|
-
|
|
|
|
-<div id="content" class="site-content">
|
|
|
|
- <div class="container">
|
|
|
|
|
|
+ <div class="container pt-5">
|
|
<div class="row gx-5">
|
|
<div class="row gx-5">
|
|
-
|
|
|
|
<section id="primary" class="col-sm-12 col-lg-6">
|
|
<section id="primary" class="col-sm-12 col-lg-6">
|
|
<div id="main" class="site-main" role="main">
|
|
<div id="main" class="site-main" role="main">
|
|
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
|
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
- <div class="entry-content">
|
|
|
|
<?php the_content(); ?>
|
|
<?php the_content(); ?>
|
|
- </div>
|
|
|
|
- </article>
|
|
|
|
- <?php endwhile; ?>
|
|
|
|
|
|
+ </article>
|
|
|
|
+ <?php endwhile; ?>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
-
|
|
|
|
- <section id="secondary" class="col-sm-12 col-lg-6 ms-auto">
|
|
|
|
- <?php $post = get_post(7); $output = apply_filters( 'the_content', $post->post_content ); echo $output; ?>
|
|
|
|
- <h2 class="entry-title mt-5">Hospice Stores</h2>
|
|
|
|
- <div class="row no-gutters">
|
|
|
|
- <?php $upload_dir = wp_upload_dir(); ?>
|
|
|
|
- <img src="<?php echo $upload_dir['baseurl']; ?>/2017/02/Hospice-Store-ribbon-cutting-2015-website-1-scaled.jpg">
|
|
|
|
- <div class="col-sm-12 col-lg-6">
|
|
|
|
- <h5><a href="">Greenwood</a></h5>
|
|
|
|
- <p class="small">
|
|
|
|
- 864-229-9393<br />
|
|
|
|
- 217 North Creek Blvd<br />
|
|
|
|
- Greenwood, SC 29649</p>
|
|
|
|
- </div>
|
|
|
|
- <div class="col-sm-12 col-lg-6">
|
|
|
|
- <h5><a href="">Abbeville</a></h5>
|
|
|
|
- <p class="small">
|
|
|
|
- 864-366-0237<br />
|
|
|
|
- 811 West Greenwood Street<br />
|
|
|
|
- Abbeville, SC 29620</p>
|
|
|
|
- </div>
|
|
|
|
- <a href="" class="btn btn-outline-secondary">Learn More</a>
|
|
|
|
|
|
+ <section id="secondary" class="col-sm-12 col-lg-6 pt-2">
|
|
|
|
+ <div class="row">
|
|
|
|
+ <?php $post = get_page_by_title('B Front Page ( 2nd Column )'); $output = apply_filters( 'the_content', $post->post_content ); echo $output; ?>
|
|
</div>
|
|
</div>
|
|
|
|
+ </section>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="row gx-5 mt-4">
|
|
|
|
+ <hr/>
|
|
|
|
+ <header class="entry-header">
|
|
|
|
+ <h2><a href="<?php echo get_site_url();?>/news">News</a></h2>
|
|
|
|
+ </header>
|
|
|
|
+ <?php $mostrecentposts = new WP_Query();
|
|
|
|
+ $mostrecentposts = get_posts('numberposts=2');
|
|
|
|
+ foreach ($mostrecentposts as $post) : setup_postdata($post); ?>
|
|
|
|
+ <div class="col-sm-12 col-lg-6">
|
|
<header class="entry-header">
|
|
<header class="entry-header">
|
|
- <h2 class="entry-title mt-5">News</h2>
|
|
|
|
|
|
+ <h3 class="front-page m-0"><?php the_title( '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a>' );?></h3>
|
|
</header>
|
|
</header>
|
|
- <div class="">
|
|
|
|
- <?php $mostrecentposts = new WP_Query();
|
|
|
|
- $mostrecentposts = get_posts('numberposts=1');
|
|
|
|
- foreach ($mostrecentposts as $post) : setup_postdata($post); ?>
|
|
|
|
- <div class="row">
|
|
|
|
- <header class="entry-header">
|
|
|
|
- <h3 class="front-page m-0"><?php the_title( '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a>' );?></h3>
|
|
|
|
- <div class="entry-meta mt-0">
|
|
|
|
- <time datetime="<?php echo get_the_date('c'); ?>" itemprop="datePublished"><i class="bi bi-calendar-date m2-1"></i> <?php echo get_the_date(); ?></time>
|
|
|
|
- </div>
|
|
|
|
- </header>
|
|
|
|
- <div class="front-page-entry-content">
|
|
|
|
- <div class="post-thumbnail">
|
|
|
|
- <?php echo the_post_thumbnail(array(180,180), ['class' => 'p-2 float-end']); ?>
|
|
|
|
- </div>
|
|
|
|
- <?php the_excerpt();?>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="front-page-entry-content">
|
|
|
|
+ <div class="post-thumbnail">
|
|
|
|
+ <?php echo the_post_thumbnail(array(180,180), ['class' => 'p-2 float-end']); ?>
|
|
</div>
|
|
</div>
|
|
- <?php endforeach;wp_reset_query();?>
|
|
|
|
- </div>
|
|
|
|
- <div class="">
|
|
|
|
- <?php $recentposts = get_posts(array('numberposts'=>5,'offset'=>1)); foreach ($recentposts as $post) : setup_postdata($post); ?>
|
|
|
|
- <li style="color:#777;list-style:none;"><?php echo get_the_date('m/d/y'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
|
|
|
|
- <?php endforeach; ?>
|
|
|
|
|
|
+ <?php the_excerpt();?>
|
|
</div>
|
|
</div>
|
|
- </section>
|
|
|
|
-
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <?php endforeach;wp_reset_query();?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-</div>
|
|
|
|
-
|
|
|
|
<?php get_footer();?>
|
|
<?php get_footer();?>
|