Back to Forum

Embed Gola Forum Threads

Add live, interactive football discussions directly to your website with our lightweight embeddable widgets.

Getting your embed snippet

Any public thread on Gola Forum can be embedded — no special setup required. There are two ways to get the snippet:

Option A — During thread creation

1

Create a new thread

Go to the Create Post page, fill in your thread details, and before clicking Post, toggle on the Make embeddable switch at the bottom of the form.

2

Copy the generated snippet

After posting, a modal appears with your HTML snippet. Use the Light / Dark toggle to match your site's colour scheme, then click Copy.

or

Option B — From an existing thread

1

Use the Options menu

Open any public thread, click the ⋯ Options button (top-right of the thread), and select Embed Thread. The snippet modal will open with the same Light / Dark picker and copy button.

How to embed on your site

Paste the snippet wherever you want the thread to appear. The widget.js script is dependency-free and uses IntersectionObserver to lazy-load the embed only when it scrolls near the viewport — zero impact on your page load.

index.html
<div class="gola-embed" data-thread="your-thread-slug" data-theme="light"></div>
<script src="https://www.golaforum.com/widget.js" async></script>

!Only threads in public communities can be embedded. Threads in private or restricted communities will display a locked placeholder instead of the discussion.

Customization

Theme

Set data-theme to match your site's colour scheme. Defaults to "light" if omitted.

data-theme="light"data-theme="dark"

Width

The widget fills its container width. Constrain the parent element to control the embed width.

<div style="max-width:600px">…</div>

Live updates

The embed polls for new replies every 15 seconds. New replies surface as a "↑ N new replies" card — visitors click to load them into the feed.

Authentication

Visitors can sign in to vote and reply directly from the embed. Auth opens in a small popup window and returns to the embed seamlessly.