Visualizzazione 0 filoni di risposte
Visualizzazione 0 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Spostare commenti vicino alla data.
Caio ragazzi potete aiutarmi con questo codice?
Vorrei spostare i commenti a destra vicino la data oppure lasciarli sotto il post ma al lato destro e vorrei anche diminuire lo spazio che c’è tra il titolo del post e la data.
Ecco il post come appare ora:
http://i49.tinypic.com/2jdjtcm.jpg
Ecco il codice del file index.php:
<?php get_header()?>
<?php if ( have_posts() ) : ?>
<?php
if ( is_search() ) { ?><p id="archive-what">Search results for ‘<?php the_search_query(); ?>’</p><?php };
if ( is_category() ) { ?><p id="archive-what">Posts filed under ‘<?php single_cat_title(); ?>’</p><?php };
if ( is_tag() ) { ?><p id="archive-what">Posts tagged with ‘<?php single_tag_title(); ?>’</p><?php };
if ( is_date() ) { ?><p id="archive-what">You are browsing the archive for <?php single_month_title(); ?></p><?php };
while ( have_posts() ) : the_post(); ?>
<div class="entry">
<h2 class="entry-title">"><?php the_title()?></h2>
<?php if ( is_new_day() ) { ?><p class="meta"><?php the_date()?></p><?php } ?>
<div class="entry-content">
<?php the_content()?>
</div>
<?php if ( comments_open() ) : ?>
<p class="meta"><?php comments_popup_link(); ?></p>
<?php endif; ?>
</div>
<?php endwhile; ?>
<?php if (show_posts_nav()) : ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php endif; ?>
<?php endif; ?>
<?php get_footer()?>
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0