Required plugin: shoplic-wp-bridge-react
- There is a React app created with Vite in the
./react-appfolder. (Please make sure to use Vite.) - In the
./react-app-shortcodes.phpfile, we registered shortcodes using the function provided by shoplic-wp-bridge-react. - We imported
./react-app-shortcodes.phpin./functions.php. - Please feel free to use the shortcodes registered in
./react-app-shortcodes.phpwherever you want. - You can also include attributes.
[main_slider speed=5400]. The key-value pairs put in attributes can be received as props in React.