
前言介紹
- 這款 WordPress 外掛「Alligator Popup」是 2013-10-06 上架。
- 目前有 2000 個安裝啟用數。
- 上一次更新是 2025-06-23,距離現在已有 248 天。
- 外掛最低要求 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 鏈接:
除了使用簡碼外,您還可以按以下格式包含您的鏈接:
<a href="https://cubecolour.co.uk/wp" class="popup" data-height="300" data-width="300" data-scrollbars="0" alt="my link text">Link Text</a>
這對於文字小工具可能很有用,或者您可以在主題的模板文件中建立鏈接。
注意事項:
如果您使用任何其他帶有名稱為“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 |
延伸相關外掛(你可能也想知道)
Enable jQuery Migrate Helper 》隨著 WordPress 5.5 的更新,一個名為 jquery-migrate 的遷移工具不再默認啟用。這可能會導致一些主題或外掛在運行舊代碼時缺少功能或出現意外行為。, 此外掛...。
WP Featherlight – A Simple jQuery Lightbox 》WP Featherlight 是一個 WordPress 外掛,可為您的WordPress 網站添加一個極簡、高效、響應式 jQuery 燈箱。在其核心,WP Featherlight是一個用於 Featherlig...。
Animate It! 》在你的內容中添加炫酷的CSS3動畫效果。, 演示 | 文件 | Class Generator, , 一些主要功能包括:, , 允許用戶在文章、小工具和頁面中應用CSS3動畫。, 50多種進...。
Scroll To Top 》這個外掛可以自動啟用一個客製化且靈活的「回到頂部」按鈕到您的 WordPress 網站,讓您的訪客只需點擊一下,即可將網頁滾動回頂端!, 功能包括:, , 無需設置...。jQuery Updater 》此外掛更新jQuery至最新的官方穩定版本,該版本通常不會在WordPress最新的穩定版本中提供。, jQuery Migrate也包含在內,以實現向下相容性。, 不會替換任何檔...。
jQuery Colorbox 》查看最新的 WordPress 外掛優惠。, 一个用于 WordPress 的 Colorbox/Lightbox 外掛。, jQuery Colorbox 提供了 11 个不同的主题可供选择。请查看我的网站。, ...。WordPress Countdown Widget 》這是一個 WordPress 倒數計時外掛,可輕鬆地將倒數/計時器添加到博客文章和側邊欄中。支援易於翻譯、自訂顏色和多個實例。只需拖曳即可,無需編程!, , 你可以...。
Use Google Libraries 》e's content distribution network (CDN) URLs for the supported libraries., This hook is used to replace the default WordPress registered script sour...。
Scroll Back To Top 》Scroll Back to Top 是一個 WordPress 外掛,它會在使用者向下滾動頁面時出現一個按鈕,允許使用者回到頁面頂部。外掛已經預先設定好,啟用後即可使用。該外...。
Meteor Slides 》Meteor Slides 讓您輕鬆製作幻燈片並使用 shortcode、小工具或模板標籤發佈它們。 幻燈片支援響應式和流體佈景主題,可適應任何設備並支援觸控。 使用超過20...。Dynamic "To Top" Plugin 》這個 WordPress 外掛可新增一個自動的動態「回到頂部」按鈕,方便使用者輕易捲回長頁面的頂部。, 外掛有一個直覺式控制面板,可以針對每個網站的需求進行風格...。
jQuery Manager for WordPress 》管理 WordPress 網站上的 jQuery 和 jQuery Migrate,啟用特定版本的 jQuery 和/或 jQuery Migrate。這是 WordPress 上的終極 jQuery 調試工具。, , 總結:更...。
Version Control for jQuery 》jQuery 版本控制是控制網站上使用 jQuery 版本最簡單的方法之一。您可以選擇運行穩定的 WordPress 網站, 或是要在您的網站上驗證與各種 jQuery 版本的相容性...。Pojo Lightbox 》請注意:此外掛僅供Pojo Framework使用者使用。, 一個簡單的外掛,方便地將PhotoSwipe lightbox和prettyPhoto lightbox功能添加到您的WordPress貼文和頁面。,...。
jQuery Lightbox For Native Galleries 》已停用通知: 為了推薦 Jetpack 外掛 中輪播模組的使用,此外掛已停止開發。我建議您改用該外掛 - 功能更全面。, 此外掛可以讓 WordPress 相片集使用一個名為C...。
