Home › Forum › Problemi Vari con WP › consigli per un magazine? codice menu a tendina?
-
AutorePost
-
-
4 Ottobre 2009 alle 19:48 #11772MassimoVitaliPartecipante
Ciao a tutti, avete dei consigli da darmi riguardo a un magazine che vorrei realizzare? sarebbe per un comune, con foto, reportage, news.. intendo plugin o cose carine da inserire..
volevo sapere un altra cosa.. esiste un codice oltre ai plugin da integrare nell’header?
si potrebbe modificare tipo il codice di questa parte di header.php per avere un menu a tendina?
<li <?php if(is_home()) { echo ' class="current-cat" '; } ?>>">Home
<?php wp_list_categories('depth=1&hide_empty=0&orderby=name&order=ASC&title_li=' ); ?>
<?php
if(is_category()) {
$get_current_cat_id = get_query_var('cat');
if(get_categories('child_of=' . $get_current_cat_id . '')) {
?>
<ul id="subnav">
<?php
wp_list_categories('child_of=' . $get_current_cat_id . '&depth=1&hide_empty=0&orderby=name&order=ASC&title_li=' );
?>
<?php
} else {
?>
<div class="nosubcategories"> </div>
<?php
}
} else {
?>
<div class="nosubcategories"> </div>
<?php
}
?>
</div>
</div>
-
5 Ottobre 2009 alle 4:18 #68643ondapiPartecipante
esistono già temi preconfezionati per creare un magazine
l’unico problema e che necessitano di una preconfigurazione o tramite il pannello di controllo a volte incluso o intervenendo
direttamente nel codice Brandford ne è forse l’esempio più classico ultimamente sono stati pubblicati anche altri interessanti temi come Magazine Basic e gli intriganti News Magazine Theme 640 e Arras Theme questi temi con funzioni avanzate risultano comunque difficili da personalizzare oltre le opzioni già preimpostate
ciò non impedisce alla fine di creare una home page personalizzata con vari loop che richiamano i due o tre articoli recenti per varie categorie più importanti
per l’header il tutto è legato anche al css altrimenti il risultato è un semplice elenco puntato
ti posso consigliare questo plugin wp menubar per gestire in maniera personalizzata il menù
-
5 Ottobre 2009 alle 12:17 #68652MassimoVitaliPartecipante
il problema è che wp menubar non riesco a farlo funzionare sul mio sito.. mi dice che non è stato trovato nel database.. a cosa puo esser dovuto?
o.t potreste rispondermi anche alla domanda legata al permalink? grazie mille ondapi e a tutti
-
5 Ottobre 2009 alle 12:31 #68653ondapiPartecipante
menu bar per poter funzionare crea una tabella nel database di wp dove salva le proprie impostazioni, ma fa tutto da se al momento dell’installazione, basta solo settare i menu, non so se possa dipendere da particolari configurazioni di mysql (?), l’hai provato in locale? L’autore italiano tra l’altro, è sempre stato molto disponibile ad eventuali consigli vedi sito
per i permalink non saprei proprio aiutarti, io utilizzo quelli di defaut ?p=123 perché mi piacciono troppo invece degli scontati sei/qua/almeno/credi nel wiki c’è la guida ma penso dipenda dal tipo di server che ti ospita, se win è un po’ più dura non impossibile comunque
-
5 Ottobre 2009 alle 18:44 #68658adedipPartecipante
non cocordo sulla scelta di ?p=123 per i permalink..direi che è una regola piuttosto cattiva per quanto riguarda l’architettura dell’informazione credo anche per il SEO senza contare che se devi segnalare un link.. un conto è sapere cosa stai per leggere (/categoria/argomento-del-giorno) e un conto è leggere un numero.. inoltre se stai leggendo 10 link l’unico modo di capire quale link porta in quale pagina è di aprirli tutti… insomma..se queste motivazioni non sono abbastanza.. :S
per il menù a tendina..di recente ho adottato questo..e dopo mesi di ricerca mi sembra in assoluto il migliore e meno invasivo:
http://www.seoadsensethemes.com/wordpress-multi-level-drop-down-menu-using-jquery/
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.