Visualizzazione 2 filoni di risposte
Visualizzazione 2 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Plugin e temi di WP › menu e template realizzato da zero
Buona sera, sono nuovo del forum, ho utilizzato in passato wordpress, ora vorrei dedicarmici di più imparando anche a realizzare temi da zero.
Sono quindi alle prese con il mio primo template e devo dire che fin ora son abbastanza soddisfatto.
Ho un problema col menù di navigazione.
In pratica sul front end visualizzo le voci dei titoli delle varie pagine create e non quelle che ho scelto io nel menù in back end.
Per capirci la home page è collegata ad una pagina che ho chiamato index, nel menù vorrei chiamarla panoramica e l’ho settata in questo modo, ma nel front end esce sempre la voce index.
Ho provato a usare uno dei template predefiniti e il problema non esiste.
Quindi sto sbagliando io qualcosa sicuramente.
ho utilizzato questo codice per il menù:
<?php wp_page_menu(); ?>
da quel che ho trovato in rete mi sembra corretto, credo che porò per far lavorare tutto bene debba integrare con del codice nel function.php che asolutamente non conosco.
Se qualcuno fosse cosଠgentile da aiutarmi anche solo indirizzandomi a della letteratura on line.
Grazie in anticipo
Prova a utilizzare wp_nav_menu e a creare un menù personalizzato.
Grazie mille sei stato gentilissimo ed efficace, con la funzione da te menzionata ha funzionato subito.
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0