[WordPress] 外掛分享: Sponsors

WordPress 外掛 Sponsors 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Sponsors」是 2014-12-04 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 3000 個安裝啟用數。
  • 上一次更新是 2021-05-14,距離現在已有 1452 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.1.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 有 8 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

ibenic |

外掛標籤

images | partners | sponsors | post type |

內容簡介

p>你是否曾經必須為你的活動/公司合作夥伴添加一堆帶有連結的圖片?
使用 Sponsors,你不再需要使用文本小工具了。支持你、你的公司或活動的公司和人現在有了一個單獨的位置在儀表板上,你可以為每個公司和人添加鏈接和圖像。然後,你只需要將 Sponsors 小工具添加到你選擇的側邊欄中,連接的圖像就會出現在那裡。

短代码

**Sponsors**
短代码 [sponsors] 採用以下選項:
* images(yes|no,默認為 yes)
* image_size(medium|full|thumbnail|large|[任何已註冊的圖像大小],默認為 medium)
* description(yes|no,默認為 no)
* max(number,默認為 none,顯示所有條目)
* title(yes|no,默認為 no)
* category(category-slug,默認為 all)
* with_categories(yes|no,默認為 no)
* category_title(用於分類標題的 HTML 標籤,默認為 h3)
* size(small|medium|large|full,默認為 medium)
* slider_image(full|default,默認為 full)- 如果是 full,圖像將佔滿整個寬度。
* style(list|grid|slider,默認為 list)
* order(ASC|DESC,默認為 ASC)
* orderby(menu_order|post_title|…,默認為 menu_order)
* adaptiveheight(1|0,默認為 1)- 可用於 style=slider
* autoplay(1|0,默認為 1)- 可用於 style=slider
* autoplayspeed(number,默認為 3000)- 可用於 style=slider
* arrows(1|0,默認為 1)- 可用於 style=slider
* centermode(1|0,默認為 0)- 可用於 style=slider
* dots(1|0,默認為 0)- 可用於 style=slider
* infinite(1|0,默認為 1)- 可用於 style=slider
* slidestoshow(number,默認為 1)- 可用於 style=slider
* slidestoscroll(number,默認為 1)- 可用於 style=slider
* variablewidth(number,默認為 0)- 可用於 style=slider
* breakpoints(字符串)- 可用於 style=slider

當使用 with_categories 時,它會按照適當的類別顯示贊助商。
屬性 size 用於定義列的大小。未來版本將會有更多樣式更新。

如果你想使用滑块,在不同的屏幕尺寸上顯示不同數量的圖像,你可以使用 breakpoints 屬性。
例如,我們希望在大屏幕上顯示 3 張圖像並在點擊時滑動 3 張圖像。然後在 640px 查看中,我們想顯示 2 張圖像並滑動 2 張圖像。在 480px 查看中,我們只想要 1 張圖像,並且只想要滑動 1 張圖像。
我們會這樣使用短代碼:

[sponsors style=slider arrows=1 image_size=full slidestoscroll=3 slidestoshow=3 breakpoints=480;1;1|640;2;2]

屬性 breakpoints 使用格式 "screen_px;images_to_show;images_to_slide"。對於多個斷點,我們使用 "|" 進行分隔。
在上面的示例中,我們分隔了 2 個斷點,480 像素和 640 像素。
對於 480 像素,我們設置要顯示的圖像數為 1,要滑動的圖像數為 1。
對於 640 像素,我們設置要顯示的圖像數為 2,要滑動的圖像數為 2。

**表單**
這個短代碼將顯示一個表單,這樣潛在的贊助商就可以提交他們的信息。
使用此表單輸入的每個贊助商都會變成草稿,因此它們不會立即顯示。
你可以發布它們,或發送電子郵件以獲取他們的徽標。

短碼 [sponsors_acquisition_form] 將允許你這樣做。這裡使用的字段包括:

名稱
電子郵件(以便你可以向他們發送關於他們的提交的電子郵件)
描述
鏈接

原文外掛簡介

