Salve a tutti,
ho provato il comando wp_dropdown_categories, secondo le modalità indicate dal codex di wp, per inserire una dropdown list con alcune categorie. Funziona tutto correttamente ma c’è un problema… non funziona con i permalink!
mi spiego meglio. Una volta selezionata la categoria dalla lista e cliccato sul pulsante, la pagina si ricarica con l’url nome_sito/?cat=numero? il che andrebbe bene se non utilizzassi i permalink sul mio sito, ma dato che li utilizzo l’operazione non fa altro che reinderizzare il contenuto della ricerca sulla homepage.
Per farla breve vorrei realizzare una dropdown list come quella implementata in questo sito
http://www.ilgallo.eu/
dove nella parte alta della home c’è una lista dei comuni e vengono usati i permalink.
anche l’htaccess sembra apposto:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
qualche suggerimento?