[wordpress插件] article2sidebararticle2sidebar

wordpress 插件 文章 2020-02-21 13:00 524 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Articles to Sidebar allow you to put some articles into the sidebar of pages.

侧边栏中的文章使您可以将一些文章放入页面的侧边栏中。

When you use WP as a “normal” CMS, you could want to add some custom boxes into the pages’ sidebars.

当您将WP用作“常规” CMS时,您可能希望在页面的侧边栏中添加一些自定义框。

Whith “Articles to Sidebar” you can write articles, put them into :

Whith“文章到侧边栏”可以撰写文章,并将其放入:

    • a special category (in order to display to all pages)
    • 特殊类别(以便显示到所有页面)

    • a category called the same as the current page
    • 与当前页面相同的类别

    • both special category and category called the same as the curent page
    • 特殊类别和与当前页面相同的类别

    When the article is displayed into the sidebar, the fist images it contains is used to illustrate.

    将文章显示在侧栏中时,将使用其中包含的拳头图像进行说明。

    The displayed content is the article’s excerpt.

    显示的内容是文章的摘录。

    If there is no excerpt, the extend (before the tag) is used and if there is no extend, one is computed (55 first words) and used.

    如果没有摘录,则使用扩展名(在 <!-more-> 标记之前),如果没有扩展名,则计算并使用扩展名(55个单词)。

    p>

    >

    You can choose to put a link to the article or not.

    您可以选择是否放置文章链接。

    That behavior can be chanched for each articles by using a custom boolean var (articles2sidebar_display_link : 1 force link | force no link).

    可以通过使用自定义布尔变量(articles2sidebar_display_link:1强制链接|强制无链接)来更改每篇文章的行为。

    Versions

    版本

    1 first public release

    1个首次公开发布

    1.1 better handling of little images ;

    1.1更好地处理小图像;

    adding the link to image when present

    在存在图片时添加指向图片的链接

    Translations

    翻译

    Actually, there are no translations, but the plugin code is ready for them.

    实际上,没有翻译,但是插件代码已经准备好了。

安装步骤

    1. Upload article2sidebar.zip to the /wp-content/plugins/ directory and uncompress it.
    2. article2sidebar.zip 上载到 / wp-content / plugins / 目录并解压缩。

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

    5. Modify the options in the Appearance > Widgets page
    6. 修改“外观”>“小部件”页面中的选项

下载地址
https://downloads.wordpress.org/plugin/articles2sidebar.zip
-EOF-

AI助手支持GPT4.0