function output_hero()
{
    $slider = get_field('slider');
    // print_r($slider);
    if (function_exists('soliloquy') && isset($slider->ID)) {
        soliloquy($slider->ID);
    }
}
 /**
  * Primary template tag for outputting Soliloquy sliders in templates (v1).
  *
  * @since 2.1.0
  *
  * @param int $slider_id The ID of the slider to load.
  * @param bool $return   Flag to echo or return the slider HTML.
  */
 function soliloquy_slider($id, $return = false)
 {
     // First test to see if the slider can be found by ID. If so, run that.
     $by_id = Soliloquy::get_instance()->get_slider($id);
     if ($by_id) {
         return soliloquy($id, 'id', array(), $return);
     }
     // If not by ID, it must be a slug, so return the slug.
     return soliloquy($id, 'slug', array(), $return);
 }
 /**
  * widget function.
  *
  * @see WP_Widget
  * @access public
  * @param array $args
  * @param array $instance
  * @return void
  */
 function widget($args, $instance)
 {
     if ($this->get_cached_widget($args)) {
         return;
     }
     ob_start();
     extract($args);
     $slider = absint($instance['slider']);
     echo $before_widget;
     if (function_exists('soliloquy_slider')) {
         add_filter('soliloquy_output_caption', array($this, 'soliloquy_output_caption'), 10, 5);
         soliloquy($slider);
         remove_filter('soliloquy_output_caption', array($this, 'soliloquy_output_caption'), 10, 5);
     }
     echo $after_widget;
     $content = apply_filters('jobify_widget_slider_hero', ob_get_clean(), $instance, $args);
     echo $content;
     $this->cache_widget($args, $content);
 }
 /**
  * widget function.
  *
  * @see WP_Widget
  * @access public
  * @param array $args
  * @param array $instance
  * @return void
  */
 function widget($args, $instance)
 {
     if ($this->get_cached_widget($args)) {
         return;
     }
     extract($args);
     $slider = absint($instance['slider']);
     echo '</div>';
     echo $before_widget;
     if (function_exists('soliloquy')) {
         add_filter('soliloquy_output_before_caption', array($this, 'soliloquy_output_before_caption'), 10, 5);
         add_filter('soliloquy_output_after_caption', array($this, 'soliloquy_output_after_caption'), 10, 5);
         add_filter('soliloquy_output_caption', array($this, 'soliloquy_output_caption'), 10, 5);
         soliloquy($slider);
         remove_filter('soliloquy_output_before_caption', array($this, 'soliloquy_output_before_caption'), 10, 5);
         remove_filter('soliloquy_output_after_caption', array($this, 'soliloquy_output_after_caption'), 10, 5);
         remove_filter('soliloquy_output_caption', array($this, 'soliloquy_output_caption'), 10, 5);
     }
     echo $after_widget;
     echo '<div class="container">';
 }
