[WordPress] 外掛分享: Wueen

WordPress 外掛 Wueen 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Wueen」是 2025-01-26 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2025-01-27,距離現在已有 96 天。
  • 外掛最低要求 WordPress 4.8 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

nabeghe |

外掛標籤

post | post type | shortcode | content block | shared-content |

內容簡介

### Wueen WordPress 外掛總結:
- 有時候,您需要在多個文章中使用相同的內容作為共享內容。共享內容可以節省時間,但複製和粘貼的傳統方法並不理想。以下是原因:
- 編輯麻煩。如果內容在多個文章中複製,進行更新變得耗時且令人沮喪。
- 文章大小變得臃腫。如果共享內容較長並在多個文章中使用,可能會不必要地增加數據庫的大小。
- 這就是 Wueen 外掛登場的時刻!通過簡單的短代碼和 wueen-blocket 自訂文章類型,您可以優化這個過程。以下是它的操作方式:

### 問題與答案:
1. 如何使用 Wueen 外掛創建共享內容?
- 在管理儀表板選單中,導航至「Wueen Blockets」並點擊「新增 Blocket」。
- 輸入標題和您的內容。注意:標題僅用於組織目的,不會顯示在前端。

2. 如果內容包含重複或動態值,應如何定義變數?
- 您可以使用「Wueen Blocket Variables」元框定義它們。
- 以小寫字母命名變數,將空格用連字符(-)替換。
- 在內容中,使用花括號({})包裹變量名稱。
- 例如,如果您的變數名稱是版本,則在內容中包含 {version} 以動態替換它。

3. 如何複製並使用短代碼(Shortcode)?
- 您可以在發布元框下找到短代碼。它看起來像這樣:
````html
[wueen-blocket id="POST_ID"][/wueen-blocket]
````
- 複製這個短代碼,可以在需要的地方使用。

4. 介紹短代碼的結構及其附加屬性。
- id 屬性是必填的,其他屬性可以自定義功能:
- content-position:接受 after 或 before。默認值為 after。指定短代碼內容應在指定 ID 的內容之前或之後顯示。
- shortcode:接受 on 或 off。默認值為 on。控制是否執行共享內容中的任何短代碼。
- err-404:如果未找到 ID,指定錯誤消息。默認值為「Wueen Blocket {id} 未找到」。
- 以 v- 開頭的自定義屬性:覆蓋變量值。例如,v-version 可以設置版本變量的新值。

原文外掛簡介

Sometimes, you need to use the same content across multiple posts as shared content. This shared content can save time, but the usual method of copying and pasting isn’t ideal. Here’s why:
– Editing is a hassle. If the content is copied across several posts, making updates becomes time-consuming and frustrating.
– Post size gets bloated. If the shared content is lengthy and used in multiple posts, it can unnecessarily increase your database size.
That’s where the Wueen plugin steps in to save the day!
With a simple shortcode and the wueen-blocket custom post type, you can streamline this process. Here’s how it works:
1- Create your shared content as a wueen-blocket post.
2- Use the shortcode, which includes the content’s unique ID, to insert it into any post, page, or widget.
Now for the cool part: You can make your content dynamic with variables!
Add key-value pairs to your wueen-blocket post, and use them inside curly braces { } within the text. When the shortcode is used, these variables will automatically be replaced with their values. And here’s the cherry on top: You can override these values directly in the shortcode to make the content even more adaptable!
With Wueen, managing shared content has never been easier—or more flexible. 😊
Features
– Custom Post Type wueen-blocket: Easily create and manage shared content.
– Variable Definition: Add key-value variables to your wueen-blocket posts and use them directly within the content.
– Shortcode Support: Insert content from any wueen-blocket post anywhere using its unique ID (post ID).
– Dynamic Variables: Override variables directly through the shortcode for added flexibility.
– Nested Shared Content: The ability to use any shortcodes within contents.
Usage

Create a New Wueen Blocket
– From the admin dashboard menu, navigate to Wueen Blockets and click on Add New Blocket.
– Enter a title and your content. Note: The title is for organizational purposes only and won’t appear on the front end.

Define Variables (Optional)
– If your content includes repetitive or dynamic values, you can define them using the Wueen Blocket Variables metabox.
– Use lowercase letters for variable names and replace spaces with hyphens (-).
– In your content, wrap the variable names in curly braces { }.
For example, if your variable name is version include {version} in your content to dynamically replace it.

