← WordPress

Pagina não trabalha....

Lida 3951 vezes

Offline

pedro teixeira 
Membro
Mensagens 237 Gostos 0
Troféus totais: 22
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 100 Posts 50 Posts

precisamos de ver o teu ficheiro header.php da tua theme...

Ok.

<!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; <?php
foreach((get_the_category()) as $cat) {
echo $cat->cat_name . ' ';
} ?> <?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="stylesheet" href="<?php bloginfo('template_url'); ?>/nav.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/print.css" type="text/css" media="print" />

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/dropdowns.js"></script>

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php wp_head(); ?>
</head>
<body<?php if ( is_home() ) { ?> id="home"<?php } ?>>
<div id="page" class="clearfloat">

<div class="clearfloat">
<div id="branding" class="left">
<h1><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>

<div class="right"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div>
</div>

<ul id="nav" class="clearfloat">
<li><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/" class="on">Inicio</a></li>
<li class="page_item page-item-9"><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/categoria/noticias/" class="on">Notícias</a></li>
<li><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/categoria/concertos/" class="on">Concertos</a></li>
<li><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/categoria/festivais/" class="on">Festivais</a></li>
<li><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/categoria/bandas/" class="on">Bandas</a></li>
<?php wp_list_pages('title_li='); ?>
</ul>
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Ok.

<!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; <?php
foreach((get_the_category()) as $cat) {
echo $cat->cat_name . ' ';
} ?> <?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="stylesheet" href="<?php bloginfo('template_url'); ?>/nav.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/print.css" type="text/css" media="print" />

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/dropdowns.js"></script>

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php wp_head(); ?>
</head>
<body<?php if ( is_home() ) { ?> id="home"<?php } ?>>
<div id="page" class="clearfloat">

<div class="clearfloat">
<div id="branding" class="left">
<h1><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>

<div class="right"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div>
</div>

<ul id="nav" class="clearfloat">
<li><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/" class="on">Inicio</a></li>
<li class="page_item page-item-9"><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/categoria/noticias/" class="on">Notícias</a></li>
<li><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/categoria/concertos/" class="on">Concertos</a></li>
<li><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/categoria/festivais/" class="on">Festivais</a></li>
<li><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/categoria/bandas/" class="on">Bandas</a></li>
<li><a title="<?php bloginfo('name'); ?>" href="<?php echo get_option('home'); ?>/categoria/videos/" class="on">Videos</a></li>
<?php wp_list_pages('title_li='); ?>
</ul>

O código é mesmo esse? Wordpress a pontapé...

Substitui por este, vê lá se funciona...

Provavelmente vai dar erro, mas pode ser que não dê
Offline

pedro teixeira 
Membro
Mensagens 237 Gostos 0
Troféus totais: 22
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 100 Posts 50 Posts

O código é mesmo esse? Wordpress a pontapé...

Substitui por este, vê lá se funciona...

Provavelmente vai dar erro, mas pode ser que não dê

já fiz isso mas dá o erro 404. mas ja aparece no menu.
há mais alguma coisa que possa fazer?
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes


Aqui funciona bem...
Offline

pedro teixeira 
Membro
Mensagens 237 Gostos 0
Troféus totais: 22
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 100 Posts 50 Posts

Aqui funciona bem...
obrigado pela ajuda. já consegui, devia ser a cache depois passado uns minutos já tava a dar.