• Rozwiązano DeadEasy

    (@deadeasy)


    Witam! Na wstępie powiem, że siedzę nad tym problemem 2 dzień i dostaję szewskiej pasji, ponieważ identyczny niemal temat jest już na forum z tym, że zawarte tam informacje nie naprawiają mojego problemu.

    Korzystam z motywu Modularity Lite 1.3 i tam w prawym górnym rogu w nagłówku jest napis „Strona główna”. Chciałbym zmienić jej nazwę lub usunąć ją i w to miejsce wstawić własną stronę na której będę umieszczał wpisy. Wyczytałem, że prawdopodobnie muszę usunąć jakąś linijkę z header.php jednak nie znam się na tym za bardzo i nie wiem która to może być linijka. Zamieszczam zawartość tego pliku:

    <?php
    /**
    * @package WordPress
    * @subpackage Modularity
    */
    ?>
    <!DOCTYPE html PUBLIC „-//W3C//DTD XHTML 1.0 Transitional//EN” „http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <!–[if lte IE 6]>
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?> class=”lteIE6″>
    <![endif]–>
    <!–[if !IE]><!–>
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>>
    <!– <![endif]–>
    <head profile=”http://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(’html_type’); ?>; charset=<?php bloginfo(’charset’); ?>” />

    <title><?php wp_title(); ?> <?php bloginfo(’name’); ?></title>

    <!– Styles –>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(’stylesheet_url’); ?>” />
    <link rel=”stylesheet” href=”<?php bloginfo(’template_directory’); ?>/css/print.css” type=”text/css” media=”print” />
    <!–[if IE]><link rel=”stylesheet” href=”<?php bloginfo(’stylesheet_directory’); ?>/library/styles/ie.css” type=”text/css” media=”screen, projection” /><![endif]–>
    <!–[if lte IE 7]><link type=”text/css” href=”<?php bloginfo(’stylesheet_directory’); ?>/library/styles/ie-nav.css” rel=”stylesheet” media=”all” /><![endif]–>

    <link rel=”pingback” href=”<?php bloginfo(’pingback_url’); ?>” />

    <?php if ( is_singular() && get_option( 'thread_comments’ ) )
    wp_enqueue_script( 'comment-reply’ ); ?>

    <?php wp_head(); ?>

    </head>

    <body <?php body_class(); ?>>
    <div id=”top”>

    <!– Begin Masthead –>
    <div id=”masthead”>
    <h4 class=”left”><?php bloginfo( 'name’ ); ?></h4>
    </div>

    <?php wp_nav_menu( array( 'theme_location’ => 'primary’, ” => ” ) ); ?>

    <div class=”clear”></div>
    </div>

    <div class=”container”>
    <div class=”container-inner”>

    <?php if ( get_theme_mod( 'header_image’ ) ) : ?>
    <div id=”header-image”>
    <img src=”<?php header_image() ?>” width=”950″ height=”200″ alt=”” />
    </div>
    <?php endif; ?>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • Temat ‘Jak usunąć/zmienić nazwę strony głównej w nagłówku’ jest zamknięty na nowe odpowiedzi.