Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

AMP Post Script

Описание

In short, this plugin make custom modifications to the AMP plugin.

  • The AMP plugin settings can be customized here: /wp-admin/customize.php?customize_amp=1
  • Add a custom menu to AMP… update it through (/wp-admin/nav-menus.php)
  • Add related articles based on similar categories. Taxonomy can be changed using…. define(‘PS_AMP_RELATED_TAXONOMY’, ‘category’);
  • Add Google Analytics to AMP view using…. define(‘PS_AMP_GA_ANALYTICS’, ‘UA-xxxxxxxx-x’);
  • Override post type support using…. define(‘PS_AMP_ADDITIONAL_POST_TYPES’, ‘events,news,locations,wpseo_locations,tribe_events’);
  • Disable Related Posts Using…. define(‘PS_AMP_DISABLE_RELATED_POSTS’, true);
  • Use Site Icon for AMP metadata image if no image present
  • Added required CSS for these additions

Установка

  1. Upload post-script-amp folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«AMP Post Script» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «AMP Post Script» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.0

  • Initial release

1.1.0

  • Bug Fixes
  • Fix to Genesis Framework incompatibilities
  • Added amp support for pages (and a few customizations)
  • Added amp support for multiple other post types, including other plugins such as ( wpseo_locations | tribe_events )

1.2.0

  • Bug Fixes
  • Fix general incompatibilities
  • Added amp support for editable post-types by defining them in your theme
  • Ability to disabled the related post feature
  • Removed all wp_footer actions, which can cause validation errors

1.3.0

  • Bug Fixes
  • Update CSS

1.4.0

  • Removed «pages» as a default post type, can be added back manually, see plugin «description»

1.4.1

  • Cleaned up class and methods construction

1.5.0

  • Restructured the plugin code to give it a better namespace to avoid any potential conflicts
  • Better documented plugin code

1.5.1

  • Plugin compatibility fixes

1.5.2

  • Plugin/css compatibility fixes

1.5.3

  • Improvements to «related posts» functionality

1.5.6

  • Bug Fixes

1.6.0

  • Add Alt Tags to Related Posts

1.7.3

  • Fix AMP html structure
  • Misc Bug Fixes

1.7.4

  • Misc Bug Fixes

1.7.5

  • Fixed issue where title tag does not appear