Color Pallet by Gables Tech LLC plugin
1. Plugins → Add New → Upload Plugin → upload paleta-colores.zip → Activate
2. In the Divi Code module, paste something like.
[color_palette size="60" gap="1" radius="0" colors="#FF5733:Coral, #3366FF:Azul Royal, #2ECC71:Verde Menta"]
How to add colors later: just go back to that Code module and add another color at the end of the list, separated by a comma — it’s that simple, no need to touch anything else.
Here’s how it works:
-
Each swatch is a box with the background color and its hex code displayed on top (automatically in black or white for best readability).
-
If you name it using a colon (e.g.,
#FF5733:Coral), the name appears below the box. -
Clicking any swatch copies the code to your clipboard and shows “Copied!” for a second.
-
The name is optional — it also works with just
colors="#FF5733, #3366FF"
Popup by Gables Tech LLC plugin
-
En tu panel de WordPress, ve a Plugins > Editor de archivos de plugins.
-
En la esquina superior derecha, en el menú desplegable “Elegir el plugin a editar”, selecciona Popup de Anuncio y haz clic en “Seleccionar”.
-
En la pantalla principal aparecerá el código real (que empezará con
<?php). Cópialo todo y pégalo aquí. ¡Con eso te doy la regla de visualización exacta en un segundo!——————————
1-Busca esta sección en el código que me enviaste (está casi al final, alrededor de la línea 99):
/**
* ====== SALIDA EN EL SITIO ======
*/
add_action('wp_footer', function () {
if (is_admin()) return;
if (get_option('pa_enabled', '1') !== '1') return;
\
2-Y justo debajo de esas dos líneas de restricción, añade esta nueva línea
if ( ! is_page('slug-de-tu-pagina') ) return;
3-El bloque completo te debe quedar así:
/** * ====== SALIDA EN EL SITIO ====== */ add_action('wp_footer', function () { if (is_admin()) return; if (get_option('pa_enabled', '1') !== '1') return; // Regla añadida para que SOLO cargue en la página especificada if ( ! is_page('slug-de-tu-pagina') ) return; $image_url = get_option('pa_image_url', ''); if (empty($image_url)) return; // no mostrar nada si no hay imagen configurada // ... resto del código ...
How do you correctly specify your page name?
If the URL where you want the pop-up to appear is [yoursite.com/promotion/](https://yoursite.com/promotion/), you should place the final part of the URL within single quotes: `if ( ! is_page(‘promotion’) ) return;`
You can also use the page’s numerical ID, without any quotation marks. For example, if the WordPress page ID is 45, the line would be: `if ( ! is_page(45) ) return;`
Simply save the changes to the file, clear your website’s cache, and test it. With that line in place, the script will no longer be injected into the rest of the site; it will only be triggered on the specific page you’ve chosen.