You can customize your site by adding links, scripts, gadgets, app content, and other features.
Customize your site
You can link to files or different parts of your site so that people can easily find information.
Link to files on your site
- On a computer, open a site in classic Google Sites.
- In the top right, click More actions
.
- Click Manage Site
Attachments.
- Next to the file, right-click on View or Download.
- Select Copy Shortcut or Copy Link Address:
- View: Choose this option if you want people to see the file in a new window.
- Download: Choose this option if you want people to download a copy of the file on their computer.
- Go to the page where you want to put the link and click Edit
.
- Select the text you want to link and click Link
Web address.
- Under "Link to this URL," paste the copied link and click OK
Save.
Link to a section on your site
If you want to link to a part of your page that isn't a header, you can add anchor links to your page.
- On a computer, open a site in classic Google Sites.
- Go to the page with the content you want to link to and click Edit
<HTML>.
- Add an anchor link to your text. For example: <a name="AnchorName"> This is my text </a>.
- Tip: Replace "AnchorName" with a name for the link.
- Click Update
Save.
To see if your anchor link works, add # and the name of the text link to the end of your page's URL and press Enter.
- For example, https://sites.google.com/site/mysite#AnchorName.
Add gadgets to your site
You can add a calendar, calculator, newsfeed, or other gadgets to your site.
- On a computer, open a site in classic Google Sites.
- Click the page where you want to add a gadget.
- At the top right, click Edit
.
- Click where you want to insert the file.
- Click Insert
under "Gadgets," click More gadgets.
- On the left, pick a gadget source.
- Scroll through the list of gadgets and click the ones you want to use.
- At the top right, click Save.
Note: Gadgets don’t count toward your storage limits.
Add a comments section
You can let users with editing permissions comment on your site.
- On a computer, open a site in classic Google Sites.
- Go to the page where you want to add comments.
- Click More options
Page settings.
- Click Allow comments. The comments box appears below the page.
- At the top right, click Save.
- On a computer, open a site in classic Google Sites.
- Click More actions
Manage site.
- Under "Enable and configure search options," click Configure search.
- Click Enable Search.
- Under "Search Providers," choose one or more options.
- Click Ok.
- At the top, click Save.
Use scripts
You can use Google Apps Scripts to do tasks automatically for your visitors. For example, you can:
- Send emails and calendar invites.
- Create content based on your users.
- Design your own web apps.
Step 1: Create a script
Note: You can’t import Apps Scripts, but you can copy and paste the script into a new file on your site.
- On a computer, open a site in classic Google Sites.
- Click More actions
Manage site.
- Click Apps Scripts.
- To create a script in the editor, click Add new script.
- To edit a script, click the script in the list.
- Edit or paste the script.
- Optional: To test your script, go to the toolbar and click Play
. If you’re asked for permission, click Allow.
- In the "File" menu, click Save or Save all.
Step 2: Add your script
You can add your script to a page as a gadget or a link.
Option 1: Add as a gadget
Run your script for someone who opens your page.
Note: The gadget can access and edit any content your Google Account can.
- On a computer, open a site in classic Google Sites.
- Go to the page you want to edit.
- Click Edit
.
- Click where you want to insert the script.
- Click Insert
Apps Script.
- Follow the instructions in the window.
Option 2: Add as a link
Run your script when someone signed in to their Google Account clicks a link.
- On a computer, open a site in classic Google Sites.
- Go to the page you want to edit.
- Click Edit
.
- Select the text you want to link.
- Click Link
.
- Click Apps Script
click the script you want to link to.
- Click OK.
- Click Save.