Descripción
SMiLE Basic Web is a powerful, modular, and user-friendly WordPress plugin that integrates multiple essential tools into a single solution. It includes a flexible Contact Form system with real-time email preview via the Customizer, a dynamic Sitemap Generator supporting various formats, and a comprehensive Cookie Consent Manager fully compliant with international data protection regulations such as GDPR and ePrivacy. With lightweight, accessible, and brand-adaptable interfaces, SMiLE Basic Web empowers site owners to ensure transparency, control, and legal compliance while maintaining a seamless user experience.
Características principales:
- Formulario de contacto personalizable con configuración SMTP avanzada.
- Support for multiple custom fields, including new types: single/multi-select, user email, and textarea.
- Reordenación de campos con interfaz de arrastrar y soltar.
- Reordenación de campos con interfaz de arrastrar y soltar.
- Integración de Google reCAPTCHA v3 para protección contra spam.
- Send a copy of the form to the user, with a customizable message.
- Insert logo and company link in user copy emails.
- Privacy policy and legal notice checkbox fields with linked pages.
- Optional marketing opt-in field with customizable text.
- Explanation field to describe the purpose of the form.
- Real-time preview of the user email using the WordPress Customizer.
- Optional SEO metadata editor for posts and pages (title, description, and indexation).
- Modular tab interface supporting additional tools.
- Dynamic generation of:
llms.txt(formato texto o JSON).sitemap.xmlsitemap-images.xmlrobots.txt
- New “General” tab that centralises global options.
- Toggle to allow safe SVG / SVGZ uploads (sanitised & thumb-ready).
- Automatic image Alt-Text: copies IPTC/XMP “Alt Text Accessibility” (fallback to Title).
-Cookie Consent Panel:- Clean, responsive, and customizable cookie banner.
- Three display sizes: Small, Large, or Fullscreen.
- Consent tab with position options: Left, Center, or Right.
- Auto-hide on Accept or Deny with full keyboard accessibility.
- Multilingual-ready and fully translatable (.pot included).
- Preferences panel for per-script consent using
<details>. - Add unlimited scripts with name, description, and JS code.
- Scripts injected only on Accept; removed on Deny.
- Consent stored securely in LocalStorage.
- Backend settings for texts, styles, legal pages, and tab behavior.
- Fully compliant with GDPR, CNIL, and ePrivacy.
- Built with vanilla JavaScript – no jQuery dependency.
Use the shortcode [smile_contact_form] to embed the form on any page or post.
Servicios externos
Este plugin integra Google reCAPTCHA v3 para proteger el formulario del spam y abusos.
Qué es el servicio y para qué se utiliza:
Google reCAPTCHA v3 analiza el comportamiento del usuario para bloquear el envío automatizado de spam.
Qué datos se envían y cuándo:
Al enviar el formulario, se envían los siguientes datos a Google:
– token reCAPTCHA
– Dirección IP del usuario
– Tu clave secreta reCAPTCHA
Links to terms and privacy policy:
– Google Terms of Service
– Google Privacy PolicySMiLE Basic Web is actively maintained. If you find it helpful, consider supporting development through donations. Contributions and feedback are always welcome!
Capturas de pantalla

