Aggiungi la tua libreria documenti a Wix

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

Passaggio 1: Copia il codice embed

Nel tuo dashboard ospitato, apri Pubblica Libreria per trovare il tuo codice embed, quindi copialo. La maggior parte dei siti ha una singola libreria e la pagina Pubblica libreria è dove si trova il relativo codice embed. (Se hai creato più di una libreria, copia il codice per quella desiderata dalla schermata Libraries .) Incolla sempre il codice esatto dal tuo pannello di controllo, non l’esempio seguente:

<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.

Passaggio 2: Crea una pagina per la tua libreria

Inside the Wix editor, open Pages & Menu e clicca + Add Page. Pick a blank page and call it libreria di documenti. 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 Embed Code, and then choose Embed HTML.

Passaggio 4: Incolla il codice embed

Over in the settings panel, switch Choose what to embed to Codice. Drop your snippet into the box and hit Applica, 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

Clicca Pubblica. 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

Articoli correlati

Pronto a riunire i tuoi documenti in un'unica libreria con ricerca?

Configura la tua prima libreria in pochi minuti - come plugin WordPress, incorporata su qualsiasi sito o come libreria ospitata tutta tua.

Inizia gratis

14 giorni gratis Annulla quando vuoi