Insert a Frontity Slot in the block editor (aka Gutenberg).
This plugin adds a new block to the block editor called Frontity Slot, that inserts a Frontity Slot directly in the content.
It requires the Slot Block processor, which is exported in the @frontity/html2react
package:
import slotBlock from "@frontity/html2react/processors/slot-block";
export default {
state: {
// ...
},
actions: {
// ...
},
libraries: {
html2react: {
processors: [slotBlock],
},
},
};
This Frontity feature is discussed at https://community.frontity.org/t/frontity-slot-block/4534. Feel free to join and participate.
- Upload the plugin files to the
/wp-content/plugins/frontity-slot
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
Both approaches work, but using Frontity Slots is more explicit, clean, and should be easier to maintain.
There are different channels at your disposal where you can find information about the Frontity project, discuss it and get involved:
- 📖 Docs: this is the place to learn how to build amazing sites with Frontity.
- 👨👩👧👦 Community: use our forum to ask any questions, give feedback and meet great people. This is your place too to share what are you building with Frontity!
- 🐞 GitHub: we use GitHub only for bugs and pull requests. Questions are answered in the community forum!
- 🗣 Social media: a more informal place to interact with Frontity users, reach out to us on Twitter.
- 💌 Newsletter: do you want to receive the latest framework updates and news? Subscribe here.
Got questions or feedback about Frontity? Use the community forum yo ! ❤️
The Frontity project also welcomes contributions. There are many ways to support the project! If you don't know where to start, this guide might help: How to contribute?