[WordPress] 外掛分享: Plain Text Custom Post Type

前言介紹

  • 這款 WordPress 外掛「Plain Text Custom Post Type」是 2012-06-21 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2012-10-12,距離現在已有 4587 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ryannutt |

外掛標籤

cpt | css | post | text | javascript |

內容簡介

透過自訂文章類型在 WordPress 中建立純文字檔案。

這是因為我需要一種方法,在多站網路設定的部落格上編輯 JavaScript 檔,
而我不想只為了那個部落格就要使用子佈景主題並且不得不透過 FTP 更新 JS 檔。
這樣一來,我可以直接在 WordPress 內部進行編輯,而不用啟動 Notepad++ 或
FileZilla。

如果您將檔案類型設定為 CSS 或 JavaScript,
您就可以選擇讓外掛自動在頁面標頭中連結該檔案(若您的佈景主題支援 wp_head 回叫的話)。
連結是使用 wp_register_script / wp_enqueue_script 或 wp_enqueue_style / wp_enqueue_style 來建立。

感謝 Ted Devito 的作品 Tabby jQuery plugin ,
他讓編輯文字區塊內的 TAB 有了更好的擷取方式。

原文外掛簡介

Create plain text files through WordPress using a custom post type.
This came about because I needed a way to edit a JavaScript file on a blog that’s
part of a multi site network setup, and I didn’t want to do a child theme for
just that one blog and keep up with updating the JS through FTP. This way I can
edit it directly inside of WordPress as I need to without firing up Notepad++ or
FileZilla.
If you select either CSS or JavaScript as the file type you’ll have the option
for the plugin to automatically link to the file within your page header, assuming
your theme supports the wp_head callback. The links are created using either
wp_register_script / wp_enqueue_script or wp_enqueue_style / wp_enqueue_style.
And a thank you goes out to Ted Devito for his
Tabby jQuery plugin that allows
the capture of tabs inside the edit text area.

各版本下載點

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

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


0.1 | 0.2 | trunk |

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

  • WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager 》插入標頭和頁腳 + 完整的 WordPress 代碼片段外掛, WPCode (前稱为 WPBeginner 的 "插入標頭和頁腳")是使用率超过 100 万个网站的 WordPress 代码片段外掛中...。
  • Code Snippets 》Code Snippets 是在您的網站上運行程式碼片段的簡單,清潔和簡單的方法。它消除了將自定義片段添加到您的佈景主題的 functions.php 檔案的需求。, 現在提供 C...。
  • Widget CSS Classes 》Widget CSS Classes 可以讓您給 WordPress Widget 添加自定義的 class 和 id, 請注意,此外掛並不支援輸入自定義的 CSS。您需要修改主題的 style.css,或加入...。
  • Simple Custom CSS Plugin 》無需麻煩地將自訂 CSS 新增到 WordPress 網站中。, 這是一個易於使用的 WordPress 外掛,可以添加自訂 CSS 樣式以覆寫外掛和佈景主題的預設樣式。該外掛旨在...。
  • Simple CSS 》需要在你的網站中添加自定義 CSS 嗎?Simple CSS 提供一個很棒的管理編輯器和 Customizer 中的即時預覽編輯器,讓你能夠輕鬆添加 CSS。, 想讓你的 CSS 僅應用...。
  • WP Add Custom CSS 》WP Add Custom CSS 外掛允許您在整個網站及個別文章、頁面和自訂文章類型(例如 Woocommerce 產品)中添加自訂的 CSS。, 對整個網站應用的 CSS 樣式將覆蓋您...。
  • Visual CSS Style Editor 》Style your WordPress site visually. Discover the most popular front-end design plugin! Try live demo., , Visual CSS Editor, The plugin allows you t...。
  • WP-SCSS 》此外掛使用 ScssPhp,在 WordPress 安裝中編譯 .scss 檔案。包含設定頁面,可配置目錄、錯誤報告、編譯選項和自動佇列。, 此外掛僅在更改 .scss 檔案時進行編...。
  • Clear Cache for Me 》Clear Cache For Me 是一個 WordPress 外掛,適用於 W3 Total Cache 和 WP Super Cache,因為它們不知道 widget 何時更新,且在更新 widget 和 menu 時都不會...。
  • Scripts n Styles 》這個外掛讓管理員用戶能夠將自訂的 CSS 和 JavaScript 直接添加到個別文章、頁面或任何註冊的自訂文章類型中,也可以將類別添加到 body 標籤和文章容器中。還...。
  • Forget About Shortcode Buttons 》相容於 WordPress 傳統編輯器,Gutenberg 整合即將推出🙂, 歡迎提出功能需求/建議!, 即忘短碼(FASC)按鈕是在所見即所得編輯器中及網站佈景主題中加入 CSS 按...。
  • Code Embed 》注意: WordPress 5.0 及以上版本的使用者請查看常見問題以了解如何在區塊編輯器中使用此外掛。, Code Embed 外掛允許您在文章中嵌入程式碼(JavaScript 和 H...。
  • Raw HTML 》is capability is only granted to administrators. If you’re not an admin, you will need to ask them to add it to your role., Raw HTML is not r...。
  • Microthemer Lite – Visual Editor to Customize CSS 》Microthemer是一個輕量級且功能強大的視覺編輯器,可以自訂網站的CSS樣式,從Google字體到響應式佈局,它適用於程式開發人員和非程式開發人員,並與Elementor...。
  • Core Framework 》總結:Core Framework是一個簡單易用、樂趣滿滿的WordPress外掛,如同你的CSS瑞士軍刀,幫助你輕鬆打造完美網站。, , 問題與答案:, - Core Framework是什麼...。

文章
Filter
Apply Filters
Mastodon