Add a live event widget to your website in under 5 minutes. No coding experience required.
Enter your organization ID to preview the widget and generate your embed code.
Copy this code and paste it into your website:
Log in to your Serve.Love dashboard
Look at your browser's address bar. Your URL will look like:
https://app.serve.love/dashboard/339/home
The number after /dashboard/ is your organization ID
Only use your own organization ID. Using another organization's ID will display their events, not yours.
Add these two lines to your website where you want events to appear:
<!-- Serve.Love Event Widget -->
<div class="serve-love-events" data-org-id="YOUR_ORG_ID"></div>
<script src="https://api.serve.love/site-plugins/volunteer-events.js"></script>
Replace YOUR_ORG_ID with your actual organization ID number.
Customize the widget with these optional attributes:
| Attribute | Description | Default |
|---|---|---|
data-org-id |
Your organization ID (required) | — |
data-limit |
Number of events to show (max 50) | 10 |
data-postal-code |
Filter events near a ZIP code | All locations |
data-miles |
Search radius in miles | 25 |
data-title |
Custom heading text | "Upcoming Events!" |
data-show-logo |
Show Serve.Love logo (true/false) | true |
data-logo-url |
Use your own logo image URL | Serve.Love logo |
<div class="serve-love-events"
data-org-id="YOUR_ORG_ID"
data-limit="5"
data-title="Volunteer With Us"
data-postal-code="74115"
data-miles="20">
</div>
<script src="https://api.serve.love/site-plugins/volunteer-events.js"></script>
Edit your page, add a Custom HTML block, and paste the embed code.
Add a Code Block to your page and paste the embed code.
Use the Embed HTML element from the Add menu and paste the embed code.
Look for "HTML embed," "Custom code," or "Raw HTML" options in your website builder. The widget works anywhere you can add custom HTML.
data-postal-code, verify your events are within the search radiusContact us at support@serve.love