Last active
November 1, 2018 10:36
-
-
Save antoniocosentino/bae6215574280fce72260010e8e354b9 to your computer and use it in GitHub Desktop.
Snippets to embed Styla Areas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- embed a single area --> | |
<div id="stylaMagazine" data-area="fashion"></div> | |
<script src="https://client-scripts.styla.com/scripts/clients/your-brand.js" async="" type="text/javascript" xml="space"></script> | |
<!-- end --> | |
<!-- embed multiple areas in the same page --> | |
<!-- this goes in <head> --> | |
<script src="http://client-scripts.styla.com/scripts/clients/your-brand.js" async type="text/javascript"></script> | |
<!-- --> | |
<!-- place these wherever you want in <body> --> | |
<div data-styla-content="areaA"></div> | |
<div data-styla-content="areaB"></div> | |
<!-- --> | |
<!-- end --> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment