[WordPress] 外掛分享: Bg Book Publisher

前言介紹

  • 這款 WordPress 外掛「Bg Book Publisher」是 2017-11-03 上架。
  • 目前有 40 個安裝啟用數。
  • 上一次更新是 2023-06-01,距離現在已有 702 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.3 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

vbog |

外掛標籤

book | page | Nextpage | publisher | table of contents |

內容簡介

當您保存一篇文章時,此外掛會將其分成多頁並在每個頁面頂部添加一個摺疊式的目錄。

在編輯文章的頁面上,您可以設置目錄中包含的標題的最大級別以及分頁的標題級別(請參見屏幕截圖)。

您可以將標題級別設置為1到6級,也可以取消在此文章上運行此外掛的操作,方法是取消勾選“這篇文章是書籍”項目。

您還可以設置已發布書籍的作者,這將直接顯示在文章標題中。
為將書籍作者的名稱插入到文章中,您也可以使用短代碼[book_author]或在頁面模板中使用PHP功能bg_bpub_book_author($post_id)。

要自定義文章外觀,您可以使用以下類:
1. bg_bpub_toc - 包含目錄的容器(div)的類。
2. bg_bpub_toc_h1...bg_bpub_toc_h6 - 目錄中各章的標題類。
3. bg_bpub_book_author - 包含書籍作者姓名的容器(span)的類。

譯者注意

您可以使用位於languages文件夾中的POT文件,並使用PoEdit程序(http://www.poedit.net/)來翻譯此外掛。
有關翻譯WordPress外掛的詳細信息,請參閱“翻譯WordPress”(https://codex.wordpress.org/Translating_WordPress)。

請將您的PO文件發送給我。我將在下一個版本中插入它們。

許可證

GNU通用公共許可證第2版

原文外掛簡介

When you save a post, the plugin splits it into pages and adds a table of contents in the form of a spoiler to the top of each page.
On the post editing page you can set the maximum level of headers included in the table of contents and the level of headings where you break the pages (see screenshot).
You can set the header levels from 1 to 6, and also disable the action of the plug-in for this post by unchecking the item ‘this post is book’.
You can also set the author of the published book, which will be showed directly in the post title.
To insert name of book author into the text you can also use shortcode [book_author] or PHP-function bg_bpub_book_author($post_id) in page template.
CSS
To customize the post appearance, you can use the following classes:
1. bg_bpub_toc – class of contaner (div) with table of contents.
2. bg_bpub_toc_h1 … bg_bpub_toc_h6 – classes of chapter headers in table of contents.
3. bg_bpub_book_author – class of contaner (span) with name of book author.
PHP filters

bg_bpub_post_types – array of post types processed by the plugin, default is [‘post’, ‘page’];

bg_bpub_title – title html after book author is added;

bg_toc – html output of the TOC;

Notes for Translators
You can translate this plugin using POT-file in languages folder with program PoEdit (http://www.poedit.net/).
More in detail about translation WordPress plugins, see “Translating WordPress” (https://codex.wordpress.org/Translating_WordPress).
Send me your PO-files. I will insert them in plugin in next version.
License
GNU General Public License v2

各版本下載點

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

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


最新版本

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

  • Easy Table of Contents 》這是一款易於操作、注重功能的Easy Table of Contents外掛,可讓您在您的文章、頁面和自定義文章類型中插入目錄。, 首頁 | 幫助和技術支援 | 文檔 | 專業版...。
  • Table of Contents Plus 》一款功能強大但使用者友好的外掛程式,可自動建立適用於長頁面(和自訂文章類型)的上下文索引或目錄(TOC)。此外,這款外掛還能輸出整個站點上的頁面和/或...。
  • LuckyWP Table of Contents 》ptoc] used to manually insert the table of contents., Filters lwptoc_settings, lwptoc_post_settings, Use for change plugin settings programmaticall...。
  • Rich Table of Contents 》RTOC是一個來自日本的目錄生成外掛,讓任何人都可以輕鬆地創建目錄。除了擁有傳統目錄外掛的功能外,它設計了精美易用的介面。實時預覽具有直觀的使用者介面...。
  • Table Of Contents Block 》目錄是整個內容的路線圖,有助於讀者找到某個特定部分的頁面,並直接跳轉至該部分。使用目錄區塊(TOC),您可以改善閱讀體驗、可訪問性、頁面SEO分數,並幫...。
  • SimpleTOC – Table of Contents Block 》在您的文章和頁面中加入目錄區塊。該 TOC 是包含文章或頁面中所有標題的嵌套連結列表。只需添加一個區塊並搜索“SimpleTOC”或“TOC”即可使用它。, toc 的最大深...。
  • Joli Table Of Contents 》, Joli Table of Contents 是最佳的適用於 WordPress 的 SEO-friendly 目錄外掛程式。它既能提供良好的效能表現和用戶友好的體驗,同時也提供多種自定義選項...。
  • TOP Table Of Contents 》, 此為 TOP Table of Contents WordPress 外掛,可以輕鬆地在WordPress文章和頁面中添加 SEO 友好的目錄表,使您的網站更具吸引力,改善您的網站在Google上的...。
  • Heroic Table of Contents 》WordPress目录插件, Heroic目录是为您的网站添加目录的最简单方法。, 目录或索引部分可让读者轻松浏览您网站上的页面。Heroic目录块自动检测页面上的标题,提...。
  • Table of Contents Block 》在 Gutenberg 編輯器中創建目錄,以及提供各種樣式控制和設置。, 功能, , 階層式檢視, 符號或數字列表, 包含或排除標題, 可折疊式, 個別樣式選項, , 階層式檢...。
  • YAHMAN Add-ons 》網頁瀏覽次數、Google AdSense、Analytics、社群媒體、個人檔案、目錄表、相關文章、網站地圖、SEO、JSON-LD 結構化資料、Open Graph 協定(OGP)、部落格卡...。
  • Multipage 》Multipage for WordPress可以讓您將文章分為多個子頁面,每個子頁面有自己的標題,並在第一個或每個子頁面上提供目錄。, 讓您的文章更有序!, 不再需要極長的...。
  • GutenTOC – Advance Table of Content for Gutenberg 》GutenTOC 外掛是一個可自訂的 SEO 友善型 Gutenberg 區塊編輯器,它會掃描頁面或文章內容中的標題並自動產生目錄 (TOC)。, 支持未來的發展, 如果您喜歡這個外...。
  • WP Sitemap 》在文章或頁面中(推薦使用頁面),加入短碼即可將您的網站地圖以頁數列出。, 簡單短碼範例, [wp_sitemap], 特色, , 支援文章和頁面, 支援頁數,並可選擇在頂...。
  • Table of Contents Creator 》Table of Contents Creator (TOCC) 可以自動生成高度可自定義的動態站點全域目錄,一直保持最新狀態。所有條目都是可導航的,使您的網站非常適合SEO優化。TOC...。

文章
Filter
Mastodon