sidebar-footer-secondary.php 1.1 KB

12345678910111213141516171819202122
  1. <div class="second-footer-widget-area">
  2. <div class="skin">
  3. <?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) {
  4. dynamic_sidebar( 'second-footer-widget-area' );
  5. } else {
  6. if ( has_nav_menu( 'sub' ) ) { ?>
  7. <div class="widget"><h2><?php bloginfo( 'name' ); ?></h2>
  8. <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'sub' ) ); ?>
  9. </div>
  10. <?php } else { ?>
  11. <div class="widget">
  12. <h2><?php bloginfo( 'name' ); ?></h2>
  13. <p class="titelurl"><a href="<?php echo home_url('/'); ?>"><?php echo home_url('/'); ?></a></p>
  14. <ul>
  15. <li><?php wp_loginout() ?></li>
  16. <li><a href="<?php bloginfo( 'rss_url' ); ?>">Feed</a></li>
  17. </ul>
  18. </div>
  19. <?php } } ?>
  20. </div>
  21. </div>