Screenshot-1.png: Interfaz de administración que muestra la configuración de SMTP, reCAPTCHA y campos personalizados. 
Screenshot-2.png: Personalización de la apariencia del formulario de contacto mediante el personalizador de WordPress. 
Screenshot-3.png: Live preview of the email sent to users via the WordPress Customizer. 
Screenshot-4.png: Sitemaps settings tab for configuring llms.txt, sitemap.xml, and robots.txt. 
Screenshot-5.png: Enable secure SVG/SVGZ uploads, auto-fill image ALT text from EXIF metadata, and toggle the SEO metadata editor for posts and pages. 
Screenshot-6.png: Backend settings panel for customizing colors, text and scripts. 
Screenshot-7.png: Cookie banner with preferences toggle, script injection only after consent is given.
Instalación
- Upload the
smile-basic-webplugin folder to your/wp-content/plugins/directory. - Activa el plugin a través del menú “Plugins” de tu panel de administración de WordPress.
- Go to the “SMiLE Basic Web” settings page in the admin menu.
- Configure the Contact Form and other tools in their respective tabs.
- Inserta el formulario en cualquier lugar utilizando el shortcode
[smile_contact_form]. - In the “Sitemaps” tab, activate the dynamic generation of llms.txt, sitemap.xml, sitemap-images.xml and robots.txt.
- Enable the Cookie Notice and configure the appearance and behavior of the panel.
- Optionally add third-party tracking scripts and descriptions in the Preferences section.
FAQ
-
¿Qué es SMILE Basic Web?
-
Un plugin repleto de funciones con un sistema modular para el formulario de contacto, los sitemaps y la personalización del correo electrónico.
-
¿Cómo puedo agregar o reordenar campos personalizados?
-
Ve a la sección “Campos personalizados” en la pestaña “Formulario de contacto”. Utiliza la interfaz de administración para agregar, editar, eliminar y reordenar campos.
-
How does the user copy feature work?
-
Si lo activas, los usuarios reciben un correo electrónico HTML con los datos enviados, un mensaje personalizado, con logotipo y un enlace a tu empresa.
-
¿Puedo previsualizar el correo electrónico enviado a los usuarios?
-
Yes, go to “Customize” > “Email Preview” in the WordPress Customizer to see how the email will look.
-
¿Se incluyen los consentimientos de privacidad y marketing?
-
Sí, puedes activar las casillas de privacidad y aviso legal y agregar un campo de suscripción de marketing con texto personalizado.
-
¿Cuáles son las novedades de la versión 1.2.0?
-
This version introduces a dedicated “Sitemaps” tab where you can generate llms.txt, sitemap.xml, robots.txt, and images sitemap dynamically.
-
Does this plugin block scripts until consent is given?
-
Yes. Scripts are injected only after the user gives consent, and only those matching accepted categories.
-
Is it GDPR-compliant?
-
Yes. This plugin was built with GDPR and ePrivacy Directive in mind.
-
Can I add my own scripts or analytics tools?
-
Absolutely. You can register any custom script in the admin panel, along with a name and purpose.
Colaboradores & Desarrolladores
“SMiLE Basic Web” es software de código abierto. Las siguientes personas han contribuido a este plugin.
Colaboradores“SMiLE Basic Web” ha sido traducido en 2 idiomas. Gracias a los traductores por sus contribuciones.
Traduce “SMiLE Basic Web” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .
Historial de cambios
1.3.9
- UPDATED: Documented compatibility with WordPress 6.8 and modern PHP versions.
- FIXED: Clarified consent-instructions workflow to prevent confusing field duplication in multilingual installs.
- FIXED: Hardened sanitization around Customizer previews so live form styles render reliably.
1.3.8
- NEW: Upgraded the Form Explanation setting to use the WordPress editor for bold text, separators, and other formatting.
- UPDATED: Store formatted explanations with
wp_kses_post()so only trusted HTML is saved. - UPDATED: Render explanation content with
wpautop()to preserve administrator formatting on the front end.
1.3.7
- NEW: Added a consent instructions field so site owners can clarify data usage directly in the form.
- UPDATED: Introduced style controls in the WordPress Customizer to fine-tune consent panel typography and colors.
1.3.6
- FIXED: SVG preview now tolerates missing or incomplete metadata when integrating with the Media Library.
1.3.5
- NEW: Added the
sbwscf_meta_description_priorityfilter so site owners can control when the plugin prints the SEO meta description, improving compatibility with third-party themes and SEO suites. - UPDATED: Detect and remove conflicting theme callbacks before output to ensure SMiLE Basic Web remains the single source of truth for meta descriptions.
- FIXED: Resolved cases where recent changes to custom meta descriptions failed to override the site tagline or appear on the front end.
1.3.4
- NEW: Added toggleable SEO metadata editor for posts and pages, including custom title, description, and noindex nofollow controls.
- NEW: Outputs custom metadata on the front end through the document title,
<meta name="description">, andwp_robotshooks. - UPDATED: General tab now loads earlier so metadata features register before other tabs.
- UPDATED: Removed deprecated text-domain loader to align with modern WordPress translation handling.
1.3.3
- FIXED: allow pasting hexadecimal color values in the colour picker input.
- FIXED: added translation support for minimized label positions (Left, Center, Right).
1.3.2
- FIXED: JavaScript translations now load correctly by registering
wp_set_script_translations()for sbwscf-cookies-panel, ensuring all cookie-banner strings are translatable.
1.3.1
- FIXED: Links to Cookies Policy, Privacy Policy and Legal Notice open in a new tab.
- FIXED: “Accept Preferences” button was not displayed on first page load.
1.3.0
- NEW: Added “General” tab; now loaded first and order overridable via filters.
- NEW: Safe SVG / SVGZ upload support with sanitisation, dedicated checkbox in General tab.
- NEW: Auto-populate image Alternative-Text from embedded XMP AltTextAccessibility or IPTC Title.
- UPDATED: Uninstall script now deletes preview page, options, transients and cache keys across all sites.
- Initial public release of Cookie Consent functionality.
- Includes responsive and accessible cookie panel.
1.2.1
- FIXED: Resolved settings conflicts between tabs by properly separating
option_groupandoption_pageinregister_setting(). - FIXED: Fixed issue that prevented the “SMiLE Basic Web Form Appearance” section from appearing in the WordPress Customizer.
- UPDATED: Fully implemented modular tab architecture (
SBWSCF_Tab_ManagerandSBWSCF_Tab_Interface), allowing new features to be added without altering the plugin core. - UPDATED: Refactored script and style loading system to ensure assets are enqueued only when their corresponding tab is active.
- UPDATED: Integrated JavaScript internationalization using
wp.i18n.__()and connected it withwp_set_script_translations()to enable translations via.pofiles. - FIXED: Backend reCAPTCHA field validation improved for dynamic required fields.
- NEW: Full Multisite support added to
uninstall.php, cleaning up options, transients, cron jobs, and custom pages network-wide. - CORREGIDO: Se garantizó que la página de vista previa de correo electrónico (
sbwscf-customizer-email-preview) se cree y esté correctamente vinculada al Personalizador para la vista previa en vivo del correo electrónico. - CORREGIDO: Se eliminaron las entradas duplicadas de URL en el archivo
sitemap.xmlpara evitar confusiones y garantizar que cada URL canónica aparezca solo una vez. - ACTUALIZADO: Las marcas de tiempo
<lastmod>en los archivossitemap.xmlysitemap-images.xmlahora incluyen la fecha y la hora completas en formato ISO-8601 para una mayor precisión. - CORREGIDO: Incluidas las imágenes incrustadas en las páginas para que ahora aparezcan correctamente en sitemap-images.xml.
1.2.0
- NEW: Added “Sitemaps” tab with dynamic generation of llms.txt, sitemap.xml, sitemap-images.xml, and robots.txt.
- NUEVO: Elige entre formato TXT o JSON para llms.txt.
- NUEVO: Filtrar por tipos de contenido y establecer categoría de prioridad en la salida del mapa del sitio.
1.1.0
- NEW: Added support for select (single/multiple) and “user email” field types.
- NUEVO: Se ha agregado la reordenación de campos mediante arrastrar y soltar.
- NUEVO: Agregado campo de explicación del formulario.
- NEW: Added Legal Notice checkbox with link to a specific page.
- NEW: Added optional Marketing Opt-In checkbox with custom label.
- NEW: Introduced real-time email preview with WordPress Customizer.
- NEW: Added validation to prevent duplicate field names.
- UPDATED: Improved sanitization constants and structure.
- UPDATED: Modularized codebase for maintainability.
1.0.0
- Versión inicial de SMILE Basic Web.
- Integrated Contact Form with SMTP settings.
- Campos personalizados compatibles con marcadores de posición y marcadores obligatorios.
- Enabled user copy email with company logo and link.
- Added privacy policy checkbox.
- Integrated Google reCAPTCHA v3.
