Home › Forum › Plugin e temi di WP › modificare sidebar
-
AutorePost
-
-
13 Settembre 2010 alle 13:40 #15006claudios1994Partecipante
salve a tutti sono l’admin di technologymania.net e uso attualmente wordpress 3.0.1 e come tema Calypso.
Volevo sapere come poter modificare la sidebar in modo da avere tre colonne, in pratica una larga 300 px e due larghe 150 px l’una, come in questo tema qui.
come posso fare , questo è il codice del sidebar.php
<div class="right">
<div class='featbox'>
<div class='feedlist'>
- " >/images/rss.png" title="subscribe" alt="RSS"/>
- ">/images/facebook.png" title="Facebook" alt="Facebook"/>
- ">/images/twitter.png" title="Twitter" alt="Twitter"/>
- /images/buzz.gif" title="Buzz" alt="Buzz"/>
- ">/images/youtube.png" title="Youtube" alt="Youtube"/>
</div>
</div>
<div class="featbox">
<h3 class="sidetitl"> Post Recenti </h3>
<div class="featlist ">
<?php
$my_query = new WP_Query('orderby=comment_count&showposts=5');
while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
?>
<div class="fblock">
">/timthumb.php?src=<?php get_image_url(); ?>&h=60&w=80&zc=1" alt=""/>
<h3>" title="<?php the_title(); ?>"><?php echo substr($post->post_title,0,20); ?></h3>
<p> <?php the_content_rss('', TRUE, '', 10); ?> </p>
</div>
<?php endwhile; ?>
</div>
</div>
<div class="sidebar">
-
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar') ) : else : ?>
<?php endif; ?>
</div>
</div>
come posso fare
-
13 Settembre 2010 alle 13:45 #77057reallocPartecipante
Guarda anche il tema di WP attuale dove c’è registrato più di un sidebar …
-
13 Settembre 2010 alle 13:51 #77058claudios1994Partecipante
cioè ??
-
13 Settembre 2010 alle 14:07 #77059reallocPartecipante
Potresti leggere anche questo articolo -> http://www.studio404.it/2009/sidebar-multiple-widget-wordpress.html … poi tutto il resto è soltanto HTML.
-
13 Settembre 2010 alle 14:27 #77060claudios1994Partecipante
non ho capito come funziona
-
14 Settembre 2010 alle 17:57 #77083ilfortuPartecipante
devi creare 3 div e muoverti con un po di css, con qualche float left o right….
ti consiglio di usare firebug per firefox….
-
22 Gennaio 2011 alle 19:07 #80522rinascitanocerPartecipante
Salve ragazzi premetto che sono un neofito della materia, vorrei sapere se è possibile e cosa bisogna fare per personalizzare le voci della sidebar nel tema arras, praticamente vorrei semplicemente mettere le parole in italiano invece che avere featured;last; comments; vorrei poterle scrivere io. sapreste dirmi se c’è qualche file css da sostituire e quale?
grazie mille
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.