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

Ad Short

描述

Shortcode for placing adsense ads within pages and posts.

Comes with 6 built in ad types that can each use a different adsense ad slot id.

Types:

Square (square)

Above Fold Square (msquare)

Banner (banner)

Vertical Links (vlink)

Horizontal Links (hlink)

Mobile Banner (mbanner)

Large Mobile Banner (lmbanner)

Tries to fit in with responsive layouts. I’d like to know of any issues there. The above fold square type changes into a 320×50 ad on mobile screens

In the post editor there is a new “Carrot” button in the visual editor as well as split out buttons in the code editor.

Supporting future development

If you like Ad Short, please rate and review it here in the WordPress Plugin Directory. If you like, you may Donate. Thank you!

屏幕截图

  • Ad Short Settings panel
  • Rich Text Editor Carrot button
  • Text/Code Editor Buttons

安装

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. In the plugins panel click (or Tools -> Ad Short) settings.
  4. Add your Adsense client/publisher ID
  5. Create ads of appropriate type in Adsense
  6. For each ad type you created, add its ID into the plugin settings
  7. Save

You are now ready to begin using the plugin in the post or page editor.

常见问题

Where is my Adsense Publisher ID?

While logged into Adsense, click your email in the top right to reveal your Publisher ID.

How do I get Ad IDs?

In Adsense, click “My Ads” > “New Ad Unit”. Create an add for the desired type. Back on the “My Ads” screen, you will see your ad and copy the text under the “ID” column.

I’ve done all you asked and added ads to a page and they aren’t showing?

Ensure your Publisher ID is correct. Ensure Ad IDs are correct. Ensure you inserted your shortcodes into your post or page. Ensure your site is allowed to display ads (in adsense settings). If your ad IDs are new, wait at least an hour and refresh the page.

评价

此插件暂无评价。

贡献者及开发者

「Ad Short」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Ad Short」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

2.0.1

  • Added a new square type ad to be used above the fold on mobile devices. It will turn into a 320×50 ad to comply with adsense policies

2.0.0

  • Public Release