Odpowiedź forum utworzona

Zobacz 9 odpowiedzi - od 1 do 9 (z 9 łącznie)
  • Forum: Motywy
    W odpowiedzi na: Zmiana elementów menu
    Twórca wątku Toficjusz

    (@toficjusz)

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
    <head profile="http://gmpg.org/xfn/11">
    <title><?php bloginfo('name'); if ( is_404() ) : _e(' &raquo; ', 'sandbox'); _e('Not Found', 'sandbox'); elseif ( is_home() ) : _e(' &raquo; ', 'sandbox'); bloginfo('description'); else : wp_title(); endif; ?></title>
    <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    <meta name="description" content="<?php bloginfo('description') ?>" />
    <meta name="generator" content="WordPress <?php bloginfo('version') ?>" /><!-- Please leave for stats -->
    
    <style type="text/css" media="all"> @import url(<?php bloginfo('template_url'); ?>/css/reset.css); @import url(<?php bloginfo('template_url'); ?>/css/generic.css); </style>
    <style type="text/css" media="print"> @import url(<?php bloginfo('template_url'); ?>/css/print.css); </style>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Posts RSS feed', 'sandbox'); ?>" />
    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Comments RSS feed', 'sandbox'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
    
    <?php wp_head() ?>
    
    </head>
    
    <body class="<?php sandbox_body_class() ?>">
    
    <div id="wrapper" class="hfeed">
    
    	<div id="header">
    		<h1 id="blog-title"><a href="<?php echo get_option('home') ?>/" title="<?php bloginfo('name') ?>" rel="home"><?php bloginfo('name'); ?></a></h1>
    		<div id="blog-description"><?php bloginfo('description') ?></div>
    	</div><!--  #header -->
    
    	<div id="access">
    		<div class="skip-link"><a href="#content" title="<?php _e('Skip navigation to the content', 'sandbox'); ?>"><?php _e('Skip to content', 'sandbox'); ?></a></div>
    		<div id="menu">
    	<ul>
    		<li class="page_item"><a href="http://myslowicemoichmarzen.pl/">Strona główna</a></li>
    		<li class="page_item page-item-17"><a href="http://myslowicemoichmarzen.pl/?page_id=17">O nas</a></li>
    		<li class="page_item page-item-19"><a href="http://myslowicemoichmarzen.pl/?page_id=19">Redakcja</a></li>
    		<li class="page_item page-item-21"><a href="http://myslowicemoichmarzen.pl/?page_id=21">Kontakt</a></li>
    	</ul>
    </div>
    Forum: Motywy
    W odpowiedzi na: Zmiana elementów menu
    Twórca wątku Toficjusz

    (@toficjusz)

    działa… jest tylko jeden problem – menu się rozjechało…

    Forum: Motywy
    W odpowiedzi na: Zmiana elementów menu
    Twórca wątku Toficjusz

    (@toficjusz)

    gdzie ten kod należy umieścic ?

    Forum: Motywy
    W odpowiedzi na: Zmiana elementów menu
    Twórca wątku Toficjusz

    (@toficjusz)

    Nikt nie jest w stanie pomóc ?

    Forum: Motywy
    W odpowiedzi na: Zmiana elementów menu
    Twórca wątku Toficjusz

    (@toficjusz)

    ręcznie zakodować ? tzn. ?

    Forum: Motywy
    W odpowiedzi na: Zmiana elementów menu
    Twórca wątku Toficjusz

    (@toficjusz)

    Dokładnie 🙂 mam jeszcze jedno pytanko bo teraz najeżdżając myszką na któryś z elementów menu pojawia się tak jakby podświetlenie z nazwą, można to usunąć ?

    Forum: Motywy
    W odpowiedzi na: Zmiana elementów menu
    Twórca wątku Toficjusz

    (@toficjusz)

    echo '<div id="menu"><ul><li class="page_item"><a href="'. get_settings('home') .'/" title="'. get_bloginfo('name') .'" rel="home">Home</a></li>';
        $menu = wp_list_pages('title_li=&sort_column=menu_order&echo=0'); // Params for the page list in header.php
        echo str_replace(array("\r", "\n", "\t"), '', $menu);
        echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>';

    ?

    Forum: Motywy
    W odpowiedzi na: Zmiana elementów menu
    Twórca wątku Toficjusz

    (@toficjusz)

    myslowicemoichmarzen.pl

    nie potrafilem znaleść tej funkcji, wklejam cała zawartosc functions.php

    Forum: Motywy
    W odpowiedzi na: Zmiana elementów menu
    Twórca wątku Toficjusz

    (@toficjusz)

    Tak wygląda plik header.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
    <head profile="http://gmpg.org/xfn/11">
    <title><?php bloginfo('name'); if ( is_404() ) : _e(' &raquo; ', 'sandbox'); _e('Not Found', 'sandbox'); elseif ( is_home() ) : _e(' &raquo; ', 'sandbox'); bloginfo('description'); else : wp_title(); endif; ?></title>
    <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    <meta name="description" content="<?php bloginfo('description') ?>" />
    <meta name="generator" content="WordPress <?php bloginfo('version') ?>" /><!-- Please leave for stats -->
    
    <style type="text/css" media="all"> @import url(<?php bloginfo('template_url'); ?>/css/reset.css); @import url(<?php bloginfo('template_url'); ?>/css/generic.css); </style>
    <style type="text/css" media="print"> @import url(<?php bloginfo('template_url'); ?>/css/print.css); </style>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Posts RSS feed', 'sandbox'); ?>" />
    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Comments RSS feed', 'sandbox'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
    
    <?php wp_head() ?>
    
    </head>
    
    <body class="<?php sandbox_body_class() ?>">
    
    <div id="wrapper" class="hfeed">
    
    	<div id="header">
    		<h1 id="blog-title"><a href="<?php echo get_option('home') ?>/" title="<?php bloginfo('name') ?>" rel="home"><?php bloginfo('name'); ?></a></h1>
    		<div id="blog-description"><?php bloginfo('description') ?></div>
    	</div><!--  #header -->
    
    	<div id="access">
    		<div class="skip-link"><a href="#content" title="<?php _e('Skip navigation to the content', 'sandbox'); ?>"><?php _e('Skip to content', 'sandbox'); ?></a></div>
    		<?php sandbox_globalnav() ?>
    	</div><!-- #access -->

    niestety bardzo słabo znam się na php

Zobacz 9 odpowiedzi - od 1 do 9 (z 9 łącznie)