How to create a video page or gallery in WordPress

Updated: November 10, 2026

A page that gathers your videos (by topic, course or season) helps visitors watch more than one and improves your rankings. With WordPress’s block editor and Dembed iframes you can build it in minutes, with no plugins and no heavy videos on your hosting.

Step by step

  1. 1Create a new page in WordPress (for example “Videos”).
  2. 2Add a “Custom HTML” block.
  3. 3Paste the gallery code below, replacing the IDs with your videos’ (copy them from each video’s “Embed” button on Dembed).
  4. 4Preview on a phone and publish.

The gallery code

The grid fits as many columns as there’s room for (one on phones, two or three on computers). loading="lazy" makes each player load only when the visitor gets close.

<div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px">
  <figure style="margin:0">
    <iframe src="https://dembed.cc/embed/v_ID_1" title="Video 1" style="width:100%;aspect-ratio:16/9;border:0;border-radius:12px" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen loading="lazy"></iframe>
    <figcaption>Video 1 title</figcaption>
  </figure>
  <figure style="margin:0">
    <iframe src="https://dembed.cc/embed/v_ID_2" title="Video 2" style="width:100%;aspect-ratio:16/9;border:0;border-radius:12px" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen loading="lazy"></iframe>
    <figcaption>Video 2 title</figcaption>
  </figure>
</div>

Even better: one page per video

  • For SEO, each important video deserves its own post with text, and the gallery links to them.
  • Group by category and add a title and description to each section.
  • If you have lots of videos, split the gallery across several pages.

Frequently asked questions

No. WordPress’s “Custom HTML” block is enough.

You might also like

Host your videos for free and earn from every view

Create your account in under a minute, upload your first video and start earning from day one.