Fix bug in template select box.
Add support for WordPress template names inside your Blade templates with: {{-- Template name: My template --}}
. This gives the template in WordPress a nice name. It works the same as with custom WordPress templates: https://developer.wordpress.org/themes/template-files-section/page-template-files/#creating-custom-page-templates-for-global-use
By using the filter theme_templates
the template aren't only available on the edit page. ACF now shows them in the Post template options in the location rules section.
You can remove the theme/wp4laravel/template-*.php
files. Adjust the ACF config files and wp_postmeta
table accordingly.
- Remove help tab
- PSR-2 code formatting
- Fix showing all templates in the template list
Inception of the plugin.