Learn how to add JobGara widgets to your website
Once you've created your JobGara widget, embedding it on your website is straightforward. This guide will walk you through the process for different platforms and provide troubleshooting tips.
Every JobGara widget comes with a unique embed code that looks like this:
<div id="jobgara-widget-widget_68ffa609eddf6_1761584649"></div> <script src="https://jobgara.com/widget.js?key=widget_68ffa609eddf6_1761584649"></script>
widget_68ffa609eddf6_1761584649. Replace this with your actual widget key when embedding.
<div id="jobgara-widget-[WIDGET_KEY]"></div>
This creates a container where your widget will be displayed. The ID is unique to your widget.
<script src="https://jobgara.com/widget.js?key=[WIDGET_KEY]"></script>
This loads the widget script and renders your widget in the container above.
From your widget management panel:
Image Placeholder: Widget management panel showing "Get Embed Code" button
Recommended size: 800x300pxDecide where on your website you want the widget to appear:
The method depends on your website platform. See platform-specific instructions below.
Image Placeholder: WordPress Custom HTML block with embed code
Recommended size: 700x400px<div> or <section>)<!-- Example placement in HTML -->
<section class="jobs-section">
<h2>Current Job Openings</h2>
<!-- JobGara Widget -->
<div id="jobgara-widget-widget_68ffa609eddf6_1761584649"></div>
<script src="https://jobgara.com/widget.js?key=widget_68ffa609eddf6_1761584649"></script>
<!-- End JobGara Widget -->
</section>
page.liquid)After embedding your widget, check that it's working correctly:
You can add custom CSS to style the widget container:
<style>
#jobgara-widget-widget_68ffa609eddf6_1761584649 {
max-width: 800px;
margin: 20px auto;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
</style>
<div id="jobgara-widget-widget_68ffa609eddf6_1761584649"></div>
<script src="https://jobgara.com/widget.js?key=widget_68ffa609eddf6_1761584649"></script>
You can embed multiple widgets on the same page:
<!-- Widget 1: Featured Jobs --> <div id="jobgara-widget-widget_68ffa609eddf6_1761584649"></div> <script src="https://jobgara.com/widget.js?key=widget_68ffa609eddf6_1761584649"></script> <!-- Widget 2: All Jobs --> <div id="jobgara-widget-widget_another_key_123456789"></div> <script src="https://jobgara.com/widget.js?key=widget_another_key_123456789"></script>