- of a theme. By using
js_tag(), the relative path to the file is dynamically generated for each page.
queue_js_file helper is preferred to this one for most use cases. Normally, you should only continue to use this helper when you want to output an inline script in the body of the page.
- $file (string) – The name of the file, without .js extension.
- $version (mixed) – Version number. By default OMEKA_VERSION.
<?php echo js_tag('items'); ?>