AI助手支持GPT4.0
The CC-Scripts plugin gives Admin users the ability to add custom JavaScript code to every page on WordPress website in the head/footer and/or directly after the opening body html tag.
CC-Scripts插件使Admin用户能够将自定义JavaScript代码添加到WordPress网站上的页眉/页脚和/或直接在主体html标签之后的每个页面。
Additionally, you can minify scripts using JSMin php library and/or displaying it selectively using dependencies.
此外,您可以使用JSMin php库缩小脚本,和/或使用依赖项有选择地显示脚本。
The best part is that you can do this from the Admin panel, perfect for those who don’t have the programming skills needed to manually add custom JavaScript code to template files.
最好的部分是您可以从管理控制台执行此操作,非常适合那些不具备将手动JavaScript代码手动添加到模板文件所需的编程技能的人。 p>
ol>
Visit ‘Settings > Scripts’, add your scripts into head and/or body fields and chose the method of inclusion.
访问“设置>脚本”,将您的脚本添加到头和/或身体字段中,然后选择包含方法。 p>
Please note
请注意 strong> p>wp_head action is the preferred location for firing scripts in the head section. wp_head操作是在头部触发脚本的首选位置。 li>wp_body action is the preferred location for firing scripts in the body section. wp_body操作是在正文部分触发脚本的首选位置。 li>wp_footer action is the preferred location for firing scripts in the footer section. wp_footer操作是在页脚部分中触发脚本的首选位置。 li>Use output buffering if you don’t have access to the source code of your theme and/or you don’t know if the functions above are included in your theme.如果您无权访问主题的源代码和/或不知道以上功能是否包含在主题中,请使用输出缓冲。 li> ul>Multisite多站点 h4>The plugin can be activated and used for just about any use case.可以激活该插件并将其用于几乎所有用例。 p>Activate at site level to load the plugin on that site only.在站点级别激活以仅在该站点上加载插件。 li>Activate at network level for full integration with all sites in your network (this is the most common type of multisite installation).在网络级别激活以与网络中的所有站点完全集成(这是多站点安装的最常见类型)。 li> ul>
ul>
The plugin can be activated and used for just about any use case.
可以激活该插件并将其用于几乎所有用例。 p>
原文出处:http://www.sanshu.cn/a/6727.html
群主管理都是支付大佬