Top | Resources

Farmers’ Market Widget

(text, James Berry)

The Culinate Farmers‘ Market widget is a great way to help people find their nearest farmers’ market. When readers enter their zip code or city and state, they'll be taken to a page at Culinate showing them their nearby markets.

To add the widget to your website or blog, simply copy the three lines of html text below, and add them to an appropriate spot in your template. The widget is designed to work well in a range of typical column sizes from 160 pixels to 300 pixels wide.

[[formatted.
<script src='http://www.culinate.com/js/fmwidget.js'></script>
<a id='fmwidget' href='http://www.culinate.com'>Find your Farmers Market</a>
<script>fmWidget.create('fmwidget');</script>
]]

[[html.
<div class='right' style='width:160px;'>
<script src='/js/fmwidget.js'></script>
<a id='fmwidget' href='http://www.culinate.com'>Find your Farmers Market</a>
<script>fmWidget.create('fmwidget');</script>
</div>
]]

On your page the widget should look something like the version to the right. (Type in a zip or city name and give it a try right now.)

If you have any questions about the Farmers’ Market widget, please send mail to webmaster at culinate.com.