Plugin nebyl testován na 3 nejnovějších verzích WordPressu. Nemusí už být tedy podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může být nestabilní.

Simple AMP

Popis

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

Instalace

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.

Nejčastější dotazy

Why AMP pages looks ugly?

You should consider adding some inline css.

Why it requires PHP 5.5?

Because, Simple AMP uses amp-library

Recenze

Pro tento plugin nejsou žádné recenze.

Autoři

Simple AMP je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

Plugin „Simple AMP“ byl přeložen do 1 jazyku. Děkujeme všem překladatelům za jejich pomoc.

Přeložte “Simple AMP” do svého jazyka.

Zajímá vás vývoj?

Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.

Přehled změn

0.1.1

  • PHP 5.5 support added

0.1.0

  • Initial version