how to properly include or get file contents in a wordpress theme
There are 2 problems: include( get_template_directory() . ‘/audiounity/result.php’ ); The result of this is likely: /srv/www/example.com/public_html/wp-content/themes/audiounity/audiounity/result.php The first line of the Codex entry for that function is: Retrieves the absolute path to the directory of the current theme. If it’s a child theme, then you need to use get_stylesheet_directory. *_template_* functions always refer to the … Read more