anthonynformal
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by anthonynformal
-
-
i have a custom template where i would like to include a content block from another page and reuse this content block multiple times.
I tried using squarespace:query tag however in the json loaded i dont see any content.
for example the code would look similar to this
mainpage.region
<div> <squarespace:query collection="page-1"> <!-- get content from page 1 --> </squarespace:query> </div> <div> <squarespace:query collection="page-2"> <!-- get content from page 2 --> </squarespace:query> </div> <div> <squarespace:query collection="page-1"> <!-- get content from page 1 again --> </squarespace:query> </div>
How can i accomplish this?
loading content from other pages
in Customize with code
Posted
thanks, do you have some code examples? how would i do this?