Tema só aparece cabeçalho
-
Gente, preciso de uma ajuda muito importante. Fui instalar um tema que eu já tinha no meu computador e ele ficou muito estranho, não aparece nada. Só o cabeçalho. Alguem sabe me falar porque ou como encontrar o erro e arrumar?
O link é esse
Agradeço muuuuito
-
Boa noite Daniele.
Tem como enviar o codigo pra gente do header.php e do index.php?header:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head profile=”http://gmpg.org/xfn/11″>
<meta http-equiv=”imagetoolbar” content=”no”/>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?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’); ?>” />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php wp_head(); ?>
<!– cufón –>
<script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/cufon.js”></script>
<script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/Gotham_Book_400.font.js”></script>
<script type=”text/javascript”>
Cufon.replace(‘.titulo, .paginacao, .title, h1, .data, .commentname, .footlink, .coments, .paginacao’,{hover:’true’});
</script>
<script type=”text/javascript” src=”https://dl.dropboxusercontent.com/u/61263835/Perpetua_Titling_MT_300.font.js”></script>
<script type=”text/javascript”>
Cufon.replace(‘.title-post’,{hover:’true’});
</script>
<!– //cufón –>
</head>
<body>
<header>
<script type=”text/javascript”>
var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘UA-12591330-7’]);
_gaq.push([‘_trackPageview’]);
(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<center>
<div id=”adsensetopo” style=”padding: 0px 0 0 0;”>
<script type=”text/javascript”><!–
google_ad_client = “ca-pub-6803128870837978”;
/* cabeçalho */
google_ad_slot = “9913675876”;
google_ad_width = 728;
google_ad_height = 90;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</div>
</center>
<div class=”menu”>
</div>
</header>
<div class=”wrapper”>
<div class=”destaques”>
<div class=”box1″>
<div class=”efeito”>
<?php query_posts( ‘cat=43&posts_per_page=1’ ); if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”thumb”>
<img src=”<?php bloginfo(‘template_directory’); ?>/imagens.php?src=<?php echo catch_that_image() ?>&h=300&w=310&zc=1″ alt=”” border=”0″>
<div class=”titulo”>
</div> <!– //titulo –>
</div> <!– //thumb –>
</div> <!– //efeito –>
<?php endwhile; endif; wp_reset_query(); ?>
</div> <!– //box1 –>
<div class=”box2″>
<div class=”efeito”>
<?php query_posts( ‘cat=823&posts_per_page=1’ ); if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”thumb”>
<img src=”<?php bloginfo(‘template_directory’); ?>/imagens.php?src=<?php echo catch_that_image() ?>&h=150&w=320&zc=1″ alt=”” border=”0″>
<div class=”titulo”>
</div> <!– //titulo –>
</div> <!– //thumb –>
</div> <!– //efeito –>
<?php endwhile; endif; wp_reset_query(); ?>
</div> <!– //box2 –>
<div class=”box3″>
<div class=”efeito”>
<?php query_posts( ‘cat=14&posts_per_page=1’ ); if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”thumb”>
<img src=”<?php bloginfo(‘template_directory’); ?>/imagens.php?src=<?php echo catch_that_image() ?>&h=130&w=320&zc=1″ alt=”” border=”0″>
<div class=”titulo”>
</div> <!– //titulo –>
</div> <!– //thumb –>
</div> <!– //efeito –>
<?php endwhile; endif; wp_reset_query(); ?>
</div> <!– //box3 –>
</div> <!– //destaques –>
<div class=”clear”></div>
<div class=”content”>
index:
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<article>
<div class=”title-post”>
</div>
<div class=”por”>
postado em <?php the_time(‘d’) ?> de <?php the_time(‘F’) ?> de <?php the_time(‘Y’) ?>
</div>
<?php the_content(‘Continue lendo »’); ?>
<div class=”com”>
<div class=”compartilhe”>
<!– Twitter –>
<div style=”width: 88px; overflow: hidden; float:left;”>
‘ data-via=’SEU_TWITTER’ data-text='<?php the_title();?>’ href=’http://twitter.com/share’>Twittar
<script src=’http://platform.twitter.com/widgets.js’ type=’text/javascript’></script>
</div>
<!– /Twitter –>
<!– Facebook –>
<div style=”width:89px; overflow: hidden; float:left;”>
<script src=”http://connect.facebook.net/pt_BR/all.js#xfbml=1″ type=”text/javascript”></script>
<fb:like href=”<?php the_permalink() ?>” layout=”button_count” send=”false” show_faces=”false” font=”tahoma” action=”like” colorscheme=”light”></fb:like>
</div>
<!– /Facebook –>
<!– Google –>
<div style=”width: 88px; overflow: hidden; float:left”>
<!– Place this tag where you want the +1 button to render. –>
<div class=”g-plusone” data-size=”medium” data-annotation=”inline” data-width=”120″></div>
<!– Place this tag after the last +1 button tag. –>
<script type=”text/javascript”>
window.___gcfg = {lang: ‘pt-BR’};
(function() {
var po = document.createElement(‘script’); po.type = ‘text/javascript’; po.async = true;
po.src = ‘https://apis.google.com/js/plusone.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</div>
<!– /Google –>
</div> <!– /compartilhe –>
<div class=”clear”></div>
<div class=”tags”>
<?php the_tags(”,’, ‘,’
‘); ?></div>
<?php comments_popup_link (‘0′,’1′,’%’,’coments’,’#’); ?>
<div class=”clear”></div>
<div class=”rel-posts”>
<?php $orig_post = $post;
global $post;
$categories = get_the_category($post->ID);
if ($categories) {
$category_ids = array();
foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
$args=array(
‘category__in’ => $category_ids,
‘post__not_in’ => array($post->ID),
‘posts_per_page’=> 4, // Número de posts relacionados.
‘caller_get_posts’=>1
);
$my_query = new wp_query( $args );
if( $my_query->have_posts() ) {
echo ”;
while( $my_query->have_posts() ) {
$my_query->the_post();?>
<div class=”relacionados”>
<div class=”thumb”>
<img src=”<?php bloginfo(‘template_directory’); ?>/imagens.php?src=<?php echo catch_that_image() ?>&h=140&w=140&zc=1″ alt=”” border=”0″>
</div> <!– //thumb –>
<div class=”titulo”>
” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?>
</div> <!– //thumb –>
</div> <!– //relacionados –>
<?
}
echo ”;
}
}
$post = $orig_post;
wp_reset_query(); ?>
</div>
</div> <!– .com –>
<?php if (function_exists(‘paged_comments_template’)) paged_comments_template(); else comments_template(); ?>
</article>
<?php endwhile; ?>
<?php post_pagination();?>
<?php else : ?>
<?php endif; ?>
<?php get_footer(); ?>
- O tópico ‘Tema só aparece cabeçalho’ está fechado para novas respostas.