wordpress插件之页眉、页脚和文章注入

页眉、页脚和文章注入的作者是Stefano Lissa,目前有200,000+个有效安装。已经Tested with 5.3.3版本的wordpress。
Description

About WordPress SEO and Facebook Open Graph: I was very unpleased by Yoast invitation to
remove my plugin, and it’s not the case.
Read more here.

页眉和页脚代码

Why you have to install 10 plugins to add Google Analytics, Facebook Pixel, custom
tracking code, Google DFP code, Google Webmaster/Alexa/Bing/Tradedoubler verification code and so on…

With Header and Footer plugin you can just copy the code those services give you
in a centralized point to manage them all. And theme independent: you can change your theme
without loosing the code injected!

INJECTION POINTS AND FEATURES
in the page section where most if the codes are usually added
just after the tag as required by some JavaScript SDK (like Facebook)
in the page footer (just before the tag)
recognize and execute PHP code to add logic to your injections
distinct desktop and mobile injections
AMP

A new AMP dedicated section compatible with AMP plugin lets you to inject specific codes in
AMP pages. Should be ok even with other AMP plugins.

文章顶部和底部代码

Do you need to inject a banner over the post content or after it? No problem. With Header and
Footer you can:

Add codes on top, bottom and in the middle of posts and pages
Differentiate between mobile and desktop (you don’t display the same ad format on both, true?)
Separate post and page configuration
Native PHP code enabled
Shortcodes enabled
SPECIAL INJECTIONS
Just after the opening BODY tag
In the middle of post content (using configurable rules)
Everywhere on template (using placeholders)
BBPRESS

The specific bbPress injections are going to be removed. Switch to my
Ads for bbPress, which is more flexible and complete.

LIMITS

This plugin cannot change the menu or the footer layout, those features must be covered by your theme!

Official page: Header and Footer.

Other plugins by Stefano Lissa:

Hyper Cache
Newsletter
Include Me
Thumbnails
Ads for bbPress
TRANSLATION

You can contribute to translate this plugin in your language on WordPress Translate

隐私和GDPR

此插件不会收集或处理任何个人用户数据。

微慕商城——精选wordpress插件及wordpress主题,帮助站长快速生成wordpress小程序。
微慕WordPress小程序商城 » wordpress插件之页眉、页脚和文章注入

提供最优质的资源集合

立即查看 了解详情