Wordpress Hack #5: Visualizzazione delle categorie in un menu a discesa Wordpress Hack # 5: Viewing categories in a drop-down menu

Eccoci arrivati alla metà delle nostre guide per il modding perfetto di Wordpress, oggi vi mostro uno di quelli che ho trovato più interessante, ovvero come creare un menù a discesa con le categorie in Javascript, non è molto difficile, all'opera! We arrived half of our guides for modding perfect Wordpress, today there a monster of what I found most interesting, or how to create a drop-down menu with categories in Javascript, is not very difficult, at last!
Visualizzazione delle categorie in un menu a discesa Viewing categories in a drop-down menu
Per prima cosa, è necessario aggiungere questo codice dovunque vogliate far apparire il menù, consiglio la testata, ovvero il file header.php, dove finisce la navigazione First, you must add this code wherever you want to bring up the menu, the council head, or the file header.php, which ends navigation
- <?php wp_list_categories('sort_column=name&sort_order= <? php wp_list_categories ( 'sort_column = name & sort_order =
- asc&style=list&children=true&hierarchical=true&title_li=0'); asc & style = list & children = true & hierarchical = true & title_li = 0 '); ... ...
Leggi il seguito » Read the following "
Invia questo articolo via email Send this article via email 











