|
@@ -6,9 +6,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(); ?>>
|
|
- <header class="entry-header">
|
|
|
|
- <h1 class="entry-title">About</h1>
|
|
|
|
- </header>
|
|
|
|
<div class="entry-content">
|
|
<div class="entry-content">
|
|
<?php the_content(); ?>
|
|
<?php the_content(); ?>
|
|
</div>
|
|
</div>
|
|
@@ -21,12 +18,54 @@
|
|
<h2 class="entry-title">Get Involved</h2>
|
|
<h2 class="entry-title">Get Involved</h2>
|
|
<?php $post = get_post(7); $output = apply_filters( 'the_content', $post->post_content ); echo $output; ?>
|
|
<?php $post = get_post(7); $output = apply_filters( 'the_content', $post->post_content ); echo $output; ?>
|
|
</header>
|
|
</header>
|
|
|
|
+ <h2 class="entry-title mt-5">Hospice Stores</h2>
|
|
|
|
+ <div class="row no-gutters">
|
|
|
|
+ <img src="https://macs.local/hp/wp-content/uploads/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>
|
|
|
|
+ </div>
|
|
<header class="entry-header">
|
|
<header class="entry-header">
|
|
- <h2 class="entry-title">News</h2>
|
|
|
|
|
|
+ <h2 class="entry-title mt-5">News</h2>
|
|
</header>
|
|
</header>
|
|
- <?php $recentposts = get_posts('numberposts=11'); 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; ?>
|
|
|
|
|
|
+ <div class="">
|
|
|
|
+
|
|
|
|
+ <?php $mostrecentposts = new WP_Query();
|
|
|
|
+ $mostrecentposts = get_posts('numberposts=1');
|
|
|
|
+ foreach ($mostrecentposts as $post) : setup_postdata($post); ?>
|
|
|
|
+
|
|
|
|
+ <div class="row no-gutters">
|
|
|
|
+ <div class="col-md-12">
|
|
|
|
+ <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
|
|
|
|
+ <div class="image-wrapper float-left pr-3">
|
|
|
|
+ <?php the_post_thumbnail('thumbnail', array('class' => 'rounded')); ?>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pull-right">
|
|
|
|
+ <?php the_excerpt(); ?>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <?php endforeach;wp_reset_query();?>
|
|
|
|
+ </div>
|
|
|
|
+ <hr>
|
|
|
|
+ <div class="">
|
|
|
|
+ <?php $recentposts = get_posts(array('numberposts'=>11,'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; ?>
|
|
|
|
+ </div>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|