Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HTML in custom Nothing Found Message #6053

Closed
besweeet opened this issue Nov 2, 2018 · 3 comments
Closed

Support HTML in custom Nothing Found Message #6053

besweeet opened this issue Nov 2, 2018 · 3 comments
Labels
request/enhancement Indicates an Enhancement Request for an existing feature.
Milestone

Comments

@besweeet
Copy link

besweeet commented Nov 2, 2018

Created a custom search results archive. HTML doesn't appear to be supported when filling out the Nothing Found Message box. Would be great if it did.

@bainternet bainternet added the request/enhancement Indicates an Enhancement Request for an existing feature. label Nov 4, 2018
@shilo-ey shilo-ey added this to the Pro 2.4.0 milestone Jan 7, 2019
@Joe-Bloggs
Copy link

Any update on this? HTML still not supported in the Nothing Found Message.

@lacikawiz
Copy link

lacikawiz commented Apr 1, 2020

For those who got here from a Google search:

HTML escaping for Nothing Found is on (active) by default. To turn it off you need to add the following line to your functions.php:

add_filter( 'elementor_pro/theme_builder/archive/escape_nothing_found_message', '__return_false' );

@besweeet
Copy link
Author

besweeet commented May 11, 2020

I see that this feature was added to the 2.4.0 beta release 4. I'm using the latest version of Elementor + Elementor Pro yet HTML tags still aren't working correctly.

Sample:
<p>No results found.</p>

Result: Actual paragraph tags being displayed.

lacikawiz's fix above worked, however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request/enhancement Indicates an Enhancement Request for an existing feature.
Projects
None yet
Development

No branches or pull requests

5 participants