File "footer.php"

Full Path: /home/mba/public_html/wp-content-20250807152928/themes/twentytwenty-child-theme/footer.php
File size: 11.53 KB
MIME-type: text/plain
Charset: utf-8

  <?php
/**
 * The template for displaying the footer
 *
 * Contains the opening of the #site-footer div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package WordPress
 * @subpackage Twenty_Twenty
 * @since 1.0.0
 */

?>

  <!-- end content --><!-- Start footer -->
                <footer id="footer-container" class="jl_footer_act enable_footer_columns_dark">
                    <div class="footer-columns">
                        <div class="container">
                            <div class="row">
                                <div class="col-md-4">
                                    <div id="_about_us_widget-2" class="widget jellywp_about_us_widget">
                                        <div class="widget_jl_wrapper about_widget_content">
                                            <div class="jellywp_about_us_widget_wrapper">
                                                <img class="footer_logo_about" src="<?php echo get_stylesheet_directory_uri(); ?>/img/logo_n.png" alt="logo" />
                                                <p>
                                                    We pride ourselves in our great content providers, business gurus, and entrepreneurs together with outstanding publishers who ensure we deliver the best. In a nutshell, we empower individuals, teams..
                                                </p>
                                                <div class="social_icons_widget"><ul class="social-icons-list-widget icons_about_widget_display"></ul></div>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="_about_us_widget-4" class="widget jellywp_about_us_widget">
                                        <div class="widget_jl_wrapper about_widget_content">
                                            <div class="jellywp_about_us_widget_wrapper">
                                                <div class="social_icons_widget">
                                                    <ul class="social-icons-list-widget icons_about_widget_display">
                                                        <li>
                                                            <a rel="nofollow" href="https://www.facebook.com/Millionairebusinessarticles/" class="facebook" target="_blank"><i class="jli-facebook"></i></a>
                                                        </li>
                                                       
                                                       
                                                        <li>
                                                            <a rel="nofollow" href="https://www.instagram.com/millionairebusinessarticles/" class="linkedin" target="_blank"><i class="jli-instagram"></i></a>
                                                        </li>
                                                      
                                                        <li>
                                                            <a rel="nofollow" href="https://twitter.com/millionairebusi" class="twitter" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" height="14px" viewBox="0 0 512 512"><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z" fill="#fff"></path></svg></a>
                                                        </li>
														
                                                        <li>
                                                            <a rel="nofollow" href="https://www.pinterest.com/millionairebusinessarticles/" class="pinterest" target="_blank"><i class="jli-pinterest"></i></a>
                                                        </li>
													 <li>
                                                            <a rel="nofollow" href="https://www.linkedin.com/in/millionaire-business-articles" class="pinterest" target="_blank"><i class="jli-linkedin"></i></a>
                                                        </li>	
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
								
								
								
									
									
									
									
									<div class="col-md-4">
                                    <div id="_recent_post_text_widget-8" class="widget post_list_widget">
                                        <div class="widget_jl_wrapper">
                                            <div class="ettitle">
                                                <div class="widget-title"><h2 class="jl_title_c">More from Us</h2></div>
                                            </div>
                                            <div class="bt_post_widget">
	<?php $args = array( 'post_type' => 'post','posts_per_page' => '2','post_status'    => 'publish','category_name'=>'Business','orderby' => 'publish_date','order' => 'DESC',);
					$posts = get_posts( $args );

					 foreach ($posts as $post) :  
					 setup_postdata($post);
					 
					$date = get_the_date();
					$category = get_the_category($post);
					$thumb_id = get_post_thumbnail_id(get_the_ID());
					$alt = get_post_meta($thumb_id, '_wp_attachment_image_alt', true);
					if(empty($alt)){
						$alt= "featured Image";
					}
					?>
                                                <div class="jl_m_right jl_sm_list jl_ml jl_clear_at">
												
												
                                                    <div class="jl_m_right_w">
                                                        <div class="jl_m_right_img jl_radus_e">
                                                            <a href="<?php the_permalink(); ?>">
                                                                <img alt="<?php echo $alt; ?>"
                                                                    width="100"
                                                                    height="100"
                                                                    src="<?php echo get_the_post_thumbnail_url(get_the_ID(),"full");?>"
                                                                    class="attachment-_small_feature size-_small_feature wp-post-image"
                                                                    alt="post"
                                                                    loading="lazy"
                                                                />
                                                            </a>
                                                        </div>
                                                        <div class="jl_m_right_content">
                                                            <h2 class="entry-title"><a href="<?php the_permalink(); ?>" tabindex="-1"><?php  the_title(); ?></a></h2>
                                                            <span class="jl_post_meta">
                                                                <span class="jl_author_img_w"><i class="jli-user"></i><a href="<?php echo get_author_posts_url($post->post_author);?>" title="Posts by <?php echo strtoupper(get_the_author()); ?>" rel="author"><?php echo strtoupper(get_the_author()); ?></a></span>
                                                                <span class="post-date"><i class="jli-pen"></i><?php echo $date; ?></span>
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
												<?php  
					endforeach; 
					wp_reset_postdata();
					?>
                                               
                                            </div>
                                        </div>
                                    </div>
                                </div>
								
								
								
                                
                                <div class="col-md-2">
                                  
                                        <div class="widget">
                                        <div class="widget-title"><h2 class="jl_title_c">Topics
                                        </h2></div>
											
											<ul>
											<?php 
											$categories = get_categories( array(
												'orderby' => 'name',
												'order'   => 'ASC',
												'number'=>7
											) );
											foreach( $categories as $category ) {
											?>
                                            <li>
                                                <a href="<?php echo get_category_link( $category->term_id ); ?>"><?php echo $category->name; ?></a>
                                            </li>
											 <?php
											}
											 ?>
                                                   
                                            </ul>
     
                                        </div>
                                    </div>
									
									
									<div class="col-md-2">
                                  
                                        <div class="widget">
                                            <div class="widget-title"><h2 class="jl_title_c">Ouick Links
                                               </h2></div>
											
												<?php wp_nav_menu(array("menu"=>"top_menu")); ?>
										</div>
												
									</div>
									
									
									
                               
                            </div>
                        </div>
                    </div>
                    <div class="footer-bottom enable_footer_copyright_dark">
                        <div class="container">
                            <div class="row bottom_footer_menu_text">
                                <div class="col-md-12">
                                    <div class="jl_ft_w">
                                        © Copyright <?php echo date('Y'); ?> www.millionaire-business-articles.com
                                        <ul id="menu-footer-menu" class="menu-footer">
                                            <li class="menu-item menu-item-6"><a title="" href="#">About Us</a></li>
                                            <li class="menu-item menu-item-7"><a title="" href="#">Private policy</a></li>
                                            <li class="menu-item menu-item-8"><a title="" href="#">Forums</a></li>
                                           
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </footer>
                <!-- End footer -->
                <div id="go-top">
                    <a href="#go-top"><i class="jli-up-chevron"></i></a>
                </div>
            </div>
        </div>
        <script src="<?php echo get_stylesheet_directory_uri(); ?>/js/jquery.js"></script>
		<script>
$= jQuery;
$('a').each(function() {
   var a = new RegExp('/' + window.location.host + '/');
   if(!a.test(this.href)) {
       $(this).click(function(event) {
           event.preventDefault();
           event.stopPropagation();
           window.open(this.href, '_blank');
       });
   }
});
    </script>
	<?php wp_footer(); ?>
    </body>
</html>