<script> tags as the content is stored in the database to avoid possible XSS security issues.
If you have a script that needs to be embedded on one or more pages, and it seems like it fits this use case, reach out to Web Communication via weekly open labs or on the WSU Web Slack to discuss possibilities.
$when accessing jQuery directly. By default, WordPress puts jQuery in no conflict model.
- Use the classes attached to
<body>to determine when an entire script should load. Scripts that run on every page unintentionally can cause issues or slow down sites.
See the guidelines on building a custom theme at WSU and reach out to Web Communication if this seems like the right option for you. Examples of existing child themes can be found at the WSU GitHub organization.