Visualizzazione 2 filoni di risposte
Visualizzazione 2 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Problema “Ricerca nel sito”
Salve *;
Ho un problema col modulo di Ricerca di Worpress
La ricerca dei post viene effettuata correttamente e i risultati visualizzati nella home.
Il problema è che nella mia home c’è un’immagine che occupa tutta la schermata del monitor, quindi per vedere i risulatati della ricerca è necessario che l’utente scenda con la barra laterale.
Vorrei quindi modificare la funzione di “Ricerca Locale” in maniera tale che quando mi visualizzi i risultati, venga fatto un redirect non alla home, bensଠad un segnalibro al primo articolo che si trova nella home.
Quali file devo modificare?
Grazie e Ciao
Anche io sarei interessato a modificare il form di ricerca. Non sono ancora riuscito a trovare nulla. In quale file risiedono le funzioni che gestiscono la ricerca?
@cosimo se non ricordo male i risultati vengono impaginati utilizzando il file search.php che alla fine sarebbe un template per la ricerca, se questo manca i risultati dovrebbero a scalare essere visualizzati mell’index, vedi gerarchia dei file nel wiki e modifica il search.php
@cinosura non ti conviene fare delle modifiche alla funzione ricerca è contropromettente per i futuri aggiornamenti di wp, semmai puoi utilizzare l’indicizzazione di google suo tuo blog, in pratica come succede al blog di wordpress-it
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0