
內容簡介
這個外掛提供對 https://www.ampproject.org/(Accelerated Mobile Pages)的支援,這是一個開源倡議,旨在提供可以在任何地方快速加載的移動優化內容。
啟用此外掛後,您網站上的所有文章都會有動態生成的符合AMP的版本,可以在平板電腦、手機和智能手機上訪問,例如:http://www.ba5nanas.com/amp/
在例子中,有代碼調試,您可以創建模板並在 functions.php 上的 amp 文件夾中查看您的模板,例如:「 define('AMP_DEBUG',true); 」。
注意 1:默認模板僅支持 single.php。
注意 2:標籤僅支持 YouTube。
注意 3:您可以在主題上創建 amp 文件夾以供模板使用。
文檔:http://www.ba5nanas.com/support/docs/plugins/project-amp/getting-started/
跟隨或參與此外掛的開發 https://github.com/Automattic/amp-wp
外掛標籤
開發者團隊
原文外掛簡介
This plugin adds support for the https://www.ampproject.org/ (Accelerated Mobile Pages), Which is an an open source initiative that aims to provide mobile optimized
content that can load instantly everywhere.
With the plugin active, all posts on your site will have dynamically generated AMP-compatible versions, accessible by Tablet , mobile and smart phone example http://www.ba5nanas.com/amp/
in the example there’s code debug you can make template and can look at your template add code on the functions.php on folder amp “define( ‘AMP_DEBUG’, true );”.
Note #1: Default template support single.php only.
Note #2: Tag Support Youtube only.
Note #3: You can create folder amp on your theme for template.
Documentation : http://www.ba5nanas.com/support/docs/plugins/project-amp/getting-started/
Follow along with or contribute to the development of this plugin at https://github.com/Automattic/amp-wp