Copy the Shortcode:
You’ll find the shortcode under the Publish metabox. It looks like this:
[wueen-blocket id=”POST_ID”][/wueen-blocket]
Copy and use the shortcode wherever needed.

Shortcode Structure
The id attribute is required, while additional attributes can customize functionality:
– content-position: Accepts after or before. Default value is after. It determines whether the content inside the shortcode tags should appear before or after the content specified by the ID.
– shortcode: Accepts on or off. Default value is on. It controls whether any shortcodes within the shared content are executed.
– err-404: Specifies the error message if the ID is not found. Default: “Wueen Blocket {id} not found”.
– Custom attributes starting with v-: Override variable values. For example, v-version can set a new value for the version variable.

各版本下載點

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

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


0.2.0 | trunk |

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

  • Custom Post Type UI 》Custom Post Type UI 提供了易於使用的界面,以便為您的網站註冊和管理自定義文章類型和分類法。, Custom Post Type UI Extended, CPTUI 協助建立自定義內容...。
  • Meta Box 》Meta Box 是一個強大、專業又輕量級的工具組,供開發者在 WordPress 中為任何自訂文章型別建立自訂的 Meta Box 與自訂欄位。, 透過 Meta Box,您可以使用超過...。
  • Post Type Switcher 》這個外掛在文章編輯介面中新增了一個簡單的文章型別下拉選單,讓你可以重新指派任何文章至新的文章型別。你可以在編輯文章時更換文章的型別。, 支援的型別, ...。
  • Portfolio Post Type 》此外掛註冊了自訂的作品集文章類型 (custom post type)。同時也註冊了獨立的作品集標籤和分類 (taxonomy)。如果選擇了特色圖片,它們將會在欄位檢視中被顯示...。
  • Search & Filter 》Search & Filter 是一款簡單的 WordPress 搜尋和篩選外掛程式,是 WordPress 搜尋框的進階版。, 您可以透過類別、標籤、自訂分類、文章類型、發佈日期或...。
  • Themify Portfolio Post 》Themify Portfolio Posts 是一個簡單的外掛,允許您展示乾淨版面的專案資訊。簡約而精美,您可以點擊您的圖庫專案的每張圖片,選擇顯示更多細節,例如專案類...。
  • Custom Content Shortcode 》停用通知, , 此外掛已不再維護。, 請改使用下一代範本系統:Loops & Logic。, 概述, , 從單一欄位到整個頁面,Custom Content Shortcode 是一套指令,可...。
  • WP Post Branches 》WP Post Branches 可以在公開發布的文章中創建私有分支。當你發布一個分支時,會覆蓋原始文章。, 翻譯人員, , 日語(ja) – Horike Takahiro, , 你可以將...。
  • Sponsors 》p>你是否曾經必須為你的活動/公司合作夥伴添加一堆帶有連結的圖片?, 使用 Sponsors,你不再需要使用文本小工具了。支持你、你的公司或活動的公司和人現在有...。
  • Themify Event Post 》是否有即將到來的活動或有趣的特賣活動想在 WordPress 網站上分享呢?Themify Event Post Type 外掛允許使用者創建活動特定的文章類型,以下是它的功能:, , ...。
  • Custom Post Type Editor 》使用簡單的儀表板用戶介面,自定義任何已註冊的自訂文章類型的文字標籤、菜單名稱或說明。不需要進行 PHP 文件編輯!, , 想把 文章 重新命名為 新聞 嗎?, 想...。
  • Remove slug from custom post type 》在 WordPress 2.9 中引入了自定義文章類型,為許多 WordPress 開發人員打開了新世界。, 當涉及到移除 slug 並且不破壞其他文章類型的重寫規則時,這款外掛表...。
  • Custom Post Type Date Archives 》在管理儀表板中為自訂文章類型新增日期存檔。此外採用插件還提供小工具和編輯器區塊來顯示存檔、日曆和最近的文章。這允許您將此插件用作超級簡單的活動日曆...。
  • Archive Control 》這是一個簡單快速的方式來自定義檔案庫頁面(或像定制文章類型,分類,標籤或自訂稅項名稱這樣列出文章的頁面)。您可以在列表之前或之後添加可編輯的內容,...。
  • Simple Custom Post Types 》從WordPress 3.1版本開始,擁有自定義文章類型的管理功能,而這個外掛使得管理過程更加簡單,不需任何編程知識。更新摘要可以更新您的佈景主題!, 這個外掛提...。

文章
Filter
Apply Filters
Mastodon