I’m trying to include simple html dom parser into the search.php on WordPress,
I added the file simple_html_dom.php in the theme folder and include it on functions.php like this
this instruction return 1 when using a var_dump
When execution the search i got this error
Class 'simple_html_dom' not found
I will be grateful if someone help me to fix this error.
Read more here: Class ‘simple_html_dom’ not found on Wordress