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
- in the page footer (just before the tag)
- recognize and execute PHP code to add logic to your injections
- distinct desktop and mobile injections
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
- Just after the opening BODY tag
- In the middle of post content (using configurable rules)
- Everywhere on template (using placeholders)
The specific bbPress injections are going to be removed. Switch to my
Ads for bbPress, which is more flexible and complete.
This plugin cannot change the menu or the footer layout, those features must be covered by your theme!
Official page: Header and Footer.
- Go into the WordPress admin interface and activate the plugin
- Optional: go to the options page and configure the plugin
FAQs are answered on Header and Footer page.
“页眉、页脚和文章注入” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- Removed obsolete code
- Escaped added to fixed and translated strings
- Possible security fix
- Updated meta information
- Fixed a couple of links in readme.txt
- Updated compatibility with WP 5.7
- Fixed a PHP notice on admin side when creating a new page
- Restored controls of per post injection
- Compatibility check with latest WP
- Moved to PHP 5.6 syntax
- Fixed check_admin_referrer action
- Fixed wrong injection in amp pages
- Performance optimization
- Removed obsolete code
- Improved AMP support
- (Temporary) removed metaboxes (they were not working anyway)
- General compatibility check with latest WP
- Fixed a debug notice
- Privacy section in the readme.txt
- Removed the Facebook setting (move to a specialized plugin to have the Facebook Open Graph Meta)
- Removed bbPress setting (please use bbpress ads)
- Removed notices
- 5 post injections and 5 generic injections