Linux 软件免费装
Banner图

Child Theme Check

开发者 zodiac1978
drivingralle
fstaude
glueckpress
hinnerk
rkoller
更新时间 2024年7月7日 03:21
捐献地址: 去捐款
PHP版本: 3.6.0 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

theme check child child theme child theme check

下载

1.0.0 1.0.1 1.0.2 1.0.7 1.0.8 1.0.9 1.0.3 1.0.5 1.0.6

详情介绍:

Child Themes are used to avoid overwriting your customizations. But if you preserve a file in a child theme, then you maybe preserve a security risk. After an update from the parent theme you always should check the changes and maybe add them to your child theme. This plugin helps you keeping track of these changes in the parent theme. For full usage of the plugin your parent theme has to define the version of the template file in the header of the PHP file with an additional @version info. For example: @version 1.0.0 If this is the case you will see a warning if the version of the parent theme file is higher than your child theme file. And you can see the differences between the parent theme file and the child theme file per wp_text_diff()-function like in revisions. Some posts about this plugin: These themes from Elmastudio are already using the @version info in the header: Please spread the word and if you are a theme developer, please add this to your themes too! Thanks :)

安装:

  1. Upload the zip file from this plugin on your plugins page or search for Child Theme Check and install it directly from the repository
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Activate a child theme and run the child theme check from your tools menu

屏幕截图:

  • Diff View

升级注意事项:

1.0.1
  • Minor string changes

常见问题:

I just get the error: Parent theme is missing version keyword.

For full usage of the plugin your parent theme has to define the version of the template file in the header of the PHP file with an additional @version info. For example: @version 1.0.0 If this is the case you will see a warning if the version of the parent theme file is higher than your child theme file. And you can see the differences between the parent theme file and the child theme file per wp_text_diff()-function like in revisions.

更新日志:

1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0