1)
How can I customise the heading “Nothing found” and the text “Sorry, but nothing matched your search terms. Please try again with some different keywords.” on a Vendor page that happens to have to active listing at the time being?
I want to write a more user friendly message such as “Currently there are no active listings for this vendor”
I am afraid that if I try to use LocoTranslate it might also change the text from other pages where I do not want it changed.
2)
If I wanted to temporarily ‘disable’ any Vendor (such as the one above with no listings) to not show in the list of Vendors, without deleting them, how would I go about that?
As I know (Andrii, correct me), this message displayed when no listings found, when you search, and when there is no listings for a specified vendor, it using the same string, so if you change this message, this new text will be displayed in that situations.
Go to Wordpress dashboard->Vendors hovering over the vendor name, click on fast edit, search the “status” option, and select “draft”. It will place that vendor profile to draft satus, and became invisible.
Important! Some plugins (optimizer) will delete your posts or vendors after X days if that in “draft” status, so check it, before you doing this.
Re no. 1 - is there any way how to customise this message only when it is displayed on a Vendor page (see example screenshot above?). Perhaps through some snippet?
It is quite a “strange” (non-user friendly) message to display on a Vendor’s page. Instead, I would like to display something on the lines of: “Currenly this vendor has no active listings”.
When a user is using the search or filter function I still want to display the original message “nothing found etc etc”
Can anyone help me achieve this please? Thank you!
.hp_vendor-template-default .hp-no-results p {font-size: 0;}
.hp_vendor-template-default .hp-no-results p:after{content:'Write your very nice message here, and change the font size.'; font-size: 22px; font-weight: bold;}
Insert this css from the front-end customizer, additional css field, and check it is working.