开发者 | mattwatsoncodes |
---|---|
更新时间 | 2024年12月4日 03:43 |
捐献地址: | 去捐款 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly.In the template editor, select a Template Part and enable the 'Dynamic Template Part' option in its attributes. Choose your swapping options and save the template.
Yes! You can curate specific Template Parts that can be swapped. When enabling the 'Dynamic Template Part' option, select the Template Parts you want to make available for swapping.
Absolutely. Dynamic Template Parts works with posts, pages, and any custom post types you have.
Yes, you have the option to allow swapping with Template Parts of the same type (Header, Footer, Generic), any type, or a curated list of parts from different types.
See the User Permissions section for information on how you can alter the template swapping permissions.
If you deactivate the plugin, your content will revert to using the default template parts defined in your theme. Your content remains safe, and you can reactivate the plugin anytime to restore dynamic functionality.
Dynamic Template Parts is designed to work with any Full Site Editing (FSE) theme that utilizes block templates and template parts. It enhances the existing functionality of FSE themes without requiring theme modifications.