该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Add HTML, JavaScript and CSS to <head>

描述

An easy, small, free and fast plugin to add/inject HTML, CSS or JavaScript code to the <head> HTML part of your site.

Some examples of possible use cases for this plugin are:

  • Injecting custom CSS into the <head>.
  • Inserting a <meta> tag into the <head> for Google Search Console validation.
  • Adding Google Analytics JavaScript into <head>.
  • Insert the <base> tag into <head&gt, to set a default URL and a default target for all links.
  • Adding device-optimized favicons by using the <link> tag
  • Injecting content with the <template> tag into <head>, in order to initially content from the user (and display it later using JavaScript).

屏幕截图

安装

  1. Upload the plugin files to the /wp-content/plugins/add-html-to-head directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin

Or just click install and activate in the WordPress plugin browser.

常见问题

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/add-html-to-head directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin

Or just click install and activate in the WordPress plugin browser.

Will the plugin always be free?

Yes. If you find this plugin useful however, you may donate any amount you would like to donate. Or nothing at all, that’s fine too. 🙂

评价

此插件暂无评价。

贡献者及开发者

「Add HTML, JavaScript and CSS to <head>」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Add HTML, JavaScript and CSS to <head>」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Add HTML, JavaScript and CSS to <head>」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1.2

Improved settings page layout.

0.1.1

Added settings and support links.

0.1.0

Initial release.