Beispiel #5
0
 /**
  * Outputs the widget within the widgetized area.
  *
  * @since 1.0.0
  *
  * @param array $args     The default widget arguments.
  * @param array $instance The input settings for the current widget instance.
  */
 public function widget($args, $instance)
 {
     // Extract arguments into variables.
     extract($args);
     $title = apply_filters('widget_title', $instance['title']);
     $slider_id = $instance['soliloquy_id'];
     do_action('soliloquy_widget_before_output', $args, $instance);
     echo $before_widget;
     do_action('soliloquy_widget_before_title', $args, $instance);
     // If a title exists, output it.
     if ($title) {
         echo $before_title . $title . $after_title;
     }
     do_action('soliloquy_widget_before_slider', $args, $instance);
     // If a slider has been selected, output it.
     if ($slider_id) {
         soliloquy($slider_id);
     }
     do_action('soliloquy_widget_after_slider', $args, $instance);
     echo $after_widget;
     do_action('soliloquy_widget_after_output', $args, $instance);
 }
    /**
     * widget function.
     *
     * @see WP_Widget
     * @access public
     * @param array $args
     * @param array $instance
     * @return void
     */
    function widget($args, $instance)
    {
        if ($this->get_cached_widget($args)) {
            return;
        }
        ob_start();
        extract($args);
        $slider = absint($instance['slider']);
        $background = esc_url($instance['background']);
        echo $before_widget;
        if (function_exists('soliloquy_slider')) {
            add_filter('soliloquy_output_before_image', array($this, 'soliloquy_output_before_image'), 10, 5);
            add_filter('soliloquy_output_after_image', array($this, 'soliloquy_output_after_image'), 10, 5);
            add_filter('soliloquy_output_before_caption', array($this, 'soliloquy_output_before_caption'), 10, 5);
            add_filter('soliloquy_output_after_caption', array($this, 'soliloquy_output_after_image'), 10, 5);
            add_filter('soliloquy_output_caption', array($this, 'soliloquy_output_caption'), 10, 5);
            soliloquy($slider);
            remove_filter('soliloquy_output_before_image', array($this, 'soliloquy_output_before_image'), 10, 5);
            remove_filter('soliloquy_output_after_image', array($this, 'soliloquy_output_after_image'), 10, 5);
            remove_filter('soliloquy_output_before_caption', array($this, 'soliloquy_output_before_caption'), 10, 5);
            remove_filter('soliloquy_output_after_caption', array($this, 'soliloquy_output_after_image'), 10, 5);
            remove_filter('soliloquy_output_caption', array($this, 'soliloquy_output_caption'), 10, 5);
        }
        ?>
			<style>
			#<?php 
        echo $this->id;
        ?>
 { background-image: url(<?php 
        echo $background;
        ?>
); background-size: cover; }
			</style>
		<?php 
        echo $after_widget;
        $content = apply_filters('jobify_widget_slider', ob_get_clean(), $instance, $args);
        echo $content;
        $this->cache_widget($args, $content);
    }
Beispiel #7
0

<div class="home uw-body">

  <div class="row">

    <div role='main' class="uw-content" >
   
         <?php 
uw_site_title();
?>
                         
      <div id='main_content' class="uw-body-copy" tabindex="-1">
   <?php 
if (function_exists('soliloquy')) {
    soliloquy('14466');
}
?>
    
         
         <div class="row">
			
<?php 
get_template_part('quicklinks');
?>
            </div>
      
            <?php 
