<?php

/**

 * The template for displaying the footer

 *

 * Contains the closing of the #content div and all content after.

 *

 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials

 *

 * @package WordPress

 * @subpackage Twenty_Seventeen

 * @since 1.0

 * @version 1.0

 */



?>



		</div><!-- #content -->



		<footer id="colophon" class="site-footer" role="contentinfo">

			<div class="wrap">


    <div class="full" style="overflow:hidden;">

    	<div class="top-service-slider-wrapper">

        	<ul class="service-slider-ul slider-bottom">

            	<?php 

				 $args = array(

					'posts_per_page'   => 12,

					'category'         => 2,

					'post_type'        => 'post'

				);

				$post_array = get_posts($args);

		foreach ( $post_array as $post ) : setup_postdata( $post ); 

			

			$Postid = $post->ID;

			$thumb_url = get_the_post_thumbnail( $Postid, 'slider-section-thumb' );

			$post_title = $post->post_title;

			$content_trim_service	= wp_trim_words($post_title, 4 , '');

		

				?>

            	<li>

                	<div class="service-inner">

                    	<div class="service-image">

                        	<a href="<?php echo get_permalink($Postid); ?>"><?php echo $thumb_url ?></a>

                        </div>

                        <a href="<?php echo get_permalink($Postid); ?>">

                        <div class="service-text">

                        	<h2><?php echo $content_trim_service ?></h2>

                        </div></a>

                    </div>

                </li>

                <?php

                	endforeach;

					wp_reset_postdata();?>

            	

            </ul>

        </div>

        </div>

    <div class="full">

        	<div class="container">

            	<div class="sign-up-newsletter">

                	<h1>SIGN UP TO OUR WEEKLY NEWSLETTER</h1>

					<?php dynamic_sidebar( 'Weekly Subscription Form' ); ?> 

                    <div class="clear"></div>

                </div>

            </div>

    </div>
            	<div class="full footer">

                    <div class="container">

                        <div  class="copy-state">

                            <p>&copy; copyright.thespecialwomen.com.All rights reserved.</p>

                            <a target="_blank" href="http://www.emenacsoft.com/">Powered By EmenacSoft.com</a>

                            <div class="clear"></div>

                        </div>

                        <div class="bottom-log-class">

                            <a class="bottom-logo" href="<?php echo site_url(); ?>">The Special Women</a>

                            <div class="clear"></div>

                        </div>

                    </div>

                </div>
			</div><!-- .wrap -->

		</footer><!-- #colophon -->

	</div><!-- .site-content-contain -->

</div><!-- #page -->

<?php wp_footer(); ?>



</body>

</html>

