描述
Simply select a block in the WordPress editor, toggle on Dynamic Content, and select the custom field (aka post meta key) that contains the value you’d like to display. If that value changes in your database, it will automatically reflect the change on the frontend of your site.
The following blocks are currently supported:
* Paragraph
* Heading
* Verse
常見問題
-
Does this work with ACF (Advanced Custom Fields)?
-
Absolutely! Works with regular custom fields or ACF.
-
Can I have just a section of text dynamic?
-
Not yet! Currently the dynamic value will take over the entire block.
評價
2022年6月28日
Have been looking forward to this kind of simple custom field feature to pull in field data to style with block settings. Hope to see continued support added to buttons, featured images, list block, post content/excerpt and query loop(custom field would need to be for the query postids). Could site options become available in the future? Also, manual input of meta keys if none are detected because they haven't been created yet.
貢獻者及開發者
修改日誌
0.1.3
- Filter out serialized values
- Remove dev dependency from composer.json
- Remove defining constants from json
0.1.2
- Works with nested/inner blocks
0.1.1
- Fix frontend rendering bug
- Tested up to WordPress 6.0
- Update author info
0.1.0
- Initial release.