Home › Forum › Problemi Vari con WP › Prima voce menu con link url # o con categoria
-
AutorePost
-
-
14 Febbraio 2018 alle 14:34 #31663GiowebPartecipante
Ciao, nella realizzazione di un menu è preferibile creare la prima voce del menu utilizzando un “Link personalizzato” con Url # in modo che non sia cliccabile oppure è meglio creare una categoria che anche se cliccata mostra tutte le pagine e gli articoli? Non so se mi sono spiegato bene. Tutte e due le vie ho già verificato che funzionano ma non ho ben capito quale è la migliore dal punto di vista di una corretta struttura. Ovviamente per mostrare le categorie nelle pagine ho installato un plugin.
Grazie
-
16 Febbraio 2018 alle 9:48 #122064TittiModeratore
Perché per mostrare le categorie hai installato un plugin? Le pagine delle categorie sono create dinamicamente da WP con un file del tema, genericamente category.php o archive.php.
Per il resto, cosa intendi per corretta struttura di un menu, cioè corretta in relazione a cosa? Ognuno nel menu ci mette ciò che preferisce in base alle sue esigenze, come in qualsiasi altra parte del sito.
-
16 Febbraio 2018 alle 11:05 #82441GiowebPartecipante
Buongiorno Titti, ho installato un plugin per evitare di aggiornare il file ogni qual volta aggiorno il tema, ma forse sbaglio… a il plugin gestisce anche i tag nelle pagine.
Per il menù, di solito creo una pagina es. “SERVIZI” e le sotto-pagine SERVIZIO 1/2/3
SERVIZI
– SERVIZIO 1
– SERVIZIO 2
– SERVIZIO 3
Solo che poi quella principale SERVIZI va riempita in qualche modo e diventa un inutile doppione delle sotto-pagine, non so se mi sono spiegato.
Recentemente ho scoperto che con un link personalizzato e # posso fare una voce di menu non cliccabile e questa mi sembra la via più comoda e giusta.
Ma poi ho pensato alla categoria. Se inserisco una categoria come prima voce di un menu se ci clicco su il risultato sono l’elenco delle sotto-pagine.
Per migliore intendo la via più utilizzata e quella che più può piacere ad un motore di ricerca.
Grazie
-
16 Febbraio 2018 alle 12:56 #122065TittiModeratore
Sଠè sbagliato modificare direttamente i file del tema, bisogna modificarli via Child Theme.
-
16 Febbraio 2018 alle 13:21 #122066GiowebPartecipante
ok grazie, utilizzerò il menu non cliccabile con # che mi sembra il più giusto. Ciao!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.