This creates a page template giving you a blank page so only the content of the page is displayed. Header and footer are totally empty. This is great for page builders (Beaver Builder, Divi, etc), landing pages and squeeze pages.
[youtube https://www.youtube.com/watch?v=B8V-b8RDjiU]
安装:
Unzip and upload the plugin into the plugins directory and then activate it.
Go to Pages
Add New, or select an existing page
Scroll down on the right (in theory) and select the page template called “Blank Slate”
升级注意事项:
1.2.2
Tested with PHP 8.0 and 8.1.
1.2.1
Fix minor WP compatibility issue.
1.2
Themes can now override plugin templates. Minor security and maintenance fixes. Tested with WordPress version 5.5.
1.1.5
Minor code updates. Compatible with WordPress 5.4.
1.1.4
Added support for language translations. Minor bugfix. Compatible with WordPress 5.0.
1.1.3
The latest version of Blank Slate requires WordPress version 4.7 or greater! Compatible with version 5.0.
其他记录:
This plugin will load everything that is normally included in the wp_head() and wp_footer(), so all scripts and styles should load as normal.
更新日志:
1.2.1
Fix minor WP compatibility issue: wp_body_open().
1.2
Enhancement: Allow themes to override plugin templates
Maintenance: Add wp_body_open() template tag
Security: Update Lodash version
1.1.5
Updated code to meet coding standards.
1.1.4
Added support for language translations.
Bugfix for template context. Prevent assigned template from being used on archive pages where the first page is using the Blank Slate template.
1.1.3
Removed old approach that is only supported in WordPress version 4.6 and older.
Updated code for better integration with the pro version.
Updated code to better adhere to WordPress coding standards.
Tested in WordPress 5.0.
1.1.2
Showing title for themes that don't support title-tag
1.1.1
Template that is loaded now loads viewport correctly