Add or change the section id attribute.
- 0.2.1
- 7.1
- Yes
-
Squarespace plan that supports JavaScript.
-
Add the following to Website > Pages > Website Tools > Code Injection > HEADER.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
-
Add code from file section blank attribute id add or change.html to Page Settings > Advanced > Page Header Code Injection for the page. Please see Per-page code injection.
-
For each section you want to add an id add a code block to the section. In the code add the following.
<x-twc-sbaiaoc>[enter id here replacing square brackets]</x-twc-sbaiaoc>
Please consider making a donation.
-
2023-10-25
- assume that if x-twc-sbaiaoc is used then the want to add or change the section id
- bumped version to 0.2.1
-
2023-01-26
- use code blocks to configure code
- bumped version to 0.2.0
-
2021-04-20
- initial version