Пример #1
0
    if (theme_cache::is_home()) {
        ?>
				<div class="widget panel links-container">
					<div class="heading">
						<h2 class="widget-title">
							<i class="fa fa-link"></i> <?php 
        echo ___('Links');
        ?>
						</h2>
					</div>
					<div class="content">
						<?php 
        /**
         * links
         */
        theme_cache::wp_nav_menu(['theme_location' => 'links-footer', 'container' => 'nav', 'menu_class' => 'menu', 'menu_id' => 'links-footer', 'fallback_cb' => 'custom_navwalker::fallback', 'walker' => new custom_navwalker()]);
        ?>
					</div>
				</div>
			<?php 
    }
    ?>
		</div><!-- /.g -->
		<p class="footer-meta copyright">
			<?php 
    echo class_exists('theme_user_code') ? theme_user_code::get_frontend_footer_code() : null;
    ?>
		</p>
	<?php 
} else {
    ?>