Add your document library to Wix

Wix lets you drop your hosted document library onto any page through its Einbettungscode element. Follow the steps below and you will have it live in a few minutes.

Step 1: Copy your embed code

In your hosted dashboard, open Publish Library to find your embed code, then copy it. Most sites have a single library, and the Publish Library page is where its embed code lives. (If you have built more than one library, copy the code for the one you want from the Libraries screen instead.) Always paste the exact code from your own dashboard, not the sample below:

<iframe src="https://your-library.documentlibrary.app/?dlp_embed=1" title="Document library" style="width:100%;border:0;height:600px;" loading="lazy"></iframe>
<script src="https://your-library.documentlibrary.app/?dlp_embed_resize=1" async></script>

The same snippet works no matter which platform you are building on.

Step 2: Create a page for your library

Inside the Wix editor, open Pages & Menu und klicke auf + Add Page. Pick a blank page and call it Dokumentenbibliothek. Wix will place it in your site menu for you.

Step 3: Add an Embed Code element

With the new page open, click Add (+) in the toolbar on the left, pick Einbettungscode, and then choose Embed HTML.

Step 4: Paste your embed code

Over in the settings panel, switch Choose what to embed to Code. Drop your snippet into the box and hit Anwenden, and the library will render inside the element.

Pasting the document library embed code into the Wix Embed Code element

Step 5: Resize the box to fit your library

Do not skip this part. Grab the element’s edges and pull it out to full width, then stretch it tall enough to show all your documents (roughly 700px suits six documents to begin with). A box that is too short forces the library to scroll inside itself, and one that is too narrow squashes the table down to a single column.

Step 6: Publish and view your library

Klicken Publish. Bear in mind that the editor’s Preview will not run embeds, so the library only appears on the published version of your site. Open your published page and you will find the document library there, ready for visitors to search it, filter by category, and download or preview any document.

A document library displayed on a published Wix page

Verwandte Artikel

Bereit, Ihre Dokumente in einer durchsuchbaren Bibliothek zu bündeln?

Richten Sie Ihre erste Bibliothek in wenigen Minuten ein - als WordPress-Plugin, eingebettet auf einer beliebigen Website oder als eigene gehostete Bibliothek.

Kostenlos starten

14 Tage kostenlos Jederzeit kündbar