Añade tu biblioteca de documentos 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.

Paso 1: Copie su código de inserción

En su panel alojado, abra Publicar biblioteca para encontrar su código de inserción y copiarlo. La mayoría de los sitios tienen una sola biblioteca, y la página Publicar biblioteca es donde vive su código de inserción. (Si ha creado más de una biblioteca, copie el código de la que desee desde la pantalla Libraries en su lugar.) Pegue siempre el código exacto de su propio panel, no el ejemplo a continuación:

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

Paso 2: Cree una página para su biblioteca

Inside the Wix editor, open Pages & Menu and click + Add Page. Pick a blank page and call it biblioteca de documentos. 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.

Paso 4: Pega tu código de inserción

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

Paso 6: Publica y visualiza tu biblioteca

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

Artículos relacionados

¿Listo para reunir tus documentos en una biblioteca con búsqueda?

Configura tu primera biblioteca en minutos: como plugin de WordPress, insertada en cualquier sitio, o como una biblioteca alojada propia.

Empieza gratis

Prueba gratuita 14 días Cancela cuando quieras