[WordPress] 外掛分享: Simple Subtitle

首頁 › 外掛目錄 › Simple Subtitle
10+
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 5.2+ PHP 7.2+ v1.1.0 上架:2024-10-19

內容簡介

Simple Subtitle 外掛為文章和頁面編輯器新增了一個副標題欄位,並在單一文章和頁面中將其值顯示在標題下方。此外掛使用現有的 _simple_subtitle 文章元資料鍵,確保舊版副標題仍可用。

【主要功能】
• 新增副標題欄位至編輯器
• 在單一文章和頁面中顯示副標題
• 支援主題自訂樣式表覆蓋

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

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

原文外掛簡介

English
Simple Subtitle adds a subtitle field to the post and page editor and displays its value below the title on singular posts and pages. It uses the existing _simple_subtitle post meta key, so subtitles saved with version 1.0 remain available.
Version 1.1.0 uses the the_title filter to add a styled span, rather than a nested heading, on the queried post in the main loop. A minimal stylesheet is included and can be overridden in your theme.
Note: placement is theme-dependent. This automatic approach works with themes rendering the main title in the main loop. It may not apply to themes rendering the title outside that context.
Français
Simple Subtitle ajoute un champ de sous-titre dans l’éditeur des articles et des pages, puis affiche sa valeur sous le titre lors de l’affichage individuel. Les sous-titres enregistrés avec la version 1.0 sont conservés grâce à la métadonnée _simple_subtitle.
La version 1.1.0 utilise le filtre the_title et un élément span mis en forme, plutôt qu’un titre HTML imbriqué. Un style minimal peut être surchargé dans le thème.
Remarque : le résultat dépend du thème. L’affichage automatique nécessite que le titre principal soit traité dans la boucle principale WordPress.

延伸相關外掛

文章
Filter
Mastodon