Skip to content

Instantly share code, notes, and snippets.

@ctbarber
Last active April 4, 2017 17:07
Show Gist options
  • Save ctbarber/950c630778a59741f1a24344263878a2 to your computer and use it in GitHub Desktop.
Save ctbarber/950c630778a59741f1a24344263878a2 to your computer and use it in GitHub Desktop.

Code Samples From OUTC17

Template code samples

  1. interior.tmpl
  2. interior.xsl

Snippet code samples

Accordion

Align Center

Badge Box with Icon and Text

Block Grid

Callout

Callout - Secondary - informational, but for short periods of time

Callout - Warning - call attention to a short term closing, an update, system changes, etc.

Event Boxes

FAQs

Figure

Flex Video

This code is marked as deprecated from Foundation in 6.3 we just haven't updated the class names yet in the snippet.

Half and Half Columns - split a container in half

Highlight Box

This was implemented before the release of Foundation 6.3 which introduced Cards, so we may transition to the Foundation code soon.

Image Navigation

Media Object

We need to update this to allow for user to pick if they want to stack on small. Right now, it does it all the time.

News Boxes

News boxes has an extra XSL check to see if the snippet was used, then we insert some extra JavaScript to call out to the WP API.

Page Heading

Tabs

@ctbarber
Copy link
Author

ctbarber commented Apr 4, 2017

added in links to the Block Grid code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment