[wordpress插件] Bg Book PublisherBg书出版商

wordpress 插件 文章 2020-03-04 12:50 558 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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’.

您可以将标题级别设置为1到6,还可以通过取消选中“此帖子为书”项来禁用此帖子的插件操作。

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.

要在文本中插入书名,您还可以在页面模板中使用简码[book_author]或PHP函数bg_bpub_book_author($ post_id)。

To customize the post appearance, you can use the following classes:

要自定义帖子的外观,可以使用以下类:

1. bg_bpub_toc – class of contaner (div) with table of contents.

1. bg_bpub_toc –带有目录的容器类(div)。

2. bg_bpub_toc_h1 … bg_bpub_toc_h6 – classes of chapter headers in table of contents.

2. bg_bpub_toc_h1…bg_bpub_toc_h6 –目录中章节标题的类。

3. bg_bpub_book_author – class of contaner (span) with name of book author.

3. bg_bpub_book_author –带有作者名字的容器(跨度)类。

Notes for Translators

翻译说明

You can translate this plugin using POT-file in languages folder with program PoEdit (http://www.poedit.net/).

您可以使用程序PoEdit(http://www.poedit.net/)在language文件夹中的POT文件中翻译此插件。

More in detail about translation WordPress plugins, see “Translating WordPress” (https://codex.wordpress.org/Translating_WordPress).

有关翻译WordPress插件的更多详细信息,请参阅“翻译WordPress”(https://codex.wordpress.org/Translate_WordPress)。

Send me your PO-files.

将您的PO文件发送给我。

I will insert them in plugin in next version.

我将在下一个版本的插件中插入它们。

License

许可证

GNU General Public License v2

GNU通用公共许可证v2

安装步骤

    1. Upload ‘bg-book-publisher’ directory to the ‘/wp-content/plugins/’ directory.
    2. 将“ bg-book-publisher”目录上传到“ / wp-content / plugins /”目录。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

下载地址
https://downloads.wordpress.org/plugin/bg-book-publisher.zip
-EOF-

AI助手支持GPT4.0