Thanks a lot for your feedback - ok, I thought bout that - so just like that? I put the code into the header of file "html_header.php" ?!?
<?php require($template->get_template_dir('jscript_plugin_structured_data.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/jscript_plugin_structured_data.php'); ?>
or should I use something like this?
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jscript_plugin_structured_data.php' ?>" type="text/javascript"></script>
And if I do it, the minifier does not fetch it after because it is already used it the head-section...am I right with this?
Once again, thanks a lot for your answere, very helpful for me :)
Bookmarks