Add to All – Headers, Footers, Everywhere

外掛說明

Add to All is a simple, yet powerful plugin that will allow you to add HTML, JavaScript or CSS to your header, footer, content or feed.

The Snippets Manager introduced in v1.7.0 also allows you to add create and manage custom snippets of code that can be added to the header, footer and content. You can selectively include this based on different criteria including specific post IDs, post types and/or categories/tags.

It comes with out of the box support for Google Analytics, Statcounter and Tynt. Additionally, it supports site verification for Google, Bing and Pinterest via their HTML tag methods.

If you have any script that isn’t supported by Add to All currently, you can just add the code to the Header, Content or Footer sections.

Add to All includes a copyright notice that can be automatically added your feed. Additionally, you can also add in a link to your post as well as any other HTML or text that you might want.

With this plugin installed, you do not need to edit your theme files every time you switch themes.

Key features

  • Snippets manager: Create custom snippets that can be added to Header, Footer and Content based on inclusion criteria
  • Add any HTML or JavaScript code to your header, content, footer and feed
  • Inbuilt support for Google Analytics, Statcounter and Tynt
  • Site verification for Google, Bing and Pinterest
  • Add custom CSS code to your header
  • Add a copyright notice and a link to the post in your site’s feed
  • Tonnes of actions and filters to easily extend the plugin.

螢幕擷圖

  • Snippets Manager
  • General Options
  • 3rd Party Options
  • Header Options
  • Content Options
  • Footer Options
  • Feed Options

安裝方式

WordPress install

  1. Navigate to Plugins within your WordPress Admin Area

  2. Click “Add new” and in the search box enter “Add to All” and select “Keyword” from the dropdown

  3. Find the plugin in the list (usually the first result) and click “Install Now”

Manual install

  1. Download the plugin

  2. Extract the contents of add-to-all.zip to wp-content/plugins/ folder. You should get a folder called add-to-all.

  3. Activate the Plugin in WP-Admin.

  4. Goto Settings » Add to All to configure

常見問題集

If your question isn’t listed here, please post a comment at the WordPress.org support forum. I monitor the forums on an ongoing basis. If you’re looking for more advanced paid support, please see details here.

If you would like a feature to be added, or if you already have the code for the feature, you can let me know by posting in this forum or creating an issue in the Github repository.

使用者評論

2021 年 1 月 7 日 1 則留言
This is one of those plugins that everyone needs. It's not flashy or glamorous - it just works...
2018 年 8 月 30 日 1 則留言
Would be better if it distinguished between posts and pages. If you want to add only to posts, you have to manually exclude all of your pages.
2018 年 8 月 29 日 1 則留言
Great plugin Ajay D'Souza !
2018 年 7 月 12 日 1 則留言
This saved me a lot of time and effort in customizing my Wordpress site. Thank you!
2016 年 12 月 11 日 3 則留言
Since the layout of Add to All has been changed, I have a big problem. The favicon and statcounter codes do not work anymore. They are not seen as HTML. So now, I have to remove the plugin and replace it on about 60+ websites. This sucks... 🙁
閱讀全部 10 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Add to All – Headers, Footers, Everywhere〉的開發相關工作。

參與者

變更記錄

1.8.0

Release post: https://webberzone.com/blog/add-to-all-v1-8-0/

  • New feature:

    • New constant ATA_DISABLE_SNIPPETS can be added to your wp-config.php to disable snippets. Perfect for WordPress multisite
    • New placeholder %updated_time% to display the updated date
    • New feature to display the estimated reading time. You can use %reading_time% in the Settings page. Alternatively use the shortcode [ata_reading_time] to display the reading time
  • Enhancements/modifications:

    • Upgraded Settings_API to v2

1.7.3

Release post: https://webberzone.com/blog/add-to-all-v1-7-0/

  • Bug fixes:
    • Feed copyright placeholders were not processed

1.7.2

  • Bug fixes:
    • Fixes PHP error introduced in v1.7.1

1.7.1

Release post: https://webberzone.com/blog/add-to-all-v1-7-0/

  • Bug fixes:
    • Process shortcodes didn’t work
    • Snippets HTML was added into content were added even when no snippet was found

1.7.0

Release post: https://webberzone.com/blog/add-to-all-v1-7-0/

  • Features:
    • New Settings API class to control the plugins settings
    • New Snippets Manager – create custom snippets that can be added to Header, Footer and Content based on inclusion criteria

Check changelog.txt for older entries the Releases page on Github