plugin-icon

Add Code To Head

作者:salubrio·
Add custom JavaScript/HTML/CSS codes to the page head without editing the template.
评级
5
版本
1.23
活跃安装
3K
最后更新
Apr 23, 2026

Intended users: Template Designers, Developer, Admins

If you wish to add any custom HTML to each page’s header, then this plugin is for you.

This is useful for verifying you are the owner of the website to services such as Mailchimp or Google. You can quickly add the verification codes to your page header without having to edit your site’s template.

In general, you can add custom CSS, a link to an external JavaScript file or something else. While it is generally recommended to create a child template if you’re going to make extensive, permanent changes to a template, there may be instances where a small change or two is needed that wouldn’t justify the creation of a child template—or your current template might not support child templates. You should nearly always avoid editing a template directly, because your changes will be lost when you next update the template.

This plugin is not affected by template changes.

Acknowledgements

Plugin Icon (CC BY 3.0) by DeniShop

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.4
这个插件是可用的下载,适用于您的站点。