[WordPress] 外掛分享: Simple AMP

前言介紹

  • 這款 WordPress 外掛「Simple AMP」是 2016-10-22 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2016-10-25,距離現在已有 3113 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.7 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

m_uysl |

外掛標籤

amp | google | mobile | accelerated mobile pages |

內容簡介

一個簡單卻強大的外掛程式,可以根據目前的模板自動生成 AMP 頁面。

特點

非常簡單,不需要任何配置。
適用於所有使用 WordPress 模板的頁面。

進階使用與篩選器

如果您需要條件檢查,請使用 Simple_AMP_Helper::is_amp_endpoint()。
默認終端點為 amp,但您可以通過 simple_amp_query_var 篩選器進行更改。
您可以使用 simple_amp_html_output 篩選器修改 HTML 輸出。
您可以使用 simple_amp_output 篩選器修改 AMP 輸出。
您可以使用 simple_amp_template 篩選器使用自定義模板文件。
使用 simple_amp_debug 篩選器進行驗證問題和修復。

PHP 要求:此外掛僅適用於 PHP 5.6 及以上版本

鳴謝

AMP 外掛程式提供了靈感
amp-library 用於將 HTML 轉換為 AMP

貢獻

歡迎在 Github 上提交拉取請求。

原文外掛簡介

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

AMP plugin for inspiration
amp-library for converting HTML to AMP

Contributing
Pull requests are welcome on Github

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Simple AMP」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1.0 | 0.1.1 | trunk |

延伸相關外掛(你可能也想知道)

  • Site Kit by Google – Analytics, Search Console, AdSense, Speed 》Site Kit是Google官方的WordPress外掛程式,提供有關人們如何尋找和使用您的網站的洞察。Site Kit是一站式解決方案,可部署、管理並獲取關鍵Google工具的見解...。
  • Google for WooCommerce 》, Google Listings & Ads可讓您輕鬆地向Google平台上的購物者展示您的產品。無論您是數位廣告的新手還是市場營銷專家,您都可以通過免費和廣告來擴大您的...。
  • GTM4WP – A Google Tag Manager (GTM) plugin for WordPress 》Google Tag Manager (GTM) 是 Google 免費工具,讓每個人都能使用直覺的網頁 UI 管理並部署分析和行銷標籤,以及其他程式碼片段。欲瞭解更多此工具信息,請前...。
  • Widgets for Google Reviews 》onal version of our review software, you can:, , , Display unlimited Google Reviews, Customize widget design and behavior, Respond to reviews direc...。
  • GA Google Analytics – Connect Google Analytics to WordPress 》t connects your WordPress website to Google Analytics. It supports Universal Analytics (analytics.js), Global Site Tag (gtag.js), and Google Analyt...。
  • OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy. 》, 使用 Google 的字型服務,怎麼可能與 GDPR 不符呢?事實上,當使用者的瀏覽器要求字型時,他們的 IP 會被 Google 記錄並用於分析。, — Lifehacker, , OMG...。
  • Nextend Social Login and Register 》ge and registration form, link the social accounts to the existing WordPress user accounts or create new users if necessary, enable users to link t...。
  • Widgets for Google Reviews 》iews plugins:, , Facebook Reviews Bundle - display Facebook business reviews on your website using official Facebook API, Yelp Reviews Bundle - dis...。
  • Local Google Fonts 》將使用的 Google 字體儲存在您的伺服器上,讓您的網站更符合 GDPR 條例 💯。, 約有 5,000 萬*個網站使用 Google Fonts,而在 2022 年一家德國法院裁定使...。
  • Web Stories 》Web Stories 是一種免費、開放網絡的視覺故事格式,讓您能夠輕鬆地創建具有引人入勝的動畫和可點擊互動的視覺敘事,並讓讀者沉浸在優美且快速加載的全屏體驗...。
  • AI Powered Marketing 》k a Google Merchant Center Account, With Kliken, you can easily create or link a Google Merchant Center Account and optimize your product feeds wit...。
  • Simple Google reCAPTCHA 》Simple Google reCAPTCHA將保護您的WordPress!您可以在默認的v2復選框和v3(如隱形reCAPTCHA)之間進行選擇。, 不再有垃圾評論和針對用戶帳戶的暴力攻擊。小...。
  • Login No Captcha reCAPTCHA 》此外掛新增了 Google 無人類驗證功能的勾選框,可應用於您的 WordPress 和 Woocommerce 登錄、忘記密碼及使用者註冊頁面,讓人類使用者輕鬆透過勾選框登入,...。
  • Analyticator 》檢查最新的 WordPress 優惠,適用於您的網站。, Google Analyticator 讓您輕鬆在 WordPress 儀表板中查看 Google Analytics 數據。這樣就不需要編輯您的佈景...。
  • Simple Calendar – Google Calendar Plugin 》Simple Calendar 是將 Google 日曆事件添加到 WordPress 網站上最簡單的方法。快速設置。細調到您的需求。適用於手機的響應式設計。, Simple Calendar 功能, ...。

文章
Filter
Apply Filters
Mastodon