Home › Forum › Plugin e temi di WP › personalizzare classi blogroll
-
AutorePost
-
-
25 Febbraio 2007 alle 22:05 #3287docchiaPartecipante
salve ragazzi
di default il blogroll si presenta sotto questa forma:
<h2>Blogroll</h2>
- link
- …link
Come potrei fare però, se volessi dare una impostazione del tipo:
<span class=”prova”>Blogroll</span>
Insomma… cambiarne il codice a mio piacimento, come è possibile fare per gli altri “box” (categorie, archivio, ecc) nella sidebar? Che file devo aprire? Non lo trovo!!!
Grazie mille,
Angelo
-
25 Febbraio 2007 alle 22:34 #43647webnicolaPartecipante
Ciao,
vai nella cartella wp-content/themes/nomeTuoTema/sidebar.php
Prego mille
-
25 Febbraio 2007 alle 22:48 #43648docchiaPartecipante
ciao webnicola, grazie per aver risposto
se vado in sidebar.php, mi compare
<?php /* Se questa è la pagina principale */ if ( is_home() || is_page() ) { ?>
<?php get_links_list(); ?>
ma non mi permette di modificarne titolo e voci, come per gli altri box
come potrei fare?
grazie ancora!
-
26 Febbraio 2007 alle 8:03 #43650webnicolaPartecipante
Di nulla,
comunque puoi fare le modifiche nell’area amministarzione menu Link/categoria link/Modifica e lଠc’è un form di formattazione, poi puoi lavora sul file php.
-
26 Febbraio 2007 alle 14:09 #43660docchiaPartecipante
Ciao webnicola, scusami ma non ho ancora capito
Se volessi modificare ad esempio il titolo del box “Archivio”, posso farlo tranquillamente in quanto nel file sidebar.php trovo una situazione del tipo
<h3>Archivio</h3>
<?php get_archive(); ?>
Quindi posso modificare quel contenuto nel tag <h3> come voglio, quindi dargli un determinato stile o settaggio.
Questo pero’ non posso farlo per il box blogroll, in quanto non mi da una struttura come quella precedente ma semplicemente un richiamo php del tipo
<?php get_links_list(); ?>
Senza quindi nessun richiamo al titolo
Come faccio?
Angelo
-
26 Febbraio 2007 alle 15:03 #43665wollyAmministratore del forum
se ho capito quello che vuoi fare basta che metti una riga prima del get__links
<h3> quello che vuoi tu </h3>
ciao
wolly
-
14 Maggio 2007 alle 20:58 #44677dariodnPartecipante
scusate… ripesco la discussione.
get_link stampa a schermo il titolo del blogroll nel tag <h2>. Attraverso i temi non sono in grado di modificare questa stampa, o meglio toglierla completamente. Detto altrimenti vorrei che uscisse solo la lista dei link SENZA il titolo del “raccoglitore”.
Si può fare? Come?
tnx
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.