Ever had to add a bunch of images with links on them for your event/company partners?
With Sponsors, you won’t have to use a text widget for that anymore. The companies and people that support you, your company or your event now get a separate place in the dashboar where you can add a link and an image for each of them. Then you add the Sponsors widget to the sidebar of your choosing and the linked images will show up there.
Shortcodes
** Sponsors **
The shortcode [sponsors] takes the following options:
* images (yes|no, default: yes)
* image_size (medium|full|thumbnail|large|[any registered image size], default: medium)
* description (yes|no, default: no)
* max (number, default: none, showing all entries)
* title (yes|no, default: no)
* category (category-slug, default: all)
* with_categories (yes|no, default: no )
* category_title ( HTML tag for category title, default: h3)
* size (small|medium|large|full, default: medium)
* slider_image (full|default, default: full) – if full, the image will take full width
* style (list|grid|slider, default: list)
* order (ASC|DESC, default: ASC )
* orderby (menu_order|post_title|…, default: menu_order)
* adaptiveheight (1|0, default: 1) – available for style=slider
* autoplay (1|0, default: 1) – available for style=slider
* autoplayspeed (number, default: 3000) – available for style=slider
* arrows (1|0, default: 1 ) – available for style=slider
* centermode (1|0, default: 0 ) – available for style=slider
* dots (1|0, default: 0 ) – available for style=slider
* infinite (1|0, default: 1 ) – available for style=slider
* slidestoshow (number, default: 1 ) – available for style=slider
* slidestoscroll (number, default: 1 ) – available for style=slider
* variablewidth (number, default: 0 ) – available for style=slider
* breakpoints (string) – available for style=slider
When with_categories is used, it will show sponsors under their appropriate categories.
The attribute size is used to define the size of the columns. More style updates will come in future versions.
If you want to use the slider and show different number of images on different screen sizes, you can use the breakpoints attribute.
For example, we want to show 3 images on large screens and slide 3 images on click. Then on 640px view, we want to show 2 and slide 2 images. And on 480px view, we want only 1 image and 1 image to slide.
We would use the shortcode like this:
[sponsors style=slider arrows=1 image_size=full slidestoscroll=3 slidestoshow=3 breakpoints=480;1;1|640;2;2]
The attribute breakpoints uses format “screen_px;images_to_show;images_to_slide”. Then for multiple breakpoints, we separate them by “|”.
In the above example we have separated 2 breakpoints 480px and 640px.
For 480px, we set 1 for images to show and 1 for images to slide.
For 640px, we set 2 for images to show and 2 for images to slide.
** Form **
This shortcode will display a form so potential sponsors can submit their information.
Each Sponsor entered with that form will become a Draft so they won’t be displayed immediately.
You can publish them, or send them an email to get their logo as well.
Shortcode [sponsors_acquisition_form] will allow it. Fields that are used here are:

Name
Email (so you can email them about their submission)
Description
Link

Available attributes:

fields – separate field keys with comma,
fields_labels – separate field labels with comma,
button – Button text.

Each defined field will be a textarea. For example, you can add more fields like this:
[sponsors_acquisition_form fields=about,what fields_labels=About,What?]
Planned Features
Here are some of the features planned for future versions:

Category ordering
Documentation Page
Front optimizations
Elementor Blocks

Simple Sponsorships
This plugin is fully compatible with Simple Sponsorships.
If you want to accept payments from sponsors on your site and have a way to define different packages and automate the whole process, try Simple Sponsorships.

各版本下載點

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

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


