Email: info@wpitaly.it
Grazie ancora elmanisero.
Ma il problema non è la possibilità di scegliere un widget per ciascun sidebar, perchè questo sono riuscito a farlo con il codice inserito.
Il problema è visualizzare il menu con le relazioni parent-child, che devono essere mantenute cosଠcome impostate nella gerarchia del menu.
Grazie elmanisero, ma con il widget menu personalizzato, non ho una gestione flessibile per l’applicazione di un menu diverso per ciascuna pagina. Perchè vorrebbe dire creare una pagina-template per ciascuna pagina.
Invece, con questo codice, posso selezionare il menu da applicare alla sidebar di ciascuna pagina, utilizzando anche un solo template-pagina.
Quello che vorrei evitare è proprio mettere mano al codice php che genera il menu, in quanto la mia esperienza-php è scarsa.
Anch’io sostituirei la pagina ‘storia e mission’ con ‘l’azienda’, il problema è che la persona per cui sto realizzando il sito ha espresso questa necessità …
non riesco a capire il funzioanmento di current_page_ancestor.
La classe non dovrebbe essere:
.current_page_ancestor .sf-menu > li.current-menu-item > a ??
Si. Per ogni pagina, ho messo come genitore la pagina collaboratori
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0