Hi again !
I would like to custom the list of pages on the search result page. It displays all pages, and I would like to hide some of them.
Also, if that is possible, I would like to remove categories also on this search page, and replace it by my articles.
Is that possible ?
Thank you !
Comments
I believe that this is possible with some plugins. Maybe this https://wordpress.org/plugins/search-exclude/ ?
With kind regards.
If it's too complicated, just tell me which php file I should modify to delete everything.
Thanks
Sure, go to: loop.php and remove line ~29
get_template_part( 'no-content');
We probably should change this page in future to give some more useful info :-)
With kind regards.
I just have a small problem with search bar : I cannot translate it : "Search..." I have created a french .po file and I could translate everything, but this stays, and I don't know where to go now.
Thanks !
Search …
- it is what you want to translate :-)With kind regards.
Now if you will add translation for string I gave you, you will get what you need :-)
With kind regards.
http://apollo13.eu/docs/rife/#!/translating_theme
I allready found it in the Po file, but despite I translated it, it still remains (like I told you, I could translate everything, but this).
See the attachment.
I have just checked and I translated it without a problem.
Maybe you have some plugin that blocks it. If you like I can take a look, but I will need FTP access. Send it by Private message if you are interested.
With kind regards.
Issue was simple - after you updated .po file, you have uploaded only it, without new version of .mo file. That is why you couldn't see new translated texts.
So next time upload both .mo and .po files:-)
With kind regards.