外掛說明
Layout blocks for Gutenberg that create more interesting and modern page designs.
- Stagger small blurbs of text along side beautiful images
- Creates a “magazine” style to your webpage
- Fully responsive
Please Note
- 🚀 This is a beta plugin – things will be rocky.
- 🚧 This is a Work In Progress
- ⚠️ Please open a support request or add as an issue on Github before summiting a negative review, I’m happy to help, please provide as much information as possible (screen recordings, WordPress and PHP versions, able-to-replicate instructions).
- 👨🏻💻 Please visit Github for development
- 🤓 If you have any additional requests, please use the Support tab.
Big shouts to
- 🙏 @ahmadawais for the create-guten-block foundation
- 🙏 @zgordon for the Gutenberg teaching
TODO
- [ ] Add FAQ about “Padding: Top Bottom”, as it only applies on mobile and when the text is greater than the images size squared.
- [ ] Placeholder text for RichText not prominent enough
- [ ] Add Contrast checker
- [ ] Move InspectorControls to own component
螢幕擷圖
安裝方式
- from your Plugin browser on your site, or
- download the plugin and extract the files and upload
sword-layouts
to your/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- download the plugin and extract the files and upload
常見問題集
- Where can I find the block?
-
Within the Gutenberg editor, + Add Block > Layouts > Tile
- Why is there space between the blocks in the editor but not the front end?
-
Blocks need some padding in the editor for usability. The front end blocks will touch, creating the seamless Tile design.
- How do I get the image on the left, and the text on the right?
-
Select the block.
The right hand side of the editor should be the Settings pane. If it’s not present, hit the cog (gear wheel) in the top right to toggle view.
There’s tabs for “Document” and “Block”, click the latter.
Turn “Invert Layout” on.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.8
- Dec 8, 2018
- Compatibility for WP 5.0 (better late than never!)
- README changes, added video
- fixed Enqueue
- remove use of npm
classnames
alignfull
now set with BlockAlignmentToolbar instead of being hardcoded- replaced ColorPalette and PanelColor with PanelColorSettings
1.0.7
- Sep 8, 2018
- Fixed issue with obnoxious padding on Media Upload placeholder
- Added blank index.php files in dirs for security
1.0.6
- Sep 8, 2018
- Changed icon to a new custom one
- Added spacing padding settings
- fixed alignment of toolbar, above text regardless of invert
- changed use of button to buttonIcon
- changed custom upload button to Placeholder component
- added text and background colors
- added padding and width range controls
- removed dashicons
1.0.5
- Aug 14, 2018
- Updated for Gutenberg 3.5
- Renamed plugin for easier search keywords
1.0.4
- Jul 2, 2018
- updated code for Gutenberg 3.1.1
- changed some wp.blocks.* to wp.editor.*
1.0.3
- May 18, 2018
- code updates to work with Gutenberg 2.8.0
- changed CSS from grid to flexbox
- reduced screenshots
1.0.2
- Feb 20, 2018
- minor fixes to CSS grid (for better browser support)
- more readme changes
1.0.1
- Feb 19, 2018
- readme fixes, minor changes to block name
1.0.0
- Feb 17, 2018
- Initial release