This is the code for the universal navigation header bar on ITP/IMA/Low Res departmental websites. It lives on the ITP servers at https://www.itp.nyu.edu/branding/header/* and is injected onto each page. The base files can thus be modified on the server and the changes reflected in all associated websites.
- Make sure the the ITP/IMA Interactive Header is installed.
- Activate the plugin.
- If the website is in a WP multisite, the installation should happen at the network admin level
- Activate the plugin on the WP site
- Connect to server over FTP
- Download existing index.html
- Copy and paste this code into index.html header:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-54YGZP2VQT"></script>
<script defer src="https://www.itp.nyu.edu/branding/header/contentScript.js"></script>
<link rel="stylesheet" href="https://www.itp.nyu.edu/branding/header/style.css">
- Save file
- Upload file back to FTP server