1.1 | 1.2 | 1.3 | 1.4 | 1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.3.0 | 1.3.1 | 1.5.0 | 1.5.1 | 1.6.0 | 1.7.0 | 1.8.0 | 1.8.1 | 1.8.2 | 1.8.3 | 1.8.4 | 1.8.5 | 1.9.0 | 1.9.1 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.1.0 | 2.2.0 | 2.2.1 | 2.2.2 | 2.2.3 | 2.3.0 | 2.3.1 | 2.3.2 | 2.3.3 | 2.5.0 | 2.5.1 | 3.0.0 | 3.1.0 | 3.1.1 | 3.2.0 | 3.4.0 | 3.5.0 | trunk |

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

  • Autoptimize 》Autoptimize 能夠輕鬆優化您的網站。它可以整合、縮小和快取腳本和樣式表,在默認情況下向頁面 head 中注入 CSS,但也可以內嵌關鍵 CSS 並延遲整合的完整 CSS...。
  • WebP Express 》ch means less bandwidth usage and faster page load times., Easy to use - with little effort, WordPress site admins can have their site serving auto...。
  • Recent Posts Widget With Thumbnails 》列出最新的文章標題、縮略圖、摘要、作者、類別、日期等等!, 雖然此外掛僅建立在小工具區域,但使用者報告說它在 Elementor 和 Oxygen 上運作順暢。但它是否...。
  • Modern Image Formats 》外掛介紹:此外掛可在 WordPress 應用程式中增加 WebP 支援,但僅針對新上傳的影像檔案轉換成 WebP 格式,現有檔案不會轉換。預設情況下,WebP 只會針對 JPEG...。
  • Responsive Lightbox & Gallery 》提供完整的 WordPress 相簿外掛所需一切, Responsive Lightbox and Gallery 外掛是一個全功能的 WordPress 相簿外掛,擁有強大的拖放相簿生成器和 Lightbox ...。
  • Lightbox & Modal Popup WordPress Plugin – FooBox 》FooBox是第一個嚴肅考慮響應式佈局的燈箱。它不僅會將圖片縮放以在手機上呈現更好的效果,還會重新排列按鈕控制,使其在縱向或橫向的方向上都展現出色的外觀...。
  • Media Cleaner: Clean your WordPress! 》Media Cleaner 是一個強大的外掛,它可以幫助你清理 WordPress 媒體庫中未使用的媒體條目和文件,以及修復損壞的條目。內置回收站功能讓你可以在永久刪除之前...。
  • Media Library Assistant 》媒體庫助手提供多個增強功能,方便管理媒體庫,其中包括:, , , , [mla_gallery] 短碼,在文章、頁面或自訂文章類型中使用,添加圖片和/或其他媒體庫項目(...。
  • Image Placeholders 》總結:, 這個外掛可以在WordPress的媒體庫中確定並儲存新上傳圖片的主要顏色,並且利用它在前端建立一個相應顏色的佔位背景,在圖片加載之前可見。, , 問題與...。
  • Image Watermark 》Image Watermark 外掛能讓您自動給 WordPress 媒體庫上傳的圖片打上浮水印,也可大量添加浮水印到之前上傳的圖片之中。, 欲進一步瞭解,請前往dFactory的外掛...。
  • FancyBox for WordPress 》本外掛能讓FancyBox輕鬆整合到您的部落格:上傳,啟用,完成。您也能選擇進行更多的設置。, 您幾乎可以對Fancybox lightbox的所有屬性進行自定義:邊框、邊緣...。
  • Crop-Thumbnails 》此外掛提供調整裁切圖像的裁切區域功能。它會在編輯頁面和媒體對話框中添加按鈕,以便進入裁剪編輯器。, 在裁剪編輯器中,您可以選擇一個或多個(如果它們具...。
  • Clean Image Filenames 》這個外掛可以在您上傳至媒體庫時自動將檔名中的語言重音符號轉換。轉換後的字符將會變成網頁和伺服器友好、無語言重音的字元。, 功能, , 將瑞典語、丹麥語、...。
  • Enhanced Responsive Images 》這個外掛程式實現了將 sizes="auto" 加入到懶加載圖片的 HTML 規格。, 相關背景資訊請參考:https://github.com/whatwg/html/issues/4654。, , 問...。
  • Optimus – WordPress Image Optimizer 》WordPress圖片優化器, Optimus可自動降低已上傳媒體檔案的檔案大小。根據圖片和格式,可以減少高達70%的大小。每張圖片可以節省數千位元組,這些節省可以對博...。

文章
Filter
Apply Filters
Mastodon