[WordPress] 外掛分享: Simple Custom Content Adder

首頁 › 外掛目錄 › Simple Custom Content Adder
WordPress 外掛 Simple Custom Content Adder 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
22 天前
最後更新
—
問題解決
WordPress 5.9+ PHP 7.0+ v2.0.1 上架:2013-02-25

內容簡介

Simple Custom Content Adder (SCCA) 是一款簡單的外掛,能夠讓使用者輕鬆地在所有文章和頁面中添加自訂內容。只需編輯一次,所需內容便會自動出現在指定位置,無需修改佈景主題或逐一編輯文章。

【主要功能】
• 自動添加自訂內容至所有文章和頁面
• 支援完整的 WordPress 編輯器功能
• 可選擇內容顯示位置(前、後或兩者)
• 提供短碼功能以便於使用
• 可視化樣式設定,無需撰寫 CSS
• 支援自訂 CSS 以滿足精確需求

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple Custom Content Adder」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The Simple Custom Content Adder (SCCA) does exactly what it says on the tin – adds some custom content to all of your posts and pages, simply.
Write it once and it appears everywhere you asked for it. Change it once and every post and page changes with it. That is the whole idea: a disclaimer at the foot of every post, a promotion above every page, a sign-up prompt under every article – without touching your theme or editing a single post.
Write it in the editor you already know
Your content is written in the full WordPress editor, so you get bold and italics, links, lists, headings and the Add Media button. Paste in HTML if you prefer, and shortcodes from your other plugins work inside the box too.
Put it where you want it

Automatically – tick Posts and/or Pages, then choose whether the box sits before your content, after it, or both.
The Custom Content block – drop it exactly where you want it in the block editor, mid-article if you like. It supports wide and full alignment and the block editor’s own margin controls.
[scca] – the same box as a shortcode, for the classic editor, widgets, templates and page builders.
[scca_hide] – leave the box off one particular post or page.

Where a post uses the block or either shortcode, the automatic copy is left off, so your content never turns up twice on the same page.
Style it without writing CSS
Background colour, text colour, border colour and width, padding, font size, rounded corners and their radius, maximum width and alignment are all set with pickers and fields on the settings screen. A live preview sits at the top of the styling panel and updates as you change each value, so you can see the finished box before you save it.
Or write the CSS yourself
Two escape hatches for anyone who would rather be precise:

Additional CSS is appended to the styles the plugin generates, so you can adjust one detail without rebuilding the rest.
Custom CSS replaces the generated styles entirely, and the styling options step aside.

Built to stay out of the way

Settings are stored in a single record, sanitised on save and escaped on output.
The admin styles and scripts load only on the plugin’s own settings screen, and nothing is fetched from a third-party CDN.
The box is plain HTML with no per-visitor content, so it caches safely.
The content filter priority can be raised or lowered when another plugin insists on inserting its own content in the wrong place.
Every string is translatable.

延伸相關外掛

文章
Filter
Mastodon