=== Divi GIF ===
Contributors: suweb
Tags: divi, giphy, gif, divi 5, module, free
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free: search GIPHY and drop GIFs into your pages with a native Divi 5 module.

== Description ==

suweb.ai (https://suweb.ai) by SU Web Agency (https://suwebsites.com).

Divi GIF adds a **GIF** module to the Divi 5 Visual Builder. Search GIPHY right in the module settings, click a GIF, and it shows on your page. Choose its size, alignment and alt text.

* Native Divi 5 module built on Divi 5's module API (Divi 4 is not supported).
* GIPHY search and trending GIFs inside the builder.
* GIFs are saved to your Media Library by default, or hotlinked from GIPHY if you prefer.
* Size (small, medium, large, original, full width), alignment and alt text options.
* Lazy loading (loading="lazy" decoding="async") so pages open fast.
* Respects reduced motion: visitors who ask for less motion see a still first frame, at the same size.
* One switch turns the module off site-wide without errors.
* "Powered by GIPHY" in the picker and an optional "via GIPHY" credit link under each GIF.

Divi GIF is free. No license key, no upsell notices. Updates arrive in Dashboard > Updates like any other plugin.

= Settings (SUWEB > Divi GIF) =

* **Enable the GIF module** (on by default). Off hides the module from the builder, and GIF modules already on your pages output nothing. Turn it back on and they return.
* **Respect reduced motion** (on by default). For visitors with "reduce motion" turned on, GIFs show a still first frame instead of animating. GIFs loaded from GIPHY use GIPHY's still image; Media Library copies are frozen on the visitor's device with a small script. Layout size never changes.
* **Lazy-load GIFs** (on by default). Adds loading="lazy" and decoding="async" to each GIF.

= You need a GIPHY API key =

Create a free key at https://developers.giphy.com/dashboard/ and paste it under **SUWEB > Divi GIF**.

= Privacy =

This plugin does no tracking. To offer updates, your site asks suweb.ai about once a day (and when you click Check again in Dashboard > Updates) for the latest Divi GIF version. That request carries only the plugin name, its installed version and a random number that protects the answer. No license key, no site address, no personal data, and suweb.ai keeps no record of who asked. The other outside requests are to GIPHY (api.giphy.com and media.giphy.com), made from your own server when an editor searches or picks a GIF. Visitors only contact GIPHY if you choose hotlinking. GIPHY's terms: https://support.giphy.com/hc/en-us/articles/360020027752-GIPHY-Terms-of-Service and privacy policy: https://support.giphy.com/hc/en-us/articles/360032872931-GIPHY-Privacy-Policy

== Installation ==

1. Upload the `divi-gif` folder to `/wp-content/plugins/` or install the zip under Plugins > Add New.
2. Activate the plugin.
3. Go to **SUWEB > Divi GIF** and add your GIPHY API key.
4. In the Divi 5 Visual Builder, add the **GIF** module and search.

== Frequently Asked Questions ==

= Does it work with Divi 4? =

No. It needs Divi 5.

= What happens when I uninstall? =

The plugin settings are deleted. GIFs saved to your Media Library stay.

== Screenshots ==

1. The Divi GIF screen in WordPress admin (desktop).
2. The same screen on a phone.
3. SUWEB > My licenses: one key for all your SUWEB plugins.

== Changelog ==

= 1.0.1 =
* The SUWEB Licenses screen now shows every SUWEB plugin's icon (Divi Funnels showed a letter).

= 1.0.0 =
* Initial release.
