Custom scripts and styles
The Scripts tab holds code that runs on every MyLink page. You can also set these per page in the editor’s Custom Scripts & Styles box.
Fields
- Analytics — a tracking snippet, such as Google Tag Manager or Google Analytics.
- Header Script — added inside
<head>. - After Body — added right after the opening
<body>tag. - Footer Script — added before the closing
</body>. - Custom CSS — applied to every page.
Dequeue other plugins’ assets
An optional setting strips other plugins’ CSS and JavaScript from MyLink pages, so a page loads only WP MyLinks‘ own small assets.
Script fields are kept as raw code only for users allowed to post unfiltered HTML, so add tracking snippets while signed in as an administrator.