IPB

( Zaloguj | Zarejestruj )

 
Reply to this topicStart new topic
> Menu przekierowujace na forum
razor91pl
post 31.10.2009 - 17:30
Post #1





Grupa: Bloger
Postów: 5

Nr: 7 217



Witam. Przegladam od dluzszego czasu to forum i nigdzie nie moge znalezc odpowiedzi na moje pytanie. Przyznam, ze po raz pierwszy mam stycznosc z WordPress...

Minowicie hcodzi o to, aby po kliknięciu na dział "Forum" w menu przekirowalo mnie na odpowiednia strone... Nie moge znalez pliku ktory za to odpowiada aby tam wpisac link do tej strony.

Moja strona to www.voice-support.pl
W menu jest stron "FORUM" i chce aby po kliknieciu w nia przekierowalo mnie na www.voice-support.pl/forum
Go to the top of the page
 
+Quote Post
verona
post 31.10.2009 - 19:49
Post #2


aktywność:
**

Grupa: +Bloger
Postów: 59

Nr: 5 504



Bardzo prosta sprawa. Menu powinno być w header.php, przejrzyj kod a znajdziesz, a jak nie to daj go tutaj.
Pod funkcją wywołującą menu, dodasz ręcznie swój link, i tyle. Z tego co widzę to w Twoim theme będzie to taki link:

KOD
<li class="page_item page-item-92"><a href="www.voice-support.pl/forum" title="FORUM">FORUM</a></li>


Pozdrawiam
Go to the top of the page
 
+Quote Post
razor91pl
post 31.10.2009 - 20:20
Post #3





Grupa: Bloger
Postów: 5

Nr: 7 217



CYTAT(veona @ 31.10.2009 - 19:49) *
Bardzo prosta sprawa. Menu powinno być w header.php, przejrzyj kod a znajdziesz, a jak nie to daj go tutaj.
Pod funkcją wywołującą menu, dodasz ręcznie swój link, i tyle. Z tego co widzę to w Twoim theme będzie to taki link:

KOD
<li class="page_item page-item-92"><a href="www.voice-support.pl/forum" title="FORUM">FORUM</a></li>


Pozdrawiam


Wlasnie nie header smile.gif
KOD
<!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">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Archiwum bloga <?php } ?> <?php wp_title(); ?></title>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />


<link rel="icon" href="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/favicon.ico" />
<link rel="shortcut icon" href="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/favicon.ico" />

<?php wp_head(); ?>

</head>
<body>

<div id="head" class="clearfloat">

<div class="clearfloat">
    <div id="logo" class="left">
    <a href="<?php echo get_option('home'); ?>/"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/logo.png" width="350px" height="60px" alt="" /></a>
    <div id="tagline"><?php bloginfo('description'); ?></div>
    </div>

    <div class="right">
    <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/banners/468_60.png" alt="" width="468px" height="60px"  />
    </div>

</div>

<div id="navbar" class="clearfloat">

<ul id="page-bar" class="left clearfloat">

<li><a href="<?php echo get_option('home'); ?>/">Główna</a></li>

<?php wp_list_pages('sort_column=menu_order&title_li='); ?>

</ul>

<?php include (TEMPLATEPATH . '/searchform.php'); ?>

</div>

</div>

<div id="page" class="clearfloat">



Tu chodzi cos o to:
KOD
<?php wp_list_pages('sort_column=menu_order&title_li='); ?>


Ale nie moge tego znalezc smile.gif

UPDATE:

Juz wiem... wstawie to forum na podstawie czego takiego po stronach...
KOD
<li><a href="<?php echo get_option('home'); ?>/">Główna</a></li>


Przepraszam za kłopot

Ten post edytował razor91pl 31.10.2009 - 20:22
Go to the top of the page
 
+Quote Post
verona
post 31.10.2009 - 21:38
Post #4


aktywność:
**

Grupa: +Bloger
Postów: 59

Nr: 5 504



No to chyba oczywiste, że skoro w theme masz nawet gotowy link, to wystarczy go skopiować.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



: 22 05 12 - 11:56