-
AuthorPosts
-
April 1, 2018 at 12:03 pm #935754
Hi Kriesi
I would like to change three things at the search results page (see link below):
1. I would like to completely remove the upper part – the one shows the search field again with this text above it:
“Ny søgning
If you are not happy with the results below please do another search”
How do I remove that?2. There is a spelling mistake in this danish sentence: 8 SØGE RESULTATER FOR PORTUGUES
I should be ‘SØGERESULTATER’ in spelled in one word. How do I change that?
3. How do I remove the date and the number of comments showed below each search result?Thank you Marie
April 2, 2018 at 8:33 am #935958Hey friefodspor,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.search.search-results .search_form_field { display: none; } .html_elegant-blog #top .template-search .post-entry .post-meta-infos { display: none; }
If you need further assistance please let us know.
Best regards,
VictoriaApril 3, 2018 at 8:44 pm #936782Thanks. That removed the upper part just like I wanted to.
What about the grammar mistake? How to change the text from ‘Søge resultater’ to ‘Søgeresultater’?April 4, 2018 at 1:04 pm #937113Hi friefodspor,
You can open the language files, find this text and edit it there.
Best regards,
VictoriaApril 4, 2018 at 10:39 pm #937386I will do that. But where in wp is that file located?
April 5, 2018 at 12:27 pm #937667Hi friefodspor,
Language files can be found here:
/wp-content/themes/enfold/langHere is a thread for you to consider
https://kriesi.at/support/topic/enfold-theme-languages/If you need further assistance please let us know.
Best regards,
VictoriaApril 5, 2018 at 1:23 pm #937716Hi I get this message when I try the link? (I have posted the link as I suppose I am going to use it in the private area…
Not Found
The requested URL /wp-admin/themes/enfold/lang was not found on this server.April 6, 2018 at 6:05 am #938016Hi friefodspor,
These files need to be accessed via FTP, cPanel or poedit plugin.
Best regards,
VictoriaApril 6, 2018 at 5:25 pm #938313Great. I got POEditor now and activated it. The file I want to change (Danish) could that be the one on the list named ‘da_DK.po’? If yes, how to I actually enter the file and edit it? I am under Tools – POEditor. The only options I have here is the create a new project. Is that what I should do? I am not able til open the file by right clicking and the is no buttom to tell me what to do?
April 8, 2018 at 5:04 pm #938839Hi,
I have not used POEditor before, but I found this video tutorial that seems to show how step by step: https://youtu.be/otS7-JqV74wBest regards,
MikeApril 8, 2018 at 10:24 pm #938896It is not that I really want this POedit. If there is an easier way to change the text, please let me know. From the viedo, POEdit seems to be a lot of work in order to change just one word that is spelled wrong?
April 10, 2018 at 12:08 am #939447Hi,
Have you tried to use Loco Translate or String Replace?
Both of those plugins are really easy for usage!Best regards,
BasilisApril 16, 2018 at 8:37 pm #942750Thanks Basilis. Now I installed Loco Translate. Can you guide me what to do in this interface? The only thing I want to change is the translation of the word ‘search results’ fra English to Danish.
Initializing new translations in “loco-translate”
374 strings found in loco-translate.pot1. Choose a language: WordPress language:
Custom language:
2. Choose a location: What’s this?
Custom:languages/loco/plugins/loco-translate-<locale>.po
System:
languages/plugins/loco-translate-<locale>.po
Author:
plugins/loco-translate/languages/loco-translate-<locale>.po
Start translating
April 18, 2018 at 7:37 am #943469Hi,
Thank you for the update.
Go to the Loco Translate > Themes panel and then look for the Danish language. In the “Filter Translations” field, search for the string “search results’. It will display a list of strings. Just look for the exact text and provide a translation. After the translation, click the “Sync” to regenerate the .mo language file.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.