Class ‘simple_html_dom’ not found on Wordress

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

require_once(TEMPLATEPATH.'/simple_html_dom.php');

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.
Thanks

Read more here: Class ‘simple_html_dom’ not found on Wordress

Leave a Reply

Your email address will not be published. Required fields are marked *