| 开发者 | rhand |
|---|---|
| 更新时间 | 2026年10月21日 10:50 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL v3 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/aludra directory, or install the plugin through the WordPress plugins screen directly.Yes. Aludra is a theme-neutral block library and works with any WordPress theme — FSE, block, or classic. It is used across the Imagewize block themes (Elayne, Aviendha), and blocks reference theme color presets with fallbacks so they render correctly everywhere.
Each block has isolated dependencies and must be built separately:
cd blocks/carousel && npm install && npm run build
cd blocks/mega-menu && npm install && npm run build
cd blocks/slide && npm install && npm run build
For development mode with watch: cd blocks/[block-name] && npm start
Yes, the build/ directories are committed to the repository for Packagist distribution, so users get working blocks without needing to run build commands.
Yes, the carousel block uses Slick Carousel which is highly customizable. You can extend the block to add additional Slick settings through the block attributes.
Yes, the mega menu block includes full keyboard navigation support, outside-click dismissal, and proper focus management for accessibility.
It's WordPress's official frontend reactivity system. The mega menu block uses it for modern, reactive user interactions without heavy JavaScript frameworks.
Mega Menu Block
src/block.json - Block metadata and configurationsrc/index.js - Registration entry pointsrc/edit.js - React editor componentsrc/save.jsx - Frontend output markupsrc/view.js - Frontend interactivity (optional)src/render.php - Server-side rendering (optional)src/editor.scss - Editor-only stylessrc/style.scss - Frontend + editor stylespatterns/carousel-*.php like the other patterns; slugs and titles are unchangedaludra/cta-columns) — the "Light Gray" background option had no matching CSS rule, so selecting it had no visible effect on the frontend.aludra/photo-grid) — heading, follow line, and a tight square photo grid for an Instagram-style feed section. Fully static and theme-neutral: authors drop in their own photos via core/image, no API key or live connection to maintain.aludra/instagram-embed) — a live feed of a public Instagram profile via Instagram's own public embed iframe (instagram.com/username/embed). No developer app or API key needed, unlike the official oEmbed route Meta locked down in October 2020. The rendered markup ships only a "Load Instagram feed" button and a profile-link fallback; the iframe itself is only injected client-side after a visitor clicks it, so nothing loads from instagram.com — and no consent question is raised — until they opt in. This is an unofficial, undocumented endpoint: it could change or stop working without notice, so keep a plain profile link as a fallback.aludra_enabled option without merging in the defaults, so a block added after you last saved that screen showed up unchecked — and because saving writes "off" for every box not submitted, toggling one unrelated block then disabled those blocks for real, removing them from the inserter. Block registration always read a missing entry as enabled, so only the admin screen was affected; if this caught you, just re-enable them there.@imwz/wp-pattern-sentinel dev dependency to 1.1.1, which pulls in a js-yaml fix for GHSA-5p4m-2wfm-xmqj, a quadratic CPU consumption (DoS) bug in !!omap YAML resolution. js-yaml is only used by sentinel's --trellis auto-discovery of wordpress_sites.yml; nothing in this plugin's own runtime is affected.
Older entries are trimmed to keep this section within the 5000-character
limit WordPress.org enforces. The complete history is in CHANGELOG.md:
https://github.com/imagewize/aludra/blob/main/CHANGELOG.md