AI助手支持GPT4.0
The plugin adds two taxonomies to the WordPress media library which are then available to categorize and tag your attachments.
该插件将两个分类法添加到WordPress媒体库中,然后可用于分类和标记附件。
By default, these taxonomies, although sharing the same names and behavior, are separate from the default post taxonomies, but this can easily be changed if desired.
默认情况下,这些分类法虽然具有相同的名称和行为,但它们与默认的后分类法是分开的,但是可以根据需要轻松地进行更改。 p>
The plugin follows WordPress Core principles and offers a lightweight alternative to similar approaches which often tend to be incredibly flexible, but at the same time complicated and bloated.
该插件遵循WordPress核心原则,并为类似方法提供了轻量级替代方法,这些方法通常往往具有难以置信的灵活性,但同时又复杂又肿。
And if you have a little knowledge of code, you should be able to adjust the plugin exactly to your needs if the default configuration doesn’t satisfy you.
而且,如果您对代码有一点了解,那么如果默认配置不能满足您的需求,那么您应该能够完全根据需要调整插件。 p>
[gallery]
[gallery] code>短代码,以便可以自动包含特定附件分类法的图像 li>Lightweight plugin following WordPress Core principles遵循WordPress核心原则的轻量级插件 li>“Decisions, not Options”“决定,而不是选择权” li>Can easily be used as a must-use plugin可以轻松用作必备插件 li>Provides a flexible API to add other attachment taxonomies or disable the existing ones for developers提供了一种灵活的API,可以为开发人员添加其他附件分类法或禁用现有的附件分类法 li>Provides an easy-to-use has_default argument that can be used when registering an attachment taxonomy in order to automatically add a setting for the default taxonomy term提供易于使用的 has_default code>参数,该参数可在注册附件分类法时使用,以便自动为默认分类法术语添加设置 li>Developers are free to use the plugin-provided object-oriented taxonomy approach or use familiar WordPress Core functions开发人员可以自由使用插件提供的面向对象分类法或使用熟悉的WordPress Core函数 li>
has_default
has_default code>参数,该参数可在注册附件分类法时使用,以便自动为默认分类法术语添加设置 li>Developers are free to use the plugin-provided object-oriented taxonomy approach or use familiar WordPress Core functions开发人员可以自由使用插件提供的面向对象分类法或使用熟悉的WordPress Core函数 li>
ul>
attachment-taxonomies
/wp-content/plugins/
attachment-taxonomies code>文件夹上载到 / wp-content / plugins / code>目录,或通过WordPress后端下载。 li>Activate the plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活插件。 li>
/ wp-content / plugins / code>目录,或通过WordPress后端下载。 li>Activate the plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活插件。 li>
ol>
If you don't know what a must-use plugin is, you might wanna read its introduction in the WordPress Codex如果您不知道什么是必须使用的插件,则可以阅读WordPress Codex中的简介。 – don't worry, that's nothing purely for developers. –不用担心,这完全不适合开发人员。 p>
如果您不知道什么是必须使用的插件,则可以阅读WordPress Codex中的简介。 – don't worry, that's nothing purely for developers.
/wp-content/mu-plugins/
attachment-taxonomies code>文件夹上载到 / wp-content / mu-plugins / code>目录(如果该目录不存在,则创建该目录)。 li> li>li>Move the file /wp-content/mu-plugins/attachment-taxonomies/attachment-taxonomies.php out of its directory to /wp-content/mu-plugins/attachment-将文件 /wp-content/mu-plugins/attachment-taxonomies/attachment-taxonomies.php code>从其目录中移出到 / wp-content / mu-plugins / attachment- taxonomies.php.taxonomies.php code>。 li>
/ wp-content / mu-plugins / code>目录(如果该目录不存在,则创建该目录)。 li> li>li>Move the file /wp-content/mu-plugins/attachment-taxonomies/attachment-taxonomies.php out of its directory to /wp-content/mu-plugins/attachment-将文件 /wp-content/mu-plugins/attachment-taxonomies/attachment-taxonomies.php code>从其目录中移出到 / wp-content / mu-plugins / attachment- taxonomies.php.taxonomies.php code>。 li>
li>
/wp-content/mu-plugins/attachment-taxonomies/attachment-taxonomies.php
/wp-content/mu-plugins/attachment-将文件 /wp-content/mu-plugins/attachment-taxonomies/attachment-taxonomies.php code>从其目录中移出到 / wp-content / mu-plugins / attachment- taxonomies.php.taxonomies.php code>。 li>
/wp-content/mu-plugins/attachment-taxonomies/attachment-taxonomies.php code>从其目录中移出到 / wp-content / mu-plugins / attachment- taxonomies.php.
/ wp-content / mu-plugins / attachment- taxonomies.php
taxonomies.php
taxonomies.php code>。 li>
Note that, while must-use plugins have the advantage that they cannot be disabled from the admin area, they cannot be updated through WordPress, so you’re recommended to keep them up to date manually.
请注意,尽管必须使用的插件具有无法从管理区域禁用的优点,但是无法通过WordPress更新,因此建议您手动对其进行更新。 p>
Once the plugin is activated, you will see two new submenu items under Media (Categories and Tags).
激活插件后,您将在Media(类别和标签)下看到两个新的子菜单项。
The plugin follows the WordPress Core philosophy “Decisions, not Options” – therefore there is no additional settings screen.
该插件遵循WordPress核心理念“决定,而不是选项” –因此,没有其他设置屏幕。
However, the plugin is easily extendable and adjustable by developers (see FAQ).
但是,该插件易于开发人员扩展和调整(请参见常见问题解答)。
So if the base configuration does not suit your needs, it shouldn’t be too hard to change that.
因此,如果基本配置不符合您的需求,则更改它应该不会太难。 p>
原文出处:http://www.sanshu.cn/a/3017.html
群主管理都是支付大佬