enimagens
Respostas criadas no fórum
-
Fórum: Problemas no funcionamento
Em resposta a: Como colocar uma imagens juntamente com o texto na página inicialBoa tarde.
Só para avisar que o problema está solucionado.
A quem possa vir a deparar-se a mesma situação, a resposta encontrei-a aqui: http://net.tutsplus.com/tutorials/wordpress/quick-tip-how-to-use-the-new-post-thumbnail-feature-in-wordpress-2-9/Fórum: Problemas no funcionamento
Em resposta a: Como colocar uma imagens juntamente com o texto na página inicialbons dias, suponho que o ficheiro onde tenho que inserir a linha que me indicaste é o blog.php
Este é o codigo que tem o ficeiro:
<div class=”span-<?php
$sidebar_state = get_option(‘T_sidebar_state’);if($sidebar_state == “On”) {
echo “15 colborder home”;
}
else {
echo “24 last”;
}
?>”>
<h3 class=”sub”>Mais Recente</h3>
<?php if (have_posts()) : ?>
<?php $i = 0; ?>
<?php while (have_posts()) : the_post(); $i++; ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
<div class=”entry”>
<?php if ($i == 1) {
include (THEMELIB . ‘/apps/multimedia.php’);
the_content();
}
else {
postimage(‘thumbnail’);
the_excerpt();
}
?>
</div>
<div class=”clear”></div>
<p class=”postmetadata”><?php the_time(‘M d, Y’) ?> | Categorias: <?php if (the_category(‘, ‘)) the_category(); ?> <?php if (get_the_tags()) the_tags(‘| Tags: ‘); ?> | <?php comments_popup_link(‘Deixa um Comentario »’, ‘1 Comentario »’, ‘% Comentarios »’); ?> <?php edit_post_link(‘Editar’, ‘| ‘, ”); ?> </p>
</div>
<div class=”clear”></div>
<?php endwhile; ?><div class=”navigation”>
<div class=”alignleft”><?php next_posts_link(‘« Entradas mais antigas’) ?></div>
<div class=”alignright”><?php previous_posts_link(‘Entradas mais recentes »’) ?></div>
</div><?php else : ?>
<h2 class=”center”>Not Found</h2>
<p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
<?php include (TEMPLATEPATH . “/searchform.php”); ?><?php endif; ?>
</div><?php
$sidebar_state = get_option(‘T_sidebar_state’);if($sidebar_state == “On”) {
get_sidebar() ;
}
else {
echo “”;
}
?></div>
<div class=”double-border”></div>Fórum: Problemas no funcionamento
Em resposta a: Como colocar uma imagens juntamente com o texto na página inicialSim estou a usar o post-thumbnail.
A que código se refere? Não sou grande entendido no assunto.