[WordPress] 外掛分享: Alligator Popup

WordPress 外掛 Alligator Popup 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Alligator Popup」是 2013-10-06 上架。
  • 目前有 2000 個安裝啟用數。
  • 上一次更新是 2024-04-16,距離現在已有 383 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.9 以上版本才可以安裝。
  • 有 45 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

numeeja |

外掛標籤

popup | jquery | popups | shortcode | popup window |

內容簡介

這款外掛允許您輸入簡碼以添加頁面/文章中的連結,這些連結將在彈出窗口中打開。 Alligator popup 中的選項只能在簡碼中輸入,因此該外掛沒有管理頁面。

簡碼:

在帖子或頁面文字中希望出現鏈接的位置添加簡碼。簡碼有 url、高度和寬度等參數,應該採用以下格式:

[popup url="https://cubecolour.co.uk/wp" height="300" width="300" scrollbars="yes" alt="popup"]Link Text[/popup]

輸入您自己的鏈接文本,以及用於彈出窗口的 url、寬度和高度值,以及鏈接的 alt 文本。

如果未輸入 alt 文本、高度和寬度的值,則會使用寬高為 400 像素的預設彈出窗口值。

捲軸默認啟用,如果在簡碼中未添加捲軸參數,則會顯示捲軸。如果不希望彈出窗口上出現捲軸,請在簡碼中添加參數 scrollbars="no": scrollbars="no"

如果未輸入 alt 文本的值,則連結中將使用空 alt 標籤。

HTML 鏈接:

除了使用簡碼外,您還可以按以下格式包含您的鏈接:

Link Text

這對於文字小工具可能很有用,或者您可以在主題的模板文件中建立鏈接。

注意事項:

如果您使用任何其他帶有名稱為“popup”的簡碼的外掛程序(或主題),則無法使用此外掛程序。這不是因為該外掛程序的任何缺陷,而是因為應該使用插件而不是主題來實現像創建彈出鏈接等的簡碼。

在不使用瀏覽器窗口的移動設備上(例如 iPad),該鏈接將在新標籤中打開。

此插件是根據一位 WordPress.org 論壇用戶的帖子而編寫的,該用戶承諾如果他的創建彈出窗口的問題得到解決,他將與鱷魚搏鬥。

原文外掛簡介

This plugin allows you to enter a shortcode to add links to pages/posts which will be opened in a popup window. The only options in Alligator popup are entered in the shortcode, so there is no admin page for this plugin.
Shortcode:
Add a popup shortcode where you would like a link to appear within your post or page text. The shortcode has parameters for url, height and width and should be in the format:
[popup url="https://cubecolour.co.uk/wp" height="300" width="300" scrollbars="yes" alt="popup"]Link Text[/popup]

Include your own Link Text and values for the url the width & height of the popup, and the alt text fot the link.
If no values are entered for the alt text and the height and width, defaults of 400px are used for the width & height of the popup window.
Scrollbars are enabled by default and will show if the scrollbars parameter is not added to the shortcode. If you do not want scrollbars on your popup window, add the scrollbars parameter with the value “no” to the shortcode: scrollbars="no"
If no value is entered for the alt text, an empty alt tag will be used in the link.
HTML Link:
Instead of using the shortcode you can include your link in the format:
Link Text

This might be useful in a text widget, or you can build the link in a template file of your theme.
Note:
If you are using any other plugin (or a theme) that uses a shortcode with the name ‘popup’, you will not be able to use this plugin. This is not because of any shortcoming in this plugin, but because shortcodes such as those to create popup links should always be implemented in a plugin not a theme.
On mobile devices such as iPads which don’t use browser windows, the link will open in a new tab.
This plugin was written in response to a post by a WordPress.org forum user who promised to wrestle an alligator if his problem with creating popups was solved.

各版本下載點

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

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


