[wordpress插件] Clone & Replace克隆并替换

wordpress 插件 文章 2020-03-25 17:10 471 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

WordPress has a wonderful editing model with its “draft workflow”, where writers can save unpublished drafts, preview posts, submit drafts for review from a superior, and even schedule a post’s publication.

WordPress的“草稿工作流程”具有出色的编辑模型,作者可以在其中保存未发布的草稿,预览文章,提交草稿以供上级审核,甚至安排文章的发布。

This is all that most writers and teams ever needed for a blog.

这就是大多数作家和团队所需的博客。

WordPress has extended beyond blogs, and has grown to be the preferred platform for any person or team writing for the web.

WordPress已经扩展到博客之外,并且已经成为任何个人或团队编写Web的首选平台。

While WordPress has evolved, its editing model has not, and this editing model is limited.

尽管WordPress有所发展,但其编辑模型却没有,并且这种编辑模型受到限制。

Once a post is published, edits cannot follow the same workflow.

帖子发布后,编辑将无法遵循相同的工作流程。

That’s where this plugin comes in. This plugin has two powerful features, the ability to clone posts and the ability to replace posts with another, which combined, allow writers to leverage core’s “draft workflow” for published posts.

这就是插件的来源。此插件具有两项强大的功能,即克隆帖子的能力和用另一个帖子替换的能力,这些功能相结合,使作者可以利用核心的“草稿工作流程”来发布帖子。

Features

功能

    • Create clones of existing posts. The replicas are created as drafts, and have all the same data (including terms and post meta) as the original post.

    • 创建现有帖子的克隆。副本创建为草稿,并且具有与原始帖子相同的所有数据(包括术语和帖子元)。

      The only things not cloned are child posts (which include revisions, attachments, and other posts)

    • 未克隆的唯一内容是子帖子(包括修订,附件和其他帖子)

    • Replace one post with another. The replaced post becomes a revision of itself, the replacing post is essentially deleted, and you're left with the replacing post's data with the post ID and slug of the

    • 将一个帖子替换为另一个帖子。替换后的帖子成为其自身的修订版,替换后的帖子本质上被删除,并且留下替换后帖子的数据以及该帖子的ID和子条目

      replaced post.

    • 替换了帖子。

    Combined, these features give writers a pseudo-“fork and merge” model.

    这些功能组合在一起,为编写者提供了一个伪“分叉并合并”模型。

    Published posts can be cloned, the clones edited as any other draft can be, then the originals replaced with the clones.

    可以克隆已发布的帖子,可以像其他任何草稿一样编辑克隆,然后将原件替换为克隆。

    Individually, these features are equally as useful.

    单独地,这些功能同样有用。

    You don’t need to use the “fork and merge” model to take advantage of this plugin.

    您无需使用“ fork and merge”模型来利用此插件。

安装步骤

    1. Upload clone-replace to the /wp-content/plugins/ directory
    2. clone-replace 上载到 / wp-content / plugins / 目录

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

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

AI助手支持GPT4.0