Skip to content

Instantly share code, notes, and snippets.

@imsickofmaps
Created May 22, 2013 14:14
Show Gist options
  • Save imsickofmaps/5627838 to your computer and use it in GitHub Desktop.
Save imsickofmaps/5627838 to your computer and use it in GitHub Desktop.
Place this file in perch/templates/content/ then put a `<?php perch_content('Testimonials') ?>` snippet in the page that you want, refresh page, then choose Testimonial as the type in the admin area.
<h3><perch:content id="company_name" type="text" label="Company Name" html="false" required="true" title="true" /></h3>
<perch:content id="testimonial" type="textarea" label="Testimonial" textile="true" editor="markitup" imagewidth="640" imageheight="480" />
<strong><perch:content id="name" type="text" label="Name" html="false" required="true" /></strong><br>
<strong><perch:content id="job_role" type="text" label="Job Role" html="false" required="true" /></strong>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment