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


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: