Zmiana HEADER
-
Cześć wszystkim, mam taki problem. Na stronie którą konfiguruje, znajduje sie slider na głównej. Wyżej nad nim jest MENU, którego kod podam poniżej. Chodzi mi o to, że gdy do niego dodaję istniejące już Strony, klikam w jakąś z poziomu strony, i nie działa, slider znika a dana strona nie pokazuje się.
Gdyby ktoś chciał zobaczyć o co chodzi, podaje adres:
I teraz do sedna. Chciałbym zrobić taki patent, aby z poziomu kodu Header dodać własne odnośniki do danych stron, tylko nie wiem zabardzo w którym miejscu. Dzięki i pozdrawiam.
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php elegant_titles(); ?></title> <?php elegant_description(); ?> <?php elegant_keywords(); ?> <?php elegant_canonical(); ?> <?php do_action( 'et_before_stylesheet' ); ?> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/ie6style.css" /> <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/DD_belatedPNG_0.0.8a-min.js"></script> <script type="text/javascript">DD_belatedPNG.fix('img#logo, span.overlay, a.zoom-icon, a.more-icon, #menu, #menu-right, #menu-content, ul#top-menu ul, #menu-bar, .footer-widget ul li, span.post-overlay, #content-area, .avatar-overlay, .comment-arrow, .testimonials-item-bottom, #quote, #bottom-shadow, #quote .container');</script> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/ie7style.css" /> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/ie8style.css" /> <![endif]--> <!--[if lt IE 9]> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> <![endif]--> <script type="text/javascript"> document.documentElement.className = 'js'; </script> <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="bg"></div> <div id="container"> <header id="main_header" class="clearfix"> <a href="<?php echo home_url(); ?>"> <?php $logo = '' != get_option( 'sky_logo' ) ? esc_attr( get_option( 'sky_logo' ) ) : get_template_directory_uri() . '/images/logo.png'; ?> <img src="<?php echo $logo; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" id="logo" /> </a> <?php $primaryNav = wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => 'nav', 'container_id' => 'top-menu', 'fallback_cb' => '', 'echo' => false, 'depth' => 1 ) ); if ( $primaryNav ) echo( $primaryNav ); else echo( '<p id="menu_notification">' . esc_html__( 'Please, setup the menu via WP-Admin / Menus', 'Sky' ) . '</p>' ); ?> </header> <!-- end #main_header --> <div id="content"> <?php get_template_part( 'includes/top_info' ); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- Temat ‘Zmiana HEADER’ jest zamknięty na nowe odpowiedzi.