// Start the Loop.
while (have_posts()) {
    the_post();
Beispiel #8
0
function one_blog_slider()
{
    if (is_front_page() && function_exists('soliloquy')) {
        echo '
		<div class="home-slider-container hidden-xs">
			<div class="container-fluid">
				<div class="row">
					<div class="col-md-12">
						<div class="home-slider">';
        soliloquy('home-page-slider', 'slug');
        echo '</div>
					</div>
				</div>
			</div>
		</div>
		';
    }
}
Beispiel #9
0
if (get_field('testimonial')) {
    ?>
                    <?php 
    the_field('testimonial');
    ?>
                <?php 
}
?>
            </div>
        </section>

        <section id="bottom">
            <div class="home-widgets-6 color-section widget-area">
                 <?php 
if (function_exists('soliloquy')) {
    soliloquy('376');
}
?>
            </div>
        </section>

        <footer role="contentinfo">

            <div id="footerbottom">
                <div class="wrap">
                    <p class="copyright">Copyright <?php 
echo date('Y');
?>
 Detroit IT.</p>
                </div>
            </div>
Beispiel #10
0
?>
" >

                    <div class="input-group">
                        <input type="text" id="searchbox" class="form-control" placeholder="Search" name="s" id="s">
                        <div class="input-group-btn">
                            <button class="btn btn-default"  id="searchsubmit"  type="submit"><i class="glyphicon glyphicon-search"></i></button>
                        </div>
                    </div>
                </form> 
            </div>-->

              </div>
        </div><!--end navbar-colapse-->

</nav>
        </div>
    
     <?php 
//Muestra SLIDESHOW solo si es FRONT PAGE
if (is_front_page()) {
    if (function_exists('soliloquy')) {
        soliloquy('29');
    }
}
?>
   
	</header><!-- #masthead -->

	<div id="content" class="site-content">
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Red_Cedar_Theme
 */
?>
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
<?php 
if (function_exists('soliloquy')) {
    soliloquy('midwifery-services-slider', 'slug');
}
?>
<div class="entry-content">
	<div class="row">
		<h4><strong>Midwifery Services</strong></h4><br>
	</div>
	<div class="row">
		<div class="midwifery small-12 large-4 columns">
			<img src="/wp-content/uploads/2016/04/midwifery4.jpg" alt="Mother and Baby" width="400" height="600" />
		</div>
		<div class="labor small-12 large-8 columns">			
			<h5><strong>PRENATAL CARE</strong><br><p>Regular prenatal care includes monitoring the physical aspects of pregnancy as well as a time to learn about your changing body and the baby growing inside you. It is a time to get answers, discuss concerns, receive support, and prepare for giving birth. Partners and children are welcome and encouraged to participate in appointments.</p><br> <p>We value shared decision making and respect each family's right to make informed choices about the care they receive during pregnancy and birth. Making an informed choice allows families to take responsibility for decisions by considering all the options, risks and benefits. We support you making informed decisions by providing choices, information, and connecting you with resources.</h5></p>
		</div>
	</div>
	&nbsp;
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Red_Cedar_Theme
 */
?>
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
<?php 
if (function_exists('soliloquy')) {
    soliloquy('doula-services-slider', 'slug');
}
?>
<div class="entry-content">
	<div class="row">
  		<div class="doula services small-12 large-8 columns">
  			<h4>Doula Services</h4>
  			&nbsp;
  			<h5><p>We all want a healthy mother and healthy baby. As your doula, our focus is on your specific goals and desires for this birth.  At <strong><i>Red Cedar Birth</i></strong> we trust you to make the best choices about your body, your baby and your birth.  You can expect your doula to provide information and education as well as affirm your priorities and preferences. We offer unbiased support and a policy of non-judgement, without agenda.<p>
  			Red Cedar Birth is a proud member of the <a class="community" href="http://www.willowtreefamily.com/lansing-doula-network">Lansing Doula Network</a>, and we have personally worked with the network to encourage a welcome and cohesive relationship between local doulas and hospital staff. Many of the providers in our area have been very open to deepening these relationships and we look forward to the positive impact this will have on our clients.<p>
  				<p><strong>Your doula team will:</strong></p>
  				<ul>
				<li><strong>Be a personal resource</strong> during your pregnancy and postpartum. Your doula is here to provide you with answers to questions and additional information on a large variety of subjects, as well as to help navigate hospital policy and regional standards of care.</li><br>
				<li><strong>Offer generous  phone and email support</strong> as well as any professional referrals into the community as needed.</li><br>
				<li><strong>Meet with you and your partner</strong> prenatally to discuss your birth goals, desires, and preferences.</li><br>
				<li><strong>When you are ready</strong> for physical support, your doula will join you, at home or hospital, and remain with you until you and baby are settled in for quiet family time.</li><br>
<?php

/* Template Name: Homepage */
get_header();
?>

<!--==============================Section start=================================-->
<section>
	
    <!--Slider Start-->
    <?php 
$avocation_soliloquy = get_theme_mod('avocation_soliloquy');
if (!empty($avocation_soliloquy)) {
    if (function_exists('soliloquy')) {
        soliloquy($avocation_soliloquy);
    }
}
?>
<!--Slider End-->   
 
<!--Purpose-Business  Start-->
    <div class="business-wrap">
        <span class="mask-overlay"></span>
        <div class="avocation-container  container business-box"> 
<?php 
$purpose_check = get_theme_mod('avocation_purposetitle');
if (!empty($purpose_check)) {
    ?>
            <h2><?php 
    echo esc_attr(get_theme_mod('avocation_purposetitle', ''));
    ?>
Beispiel #14
0
<?php

/*
	Template Name: Home Page
*/
get_header();
?>
	<div class="slider">
		<?php 
if (function_exists('soliloquy')) {
    soliloquy('1138');
}
?>
		<div class="content cf">
			
		</div><!-- .content -->
	</div><!-- #zone1 -->
	<?php 
while (have_posts()) {
    the_post();
    ?>
	<div class="fullwidth">
		<div class="content cf">
			<?php 
    the_content();
    ?>
		</div>
		<?php 
    if ($_GET['admin'] == 't8-seo-check') {
        echo '<div class="content cf">';
        the_meta();
Beispiel #15
0
function genesis_slider()
{
    if (function_exists('soliloquy')) {
        soliloquy('81');
    }
    if (function_exists('soliloquy')) {
        soliloquy('81', 'slug');
    }
    // custom excerpt length
    function custom_excerpt_length($length)
    {
        return 26;
    }
    add_filter('excerpt_length', 'custom_excerpt_length', 999);
    //edit read more text
    function new_excerpt_more($more)
    {
        return '&#133; <div class="read-more">  <a href="' . get_permalink(get_the_ID()) . '"><br>Read On &rarr;</a></div>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');
    // create custom loop
    function ycc_custom_loop()
    {
        global $post;
        setup_postdata($post);
        // create custom widget for school's introduction
        genesis_widget_area('homemainwidget', array('before' => '<div class="homemainwidget">', 'after' => '</div>'));
        // loop through posts to get 2 latest posts
        global $post;
        $args = array('posts_per_page' => 1, 'offset' => 0);
        $myposts = get_posts($args);
        foreach ($myposts as $post) {
            setup_postdata($post);
            ?>
<div class="news">
	<h2>News</h2>
		<div class="one-half first">
			<li><a href="<?php 
            the_permalink();
            ?>
"><?php 
            the_title();
            ?>
</a><p><?php 
            the_excerpt();
            ?>
</p></li>
		</div>
<?php 
        }
        wp_reset_postdata();
        $args = array('posts_per_page' => 1, 'offset' => 1);
        $myposts = get_posts($args);
        foreach ($myposts as $post) {
            setup_postdata($post);
            ?>
		<div class="one-half">
			<li><a href="<?php 
            the_permalink();
            ?>
"><?php 
            the_title();
            ?>
</a><p><?php 
            the_excerpt();
            ?>
</p></li>
		</div>
<?php 
        }
        wp_reset_postdata();
        ?>
</div>
	<div class="one-half first">
		<h2>Gallery</h2>
		<img src="http://www.cominscoch.ceredigion.sch.uk/wp/wp-content/uploads/IMG_1789.jpg" alt="">
	</div>
	<div class="one-half">
	Twitter Feed
	</div>
<?php 
    }
}
Beispiel #16
0
	"03" => "Marzo",
	"04" => "Abril",
	"05" => "Mayo",
	"06" => "Junio",
	"07" => "Julio",
	"08" => "Agosto",
	"09" => "Septiembre",
	"10" => "Octubre",
	"11" => "Noviembre",
	"12" => "Diciembre"
);

?>
	<div class="row ctn__heroe-home">
		<div class="col-md-7">
			<?php if (function_exists('soliloquy')) { soliloquy( get_field('slider') ); } ?>
		</div>
		<div class="col-md-5">
			<script>
				jQuery(function($) {
					var menu = $('<?php echo $menu; ?>');

					$(menu).find('ul').children().each(function (k, v) {
						var link = $(v).children().get(0);
						var icon_name = $(link).attr('menu-icono');
						var menu_color = $(link).attr('menu-color');
						var span_icon = $('<span>').css({'float':'left','font-size':'40px','margin-top':'5px','width':'100%'}).get(0);
						var span_text = $('<span>').css({'float':'left','width':'100%'}).get(0).innerHTML = link.innerHTML;
						link.innerHTML = '';
						$(link).append($(span_icon).attr('class','fa fa-' + icon_name).css({'color':menu_color}).get(0).outerHTML).append(span_text);
					});
function genesis_slider()
{
    if (function_exists('soliloquy')) {
        soliloquy('81');
    }
    if (function_exists('soliloquy')) {
        soliloquy('81', 'slug');
    }
    // create custom loop
    function ycc_custom_loop()
    {
        global $post;
        setup_postdata($post);
        // create custom widget for school's introduction
        genesis_widget_area('homemainwidget', array('before' => '<div class="homemainwidget">', 'after' => '</div>'));
        // loop through posts to get 2 latest posts
        global $post;
        $args = array('posts_per_page' => 1, 'offset' => 0);
        $myposts = get_posts($args);
        foreach ($myposts as $post) {
            setup_postdata($post);
            ?>
<div class="latest-news">
	<h2>News</h2>
		<div class="one-half first">
			<li><a href="<?php 
            the_permalink();
            ?>
"><?php 
            the_title();
            ?>
</a><p><?php 
            the_excerpt();
            ?>
</p></li>
		</div>
<?php 
        }
        wp_reset_postdata();
        $args = array('posts_per_page' => 1, 'offset' => 1);
        $myposts = get_posts($args);
        foreach ($myposts as $post) {
            setup_postdata($post);
            ?>
		<div class="one-half">
			<li><a href="<?php 
            the_permalink();
            ?>
"><?php 
            the_title();
            ?>
</a><p><?php 
            the_excerpt();
            ?>
</p></li>
		</div>
<?php 
        }
        wp_reset_postdata();
        ?>
	</div>
	<div class="one-half first">
		<h2>Gallery</h2>
		<img src="http://www.cominscoch.ceredigion.sch.uk/wp/wp-content/uploads/IMG_1789.jpg" alt="">
	</div>
	<div class="one-half">
	Twitter Feed
	</div>
	
<?php 
    }
}
</h4>
							

							
						<div class="front-page-button-div show-for-large-up">
							<a role="button" class="front-page-button-sign-up alert button" href="#what-we-do">Sign Up</a>
							<a role="button" class="front-page-button secondary button hvr-icon-down bounceInDown animated" href="#what-we-do">Learn More!</a>
						</div>
							

						</div>
						
				</header> 
				<?php 
    if (function_exists('soliloquy')) {
        soliloquy('frontpage-slider', 'slug');
    }
    ?>
				
				<?php 
    //if ( function_exists( 'rotating_text' ) ) { rotating_text(); }
    ?>
				

			</div>
			

	<?php 
} else {
    ?>
		<div class="header-wrapper">
Beispiel #19
0
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

                    <article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class('cf');
        ?>
 role="article" itemscope itemtype="http://schema.org/BlogPosting">

                        <?php 
        if (function_exists('soliloquy')) {
            soliloquy('homepage', 'slug');
        }
        ?>

                        <div class="entry-content" itemprop="articleBody">
                            <?php 
        // the content (pretty self explanatory huh)
        the_content();
        ?>
                        </div>

                    </article>

                <?php 
    }
} else {
Beispiel #20
0
/* Template Name: Homepage  */
get_header();
?>
        <section>
        	<?php 
if (!empty($eminent_soliloquy)) {
    ?>
            <div class="home-banner-section col-md-12">
                
			<?php 
    $eminent_soliloquy = get_theme_mod('eminent_soliloquy');
    $supporters = get_theme_mod('eminent_slideroption');
    if (1 == get_theme_mod('eminent_slideroption')) {
        if (function_exists('soliloquy')) {
            soliloquy($eminent_soliloquy);
        }
    }
    ?>
  

                   
            </div>
            <?php 
}
?>

            <!--blog section start-->
            <div class="section-row portfolio-section col-md-12">
                <div class="container less-padding">
                    <div class="theme-title col-md-8  col-md-offset-2">
Beispiel #21
0
<?php

get_header();
?>

			<div class="slider">
				<?php 
if (function_exists('soliloquy')) {
    soliloquy('5');
}
if (function_exists('soliloquy')) {
    soliloquy('slide1', 'slug');
}
?>
			</div>

			<div id="content">

				<div id="inner-content" class="wrap cf">

						<main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">

							<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

							<article id="post-<?php 
        the_ID();
        ?>
Beispiel #22
0
?>
</div>
				<div class="home-page-column"><?php 
dynamic_sidebar('home-col-2');
?>
</div>
				<div class="home-page-column"><?php 
dynamic_sidebar('home-col-3');
?>
</div>
				<div class="home-page-column"><?php 
dynamic_sidebar('home-col-4');
?>
</div>
			</div><!-- .home-page-columns -->

			<div class="home-page-carousel">
				<h3 class="home-carousel-title">New Artwork</h3>

				<?php 
if (function_exists('soliloquy')) {
    soliloquy('home-page-carousel', 'slug');
}
?>
			</div><!-- .home-page-carousel -->

		</main><!-- #main -->
	</div><!-- #primary -->

<?php 
get_footer();
Beispiel #23
0
<?php

/**
 * Top site slider
 *
 * @package WordPress
 * @subpackage FoundationPress
 * @since FoundationPress 1.0
 */
?>
<!-- slider -->
<div class="row soliloquy">
<?php 
$idpost = get_the_ID();
$sliderID = do_shortcode('[types field="slider-id" id="' . $idpost . '"]');
$defaultSliderID = '11';
if (isset($sliderID) && $sliderID > 1) {
    $defaultSliderID = $sliderID;
}
if (function_exists('soliloquy')) {
    soliloquy($defaultSliderID);
}
?>
</div>
<!-- /slider -->
				}
				@media only screen and (max-width: 599px) {
				div.what_wod_mag { padding: 3em 2em 3em 2em; }
				}
				@media only screen and (max-width: 520px) {
				div.soliloquy-caption-inside { padding: 12% !important; }
				}
				@media (max-width: 480px) {
				div#order-now a { font-size: 12px !important; padding: 20px 10px !important;}
				}
				@media only screen and (max-width: 400px) {
				div.soliloquy-caption-inside { padding: 9% !important; }
				}
			</style>';
    if (function_exists('soliloquy')) {
        soliloquy('3116');
    }
    echo '<div class="what_wod_mag">
			<h1>WHAT IS WOD MAGAZINE?</h1>
			<p>WOD Magazine delivers Australian stories of triumph, opinion pieces from the community, coaching and training advice from athletes and coaches, news from Australia\'s top athletes competing around the world, gear and product highlights and much, much more.</p>
			</div>';
}
?>


		<div id="main-wrapper">

				<?php 
if (get_option('mvp_logo_loc') == 'Small in navigation') {
    ?>
 */
?>

<?php 
get_header();
?>

<!--<div class="main-heading">
    <h1 class="site-title"><?php 
the_title();
?>
</h1>
</div>-->
<div class="SliderLightHUG">
    <?
         if ( function_exists( 'soliloquy' ) ) { soliloquy( '312' ); }
    ?>
</div> <!-- end  SliderLightHUG-->
<div class="contentPage">
 <nav class="Varsicherungen-navigation">
        <? wp_nav_menu(array('menu' => 'left-Immobilien', 'menu_class' => 'Varsicherungen-menu')); ?>
    </nav>
<section>
 <div class="postContent">
    <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
        <?php 
        the_content();
Beispiel #26
0
/**
 * The template for displaying the footer
 *
 * Contains the closing of the "off-canvas-wrap" div and all content after.
 *
 * @package WordPress
 * @subpackage FoundationPress
 * @since FoundationPress 1.0
 */
if (!is_front_page()) {
    ?>
<section class="caroussel-gallery">
	<?php 
    if (function_exists('soliloquy')) {
        soliloquy('129');
    }
    ?>
</section>
<?php 
}
?>

</section>
<div class="full-width" id="footer-container">
	<footer class="row">
		<?php 
do_action('foundationpress_before_footer');
?>
		<div id="col1" class="medium-12 large-3 columns show-for-large-up">
		<?php 
<?php 
get_header();
?>

<!--<div class="main-heading">
    <h1 class="site-title"><?php 
the_title();
?>
</h1>
</div>-->
<div class="SliderLightHUG">

<?php 
if (function_exists('soliloquy')) {
    soliloquy('311');
}
?>
</div> <!-- end  SliderLightHUG-->
<div class="contentPage">
 <nav class="Varsicherungen-navigation">
        <? wp_nav_menu(array('menu' => 'left-Renovationen', 'menu_class' => 'Varsicherungen-menu')); ?>
    </nav>
<section>
 <div class="postContent">
    <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
        <?php 
Beispiel #28
0
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site may use a
 * different template.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Red_Cedar_Theme
 */
get_header();
if (function_exists('soliloquy')) {
    soliloquy('home-page-slider');
}
?>

	<div id="primary" class="content-area">
		<main id="main" class="site-main" role="main">

			<?php 
while (have_posts()) {
    the_post();
    get_template_part('template-parts/content', 'home');
    // If comments are open or we have at least one comment, load up the comment template.
    if (comments_open() || get_comments_number()) {
        comments_template();
    }
}
Beispiel #29
0
		<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
		<?php 
        the_post_thumbnail();
        ?>
		<h1><?php 
        the_content();
        ?>
</h1>
		<?php 
    }
} else {
    echo '<p>No content found</p>';
}
?>
	</section><!-- home content end -->

	<!-- slider start -->
	<section class="container">
	<?php 
if (function_exists('soliloquy')) {
    soliloquy('24');
}
?>
	</section><!-- slider end -->

<?php 
get_footer();
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
	<header class="entry-header">
		<?php 
the_title('<h1 class="entry-title">', '</h1>');
?>
	</header><!-- .entry-header -->
&nbsp;
<?php 
if (function_exists('soliloquy')) {
    soliloquy('meet-the-team-slider', 'slug');
}
?>
	<div class="entry-content">
		<div class="container-fluid">
			<div class="row">
				<div class="credentials small-12 large-12 columns"><strong><h4>CONNIE PERKINS, CPM</h4></strong><br><h5>While living in an intentional community as a young adult, Connie  had the opportunity to serve in a woman’s shelter. Working and living alongside mothers and families who did not have adequate access to resources and support was the catalyst for her  passion for birth justice for all women. It was there that she solidified a desire to serve women, children and families during the most vulnerable and powerful times of life. </h5><br> <h5>In 2007 Connie trained to become a birth doula and began serving street affected and homeless women in the Lansing area.<br>In 2009, just a few months after her own homebirth, Connie joined a busy midwifery practice as a student midwife.  After 4 years and attending nearly 150 births, she completed her training and certified with the National Association of Registered Midwives.</h5><br>
				</div>
			<div><img src="/wp-content/uploads/2016/04/meettheteam1.jpg" alt"Weighing Baby"></div><br>
			</div>
		<div class="container-fluid">
			<div class="row">
				<div class="credentials small-12 large-12 columns">
					<h5>In 2013 she  founded Red Cedar Birth and Botanicals, providing doula services and home birth midwifery care.  It is our belief that every woman deserves to be pampered and supported no matter where she chooses to birth, and that every woman has the right to birth in the setting and with the care providers she feels safest and most comfortable with. Red Cedar Birth supports all families having access to skilled, respectful care, equality, and birth justice.</h5><br>
					<h5><strong>Specific training in</strong><br>
					-BEST (Birth Emergency Skills Training)<br>