Honey Facts Widget
Add beautiful, rotating honey facts to your blog, recipe site, or educational page. Two lines of code — no frameworks, no accounts, no fees.
Live Preview
Toggle between themes to see the widget in action.
Embed Code
Copy and paste into your website's HTML. That's it — no API keys, no accounts.
Light Theme (Default)
<div id="honey-facts-widget"></div>
<script src="https://rawhoneyguide.com/widget/honey-facts.js"></script>Dark Theme
<div id="honey-facts-widget" data-theme="dark"></div>
<script src="https://rawhoneyguide.com/widget/honey-facts.js"></script>All Options
<div id="honey-facts-widget"
data-theme="light"
data-auto-rotate="true"
data-interval="10000">
</div>
<script src="https://rawhoneyguide.com/widget/honey-facts.js"></script>Configuration Options
| Attribute | Values | Default | Description |
|---|---|---|---|
| data-theme | "light" | "dark" | "light" | Color theme of the widget |
| data-auto-rotate | "true" | "false" | "true" | Auto-cycle through facts |
| data-interval | Milliseconds | 8000 | Time between auto-rotations (ms) |
Why Add the Widget to Your Site?
Boost Engagement
Interactive content keeps visitors engaged. Rotating facts give readers a reason to stay and explore.
Zero Dependencies
Pure vanilla JavaScript under 8KB. No jQuery, no React, no external CSS files to load.
Works Everywhere
WordPress, Squarespace, Wix, Ghost, Shopify, Webflow — any platform that supports custom HTML.
Light & Dark Themes
Matches your site design. Choose light for white backgrounds or dark for dark-mode layouts.
Platform Setup Guides
WordPress
Edit a post or page, add a "Custom HTML" block, paste the embed code.
Squarespace
Add a "Code Block" in the page editor, paste the embed code, save.
Wix
Add an "Embed HTML" element from the Add menu, paste the embed code.
Ghost
Add an "HTML" card in the editor, paste the embed code.
Shopify
Edit the page template, add a "Custom Liquid" section, paste the embed code.
Static HTML
Paste both lines directly into your HTML file where you want the widget.
Frequently Asked Questions
Is the honey facts widget free to use?
Does the widget slow down my website?
Can I customize the widget appearance?
Does the widget work on WordPress, Squarespace, and Wix?
How often are the honey facts updated?
Can I embed multiple widgets on the same page?
Related Guides
Honey Types Explained
Raw, filtered, pasteurized, creamed, and more.
Read GuideRaw Honey vs Regular
Processing, nutrition, and how to choose.
Read GuideQuality & Grading
Identify quality honey and spot fakes.
Read GuideRelated Articles
Raw Honey Benefits: 12 Science-Backed Reasons to Make the Switch
12 science-backed raw honey benefits: immune support, wound healing, gut health, better sleep, and more. Daily usage guide.
Read ArticleHoney Nutrition Facts: Calories, Sugar, Vitamins, and Minerals Explained
Honey nutrition per tablespoon: 64 calories, 17g sugar, plus vitamins, minerals, antioxidants, and enzymes. Full breakdown.
Read ArticleTypes of Honey: A Complete Guide to 20+ Varieties
Guide to 20+ honey varieties — clover, manuka, buckwheat, wildflower, and more. How floral source affects flavor and use.
Read Article