前言介紹
- 這款 WordPress 外掛「Content Molecules」是 2011-11-10 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2012-04-14,距離現在已有 4768 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.2.1 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
page | posts | content | custom content | dynamic content |
內容簡介
在網路行銷/出版業中,"內容分子"指的是可以在網站上多處使用的可重複利用內容片段。這些內容通常是孤立的,經常出現在側邊欄和邊緣上。將這個概念應用到 WordPress 框架上,您可以創建可嵌入任何簡碼處理的內容。進一步地,可以給簡碼使用添加任意數量的自定義屬性,並將這些值嵌入到結果輸出中。
[m id="slug" audience="Student" product="backpack"]
上述簡碼會轉換以下分子:
問候 {audience}!
今天試試我們的新 {product}!
變成以下內容:
問候 Student!
今天試試我們的新 backpack!
顯然,這是一個荒謬的例子,但無論目的是什麼,彈性都是相同的。當您需要進行更改或更新時,不要逐個重複網站內容。
分子是一種自定義文章類型。啟用插件後,左側的管理選單中會出現一個名為 "Molecules" 的新部分。在那裡,您可以創建和管理可重複使用的內容片段。作為獎勵,我已將文章縮略名添加到列表視圖中,以供參考。如果您在文章或頁面中嵌入一個分子,而該縮略名尚不存在,它將為您創建一個草稿以供稍後填寫。
目前就這些,歡迎提出未來功能的任何建議。
任意區段
原文外掛簡介
In the web marketing/publishing industry a content molecule is basically a piece of reusable content that can be placed throughout a website. Typically isolated in nature, they often appear in sidebars and margins. Applying this concept to the WordPress framework, you can create content that can be embedded anywhere shortcodes are processed. Taking the concept a little further, any number of custom attributes can be added to the usage of the shortcode, and those values can be embedded in the resulting output.
[m id=”slug” audience=”Student” product=”backpack”]
Will translate the following molecule:
Greetings {audience}!
Check out our new {product} today!
into this:
Greetings Student!
Check out our new backpack today!
Obviously a ridiculous example, but the flexibility remains the same regardless of the silly intent. Stop repeating content throughout your site only to have to re-edit those pieces in every location when you need to make a correction or update.
Molecules are a custom post type. After the plugin is activated a new section will appear in the left admin menu titled “Molecules.” There you can create and manage reusable pieces of content. As a bonus I have added the post slug to the list view for easy reference. If you embed a molecule in a post or page and the slug does not exist yet, it will create a draft for you to fill in later.
That’s about it for now, any input for future features is welcome.
Arbitrary section
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Content Molecules」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Custom Content by Country (by Shield Security) 》來自 Shield 安全插件團隊的Custom Content by Country擴充套件,, 提供您基於用戶所在區域(如有提供)的位置,選擇顯示/隱藏內容的選項。, 透過簡單的Short...。
Simple Custom Content 》Simple Custom Content(SCC)功能讓你在所有 WordPress 文章和 RSS 訂閱中添加自定義內容。此外,SCC 還提供了幾個簡碼,方便你在個別文章、頁面或主題模板...。
Custom Content 》自定義內容外掛(Custom Content plugin)透過 ES 模組(ES Custom Content)擴展 Visual Composer,可以使用簡碼(shortcode)、小工具(widget)和 VC 模組...。
MD Custom content after or before of post 》這個 WordPress 外掛可以在文章的上方、下方或是兩者都加入自訂的內容,同時也支援 HTML 標籤的使用。, 使用方法, , 前往「設定」→「MD Custom content after...。
Simple Custom Content Adder 》Simple Custom Content Adder (SCCA) 就是在標題上說明的那樣 - 它可以在所有的文章和頁面中簡單地新增一些自訂內容。, 也許您想在所有文章上方添加一個促銷...。
WP Geo Based Content 》WP Geo Based Content 外掛是專為讓您能夠在不同的觀眾面前顯示不同的文本、橫幅廣告、超連結等功能而設計。, 例如,您可以將英語橫幅廣告顯示給北美/英國觀...。
GET Custom Content 》E 這個外掛讓你可以建立自訂內容,根據 URL 中的查詢變數顯示在 WordPress 文章中。例如,在你的 URL 中加上「?customer=yes」,會讓側邊欄顯示「我們愛我們...。
Geo IP Library 》Geo IP Library 可以啟用一些簡單但強大的功能,以在 WordPress 上提供地理 IP 國家功能。到目前為止,其主要功能包括:, , 用於插件和主題的靜態 PHP 函數。,...。
Add custom content after post 》, 在每篇文章後添加自定义內容。它用於添加聲明、通知、作者信息。, , 聲明, 此插件需要高于平均水平的技術知識。, 請注意, 此項目目前尚處於 Beta 版本。。
Content Shortcode Generator 》***WordPress 外掛總結:Content Shortcode Generator***, Content Shortcode Generator 外掛讓您可以使用 Gutenberg 編輯器建立內容,然後透過簡單的短代碼...。
PRyC WP: Add content to comment form 》在留言表單中新增自訂內容。簡單而有效...。
Custom Content Display in WooCommerce Invoicess 》WooCommerce Custom Content for Invoices 外掛可將自訂內容或值顯示於您的發票中。如果您想編輯發票並在發票表格之前或之後添加一些額外的自訂內容,這個外...。
Elementor Templates Maker, Custom Content For Elementor 》Custom Content by (Shortcode & Elementor Extension) 外掛擴充了 Elementor Builder 的 ES 模組 (ES Custom Content Elementor),可使用簡碼或 Element...。