1.0.0 | 1.0.1 | 1.1.0 | 1.1.1 | 1.1.2 | 1.2.0 | 1.2.1 | 2.0.0 | trunk |

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

  • WP Shortcodes Plugin — Shortcodes Ultimate 》Shortcodes Ultimate 是一個全面的視覺與功能性元素收集,您可以在文章編輯器、文字小工具甚至是範本檔案中使用。使用 Shortcodes Ultimate,您可以輕鬆地建...。
  • MW WP Form 》MW WP Form 可以使用 shortcode 創建帶有確認畫面的郵件表單。, , 使用 shortcode 創建表單, 可以使用確認頁面。, 頁面可以使用相同的 URL 或個別的 URL 進行...。
  • Shortcoder — Create Shortcodes for Anything 》Shortcoder 外掛可讓您建立 HTML、JavaScript、CSS 和其他代碼片段的自訂捷徑。現在,這些捷徑可以在文章/頁面中使用,並且該片段將取代其位置。, ✍ 輕鬆建立...。
  • Display Posts – Easy lists, grids, navigation, and more 》Display Posts 讓您輕鬆地列出網站上的所有內容。首先在內容編輯器中新增此短碼,以列出最近的文章清單:, [display-posts], , 按類別篩選, 若只想顯示特定類...。
  • Widget Shortcode 》這個短碼需要小工具的ID,但不需要猜測,外掛會為你生成代碼。如果你想要覆蓋小工具的標題,你可以使用 "title" 參數:, [widget id=”text-1″...。
  • Woody code snippets – Insert Header Footer Code, AdSense Ads 》需要專業的支援嗎?, 免費獲取支援, 開始獲得高級支援, , 停止反覆使用相同的內容!, 停止插入 function.php 中的 PHP 代碼!, 停止將 Google Analytics、Yan...。
  • Column Shortcodes 》此外掛提供簡單易用的短碼,在您的文章或頁面中輕鬆創建欄位。有時候,您只需要將網頁切成不同的欄位。使用此外掛,您只需選擇一個欄位的短碼,便可將欄位加...。
  • amr shortcode any widget 》使用shortcode將小工具或多個小工具或整個小工具區域(側邊欄)插入到頁面中。, 首先在正常的側邊欄中設置小工具。 檢查它是否正常運作。, 然後將所選小工具...。
  • Shortcode in Menus 》此外掛讓你可以在 WordPress 導覽選單中使用簡碼,以便可以動態生成連結。也可以讓你在導覽選單中添加完整的 HTML 段落。, 使用方法, 查看截圖。, 另外,查看...。
  • Sidebar Widgets by CodeLights 》❗ 很抱歉,由於 SiteOrigin 的 widgets API 完全更改,CodeLights 不再支援 SiteOrigin Page Builder 的原生使用。解決方案:您仍然可以在純文字編輯器中創...。
  • Advanced iFrame 》看起來您正在尋找一個 WordPress 外掛 - Advanced iFrame Pro。這個外掛可讓您使用 iframe 包含其他網頁到您的網站中,同時具有隱藏和修改元素、自動調整高度...。
  • Insert Pages 》Insert Pages 可讓您使用 Shortcode API,將任何 WordPress 內容(例如,頁面、文章、自訂文章類型)嵌入其他 WordPress 內容。它還包括一個小工具,可將頁面...。
  • Shortcodes by Angie Makes 》Shortcodes by Angie Makes 外掛為您的 WordPress 主題新增一系列易於使用的短碼,這些短碼與 Angie Makes WordPress 主題 完美搭配。, 範例, 請到此查看這些...。
  • Team Members 》這個外掛會為管理員面板增加一個「團隊」區塊,讓您可以輕鬆地在網站上展示您的員工/職員。您可以快速地將成員加入您的團隊,加入他們的照片、職位、個人簡介...。
  • Post Snippets – Custom WordPress Code Snippets Customizer 》, 建立自訂短碼和可重複使用的內容,並將它們插入到您的文章和頁面中。, , 此外掛讓您建立 HTML、PHP 程式碼或常用文字片段的庫。在文章和頁面中,您可以使用...。

文章
Filter
Apply Filters
Mastodon