IONOS WordPress Multisite Hosting

Contributors: lotgrafix
Tags: libraries, assets, resources, cdn, jsdelivr, bootstrap, font-awesome, javascript
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Load Bootstrap, Font Awesome, Swiper, GSAP, Chart.js, and more from jsDelivr CDN without editing theme files. Enable only what you need.

== Description ==

CDN Libraries lets you load popular CSS and JavaScript libraries in WordPress from the jsDelivr CDN, without editing theme files or writing wp_enqueue code. Enable Bootstrap, Font Awesome, Bootstrap Icons, Swiper, Fancybox, GSAP, AOS, Alpine.js, HTMX, Axios, Chart.js, DataTables, and more from a clean, modular control panel. Load only the exact resources your project needs and keep your front-end assets simple and organized from your dashboard.

== Features ==

🎨 Icons & Fonts

– Font Awesome: Enqueues Font Awesome Free (CSS) for scalable icons, buttons, navigation, and visual elements.
– Bootstrap Icons: Enqueues Bootstrap Icons (CSS) for scalable UI components and interface elements.

🚀 Frameworks & Libraries

– Bootstrap: Enqueues Bootstrap CSS and JS bundle for responsive layouts, grid systems, and UI components.
– Axios: Enqueues Axios (JS) for promise-based HTTP requests with automatic JSON parsing.
– Alpine.js: Enqueues Alpine.js (JS) for lightweight reactive behavior and interactive components directly in HTML.
– HTMX: Enqueues HTMX (JS) for AJAX requests, partial page updates, and dynamic HTML attributes.
– Day.js: Enqueues Day.js (JS) for parsing, manipulating, validating, and formatting dates and times.

🖼️ Sliders & Galleries

– Swiper: Enqueues Swiper CSS and JS bundle for touch-enabled sliders, carousels, and galleries.
– Fancybox: Enqueues Fancybox CSS and UMD JS for responsive image overlays, lightboxes, and media viewports.
– Slick Carousel: Enqueues Slick Carousel CSS and JS (jQuery dependency) for customizable carousels.
– Lightbox2: Enqueues Lightbox2 CSS and JS (jQuery dependency) for modal image overlays and galleries.

🧩 UI Components

– SweetAlert2: Enqueues SweetAlert2 CSS and JS for customizable modal alerts, confirm dialogs, and toast notifications.
– Select2: Enqueues Select2 CSS and JS (jQuery dependency) for enhanced select boxes with searching and tagging.

✨ Effects & Animations

– AOS: Enqueues AOS (Animate On Scroll) CSS and JS for scroll-triggered element animations.
– GSAP: Enqueues GSAP (JS) for high-performance timeline animations and complex motion effects.
– Animate.css: Enqueues Animate.css (CSS) for ready-to-use CSS keyframe animations.

📊 Data & Charts

– Chart.js: Enqueues Chart.js UMD JS for responsive line, bar, pie, and interactive charts.
– DataTables: Enqueues DataTables CSS and JS for enhanced HTML tables with sorting, searching, and pagination.

== Important Notes ==

– Only enable the resources required by your website.
– Avoid enabling a resource that is already loaded by your theme or another plugin, as duplicate resources may cause conflicts, unexpected behavior, or unnecessary loading.
– Some third-party libraries may also require additional dependencies (such as jQuery).
– If you experience compatibility issues, disable the affected feature and test your website again.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/lotgrafix-cdnlibraries` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the ‘Plugins’ screen in WordPress.
3. Navigate to **LOT Grafix → CDN Libraries** in your WordPress dashboard to configure features.
4. Enable the desired features and click “Save Changes”.

== Frequently Asked Questions ==

= Does CDN Libraries download third-party resources to my website? =
No. CDN Libraries enqueues enabled resources directly from external CDN endpoints (jsDelivr) and does not store files in your local uploads or server directory.

= Will enabling features break my site? =
If your theme or another active plugin already loads the same library (e.g., Bootstrap, Font Awesome, or jQuery-dependent scripts), loading it twice may cause conflicts. We recommend enabling features individually and testing your site.

= Can I use CDN Libraries for theme and plugin development? =
Yes. It is designed to provide quick access to popular libraries without requiring manual `wp_enqueue_script` or `wp_enqueue_style` functions in your theme’s `functions.php`.

= Does it modify my database or theme files? =
No. CDN Libraries hooks directly into WordPress standard script enqueue actions (`wp_enqueue_scripts`). Disabling a feature or deactivating the plugin immediately stops loading the external resource.

= Does loading libraries from a CDN affect visitor privacy? =
Yes. When a library is enabled, each visitor’s browser requests the file from jsDelivr, which receives the visitor’s IP address and standard request headers. If your site must comply with strict privacy regulations such as GDPR, review the jsDelivr privacy policy and mention it in your own privacy policy.

== External services ==

This plugin includes the LOT Grafix dashboard, which connects to an external service to display the list of other LOT Grafix plugins. It also loads the CSS and JavaScript libraries you enable from the jsDelivr CDN.

= jsDelivr CDN =

– Service: https://www.jsdelivr.com (public CDN operated by jsDelivr)
– Purpose: serves the CSS and JavaScript library files you enable in the plugin settings (for example Bootstrap, Font Awesome, Swiper, or GSAP).
– Data sent: when a visitor loads a page, their browser requests the enabled files from jsDelivr, so jsDelivr receives the visitor’s IP address and standard browser request headers (such as User-Agent and Referer). Nothing is requested unless at least one library is enabled.
– When: on every page load where a library is enabled.
– Terms of Service: https://www.jsdelivr.com/terms
– Privacy Policy: https://www.jsdelivr.com/terms/privacy-policy-jsdelivr-net

= LOT Grafix Plugin List =

– Service: https://wp-plugins.lotgrafix.workers.dev (hosted on Cloudflare Workers, operated by LOT Grafix, Inc.)
– Purpose: retrieves the list of available LOT Grafix plugins shown on the LOT Grafix admin page.
– Data sent: no personal or user data is sent. As with any HTTP request, the server receives your site’s IP address and the standard WordPress User-Agent, which includes your site URL.
– When: only when an administrator opens the LOT Grafix admin page and the cached list (1 hour) has expired.
– Terms of Service: https://lotgrafix.com/terms-of-service/
– Privacy Policy: https://lotgrafix.com/privacy-policy/
– Hosting provider (Cloudflare) Terms: https://www.cloudflare.com/website-terms/
– Hosting provider (Cloudflare) Privacy: https://www.cloudflare.com/privacypolicy/

== Screenshots ==

1. CDN Libraries main dashboard interface
2. Control panel for Frameworks, Icons, and Sliders
3. Control panel for Animations, UI Components, and Data Charts

== Changelog ==

= 1.0.0 =
– Initial release
– Modular resource loader system for third-party CDN assets
– Independent toggle controls for popular CSS and JavaScript libraries
– Zero local file storage with clean external script enqueuing

== Upgrade Notice ==

= 1.0.0 =
Initial stable release.

«
»

IONOS WordPress Multisite Hosting