sidebar-footer-secondary.php 1.2 KB

1234567891011121314151617181920212223
  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="http://creativecommons.org/licenses/by/3.0/de/">CC-BY-SA 3.0</a></li>
  17. <li><a href="<?php bloginfo( 'rss_url' ); ?>">RSS-Feed</a></li>
  18. </ul>
  19. </div>
  20. <?php } } ?>
  21. </div>
  22. </div>