Wie der Titel des Themas schon sagt, möchte ich meine PHP-Skripts über [includes] in Wordpress-Seiten ausführen. Dazu habe ich in die 'functions.php' entsprechend benötigten Code geschrieben.
Leider zeigst du deinen PHP Code nicht
includes get_template_directory() . '/lib/dein_script.php';
hier liegt das Script im Verzeichnis /lib/ von dem Theme.
Du könntest dir die Fehler im System ansehen:
define('WP_DEBUG', true); //enable the reporting of notices during development - E_ALL
define('WP_DEBUG_DISPLAY', false); //use the globally configured setting for display_errors and not force errors to be displayed
define('WP_DEBUG_LOG', true); //error logging to wp-content/debug.log
// define('SCRIPT_DEBUG', true); //loads the development (non-minified) versions of all scripts and CSS and disables compression and concatenation,
// define('E_DEPRECATED', true); //E_ALL & ~E_DEPRECATED & ~