[wordpress插件] Categories but exclude类别,但排除

wordpress 插件 文章 2020-03-18 00:10 520 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

A simple plugin that displays a list of all categories except those selected in widget preferences.

一个简单的插件,显示所有类别(在窗口小部件首选项中选择的类别除外)的列表。

Unlike other similar plugins like “Almost All Categories Widget”, Categories but exclude uses the latest version of WordPress Widget API, which is multi-widget, which lets you use the wigdet more than once.

与其他类似的插件(如“几乎所有类别的窗口小部件”)不同,“类别但排除”使用了最新版本的WordPress Widget API,它是多窗口小部件,可让您多次使用wigdet。

Mostly, I created the plugin to use it with the plugin “WPML” along with “Widget Logic” to use the same widget for each language.

通常,我创建了将该插件与“ WPML”插件以及“ Widget Logic”一起使用以针对每种语言使用相同的Widget。

This will allow you to create a custom category list which will show the categories you want, and will hide the categories you do not want.

这将允许您创建一个自定义类别列表,该列表将显示所需的类别,并隐藏您不需要的类别。

For example, say you have a particular category you don’t want to be displayed named “Announcements”.

例如,假设您有一个不希望显示的特定类别,名称为“公告”。

You can use this plugin to display all of your other categories, except the category “Announcements”.

您可以使用此插件显示除“公告”类别以外的所有其他类别。

You are not limited to just excluding one category;

您不仅限于排除一个类别;

you can exclude multiple categories.

您可以排除多个类别。

Languages:

语言:

    If you have created your own language pack, or have an update of an existing one, you can send me your gettext

    如果您创建了自己的语言包,或者对现有语言包进行了更新,则可以发送给我您的gettext

    PO and MO so that I can bundle it into the Categories but exclude.

    PO和MO,以便我可以将其捆绑到类别中,但排除在外。

    You can download the latest POT file

    您可以下载最新的POT文件

    from here.

    从这里。

安装步骤

    1. Upload the *.zip copy of this plugin into your WordPress through your ‘Plugin’ admin page.
    2. 通过“插件”管理页面将此插件的* .zip副本上传到WordPress中。

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

    5. Place the widget in your desired sidebar through the “widgets” admin page
    6. 通过“小部件”管理页面将小部件放置在所需的侧边栏中

下载地址
https://downloads.wordpress.org/plugin/categories-but-exclude-widget.zip
-EOF-

AI助手支持GPT4.0