| 开发者 | flexatech |
|---|---|
| 更新时间 | 2026年7月27日 10:15 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
build/. The human-readable source code (src/), together with the build tooling used to generate those assets, is publicly available and maintained at:
https://github.com/flexatech/flexa-block
The assets are built with npm and @wordpress/scripts (webpack). To build them yourself:
npm installnpm run build (or npm start for a watched dev build)build/ from the source in src/.
/wp-content/plugins/flexa-block, or install
through the WordPress Plugins screen.No. Everything is controlled through the WordPress Block Editor. Just insert a block, adjust settings in the sidebar, and publish.
Flexa Block works with any theme that supports the Block Editor, including classic themes and Full Site Editing (FSE) themes.
Version 1.0.4 ships with a growing library of blocks, including: Container, Button, Heading, Image, Countdown, FAQ (with optional FAQPage schema), Social Icons, Grid, Testimonial, Separator, Text, Counter, Info Box, Slides, Social Share, Table of Contents, Before / After, Breadcrumb, Steps, Tabs, Video Popup, Comparison Table, Google Map, Images Gallery, Banner, CTA, a Subscribe Form, Pricing Table, Team Member, Post Grid, Post Filter, Progress Bar, Timeline, Icon, Icon List, Lottie Animation, Modal, Star Rating, Notice, Data Table, Taxonomy, RSS Feed, Facebook Feed, Instagram Feed and five WooCommerce single-product blocks. All blocks include skeleton inserter previews and JavaScript translations. More blocks will be added in future releases.
Yes. When you are logged in and allowed to edit the post, Flexa's editable blocks become click-to-edit on the front end: click a heading, paragraph, button label, list item or table cell, type your change, and press Save in the toolbar that appears. The edit is saved into the block itself — markup, block settings and generated CSS are preserved — and logged as a note on the post.
Thirty-five blocks, covering every block whose text you type in yourself: Heading, Text, Button, Table of Contents, Progress Bar, Before / After, Star Rating, Modal, Notice, Banner, CTA, Info Box, Testimonial, Team Member, Countdown labels, all eleven Subscribe Form field labels, FAQ, Tabs, Steps, Timeline, Pricing Table, Counter, Icon List, Comparison Table and Data Table. Blocks that show generated or fetched content (Post Grid, Breadcrumb, WooCommerce product blocks, feeds) are not inline-editable, since their text does not live in the block.
Administrators always can; Editors are allowed by default. Open Flexa Block → Editing to switch inline editing off entirely, change which roles may use it, or disable it for individual blocks. Users still need the normal WordPress permission to edit that particular post.
No. CSS is generated once at save time and cached per post. Only the styles actually used on a given page are loaded — there are no large catch-all stylesheets.
Yes. The Container block integrates with a site-wide dark mode toggle, which you can enable or disable from the Flexa Block settings page in the admin.
Go to Flexa Block in the admin sidebar and open the Blocks tab. You can toggle individual blocks off — disabled blocks are removed from the Block Editor inserter.
In the WordPress admin sidebar, click Flexa Block (located below Settings). From there you can control dark mode, CSS specificity, and which blocks are active.
Yes. Flexa Block Pro adds additional blocks and advanced features. It works alongside this free plugin.
wp_handle_upload() instead of move_uploaded_file().