Jump to content

Create Includes (Reusable code)

Recommended Posts

I have code that needs to appear on each subpage. But I don't want to have to modify the code for every page. Is there a way to use an include in Squarespace? eg a chunk of code that exists somewhere that is pulled into every page. When I need to edit the code, I only need to go into the code once to edit it.

Link to comment
  • Replies 3
  • Views 459
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...

I have a third tier of navigation that sits outside the header (it's in the product page). It contains anchor links to sections on the page (as it's a long page). I'm hoping these anchor links could be modified by someone who is not a developer (my friend, whose site it is, needs a WYSIWYG way to modify this menu). 

I've attached an image of this floating third tier of navigation (see gray bars at left).

The code block for this is sitting at the bottom of the page.

Screen Shot 2023-02-16 at 9.59.46 AM.png

Link to comment
16 hours ago, whirlgirlz said:

I have a third tier of navigation that sits outside the header (it's in the product page). It contains anchor links to sections on the page (as it's a long page). I'm hoping these anchor links could be modified by someone who is not a developer (my friend, whose site it is, needs a WYSIWYG way to modify this menu). 

I've attached an image of this floating third tier of navigation (see gray bars at left).

The code block for this is sitting at the bottom of the page.

Screen Shot 2023-02-16 at 9.59.46 AM.png

Hi,

What is your site url?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.