このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Simple AMP

説明

A ridiculously simple yet powerful plugin that automatically generates AMP pages based on current template.

Features

  • It is extremely simple, no configuration needed.
  • Works for all pages which uses WordPress template.

Advanced Usage & Filters

  • If you need conditional check, use Simple_AMP_Helper::is_amp_endpoint()
  • Default endpoint is amp but you can change it via simple_amp_query_var filter
  • You can modify HTML output by using simple_amp_html_output filter
  • You can modify AMP output by using simple_amp_output filter
  • You can use custom template file by using simple_amp_template filter
  • Use simple_amp_debug filter for validation issues and fixes

PHP requirement: This plugin only works with PHP 5.6 and above

Credits

Contributing

Pull requests are welcome on Github

インストール

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from admin’s Plugins page.

FAQ

Why AMP pages looks ugly?

You should consider adding some inline css.

Why it requires PHP 5.5?

Because, Simple AMP uses amp-library

評価

このプラグインにはレビューがありません。

貢献者と開発者

Simple AMP はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Simple AMP” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Simple AMP” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.1.1

  • PHP 5.5 support added

0.1.0

  • Initial version