• Resolved jmbamba

    (@jmbamba)


    Hi there. I need to use simple_html_dom.php (see here) in a snippet.
    So I will have to write an include or require_once instruction.
    Where should I store my asset to include it easily?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    You could put in your wp-content directory and include it like this:

    require_once WP_CONTENT_DIR . '/simplehtmldom/simple_html_dom.php';

    Making sure that you replace simplehtmldom with whatever the name of the folder is.

    Thread Starter jmbamba

    (@jmbamba)

    Thanks alot! It dit work perfectly. Code Snippets Rocks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to add simple_html_parser’ is closed to new replies.