如何在WordPress中批量添加帖子和页面

Do you want to quickly bulk add posts and pages in WordPress? There are times when you need to quickly create bulk posts and pages, just to see how it all looks on your site. In this article, we will show you how to bulk add posts and pages in WordPress with just a click.

您是否要在WordPress中快速批量添加帖子和页面? 有时候,您需要快速创建大量的帖子和页面,只是为了查看它们在您的网站上的外观。 在本文中,我们将向您展示如何只需单击即可批量添加WordPress中的帖子和页面。

Adding bulk posts and pages in WordPress
为什么以及何时在WordPress中批量添加帖子和页面? (Why and When to Bulk Add Posts and Pages in WordPress?)

Mostly you may need to do this during development of a website or a WordPress theme. By quickly adding bulk posts and pages, you can see how they appear on your site, navigation menus, and widgets.

通常,您可能需要在开发网站或WordPress主题期间执行此操作。 通过快速添加批量帖子和页面 ,您可以查看它们在网站, 导航菜单窗口小部件中的显示方式

However, if you are doing it for testing your WordPress theme, then there is a much better way to do that. Please take a look at our guide on how to add dummy content for theme development in WordPress.

但是,如果您要用它来测试WordPress主题 ,那么还有一种更好的方法。 请查看我们的指南,了解如何为WordPress中的主题开发添加虚拟内容

On the other hand, what if you wanted to bulk add posts and pages but with more control? Like choosing your own post or page titles, or bulk create entries for a custom post type.

另一方面,如果您想批量添加帖子和页面却拥有更多控制权,该怎么办? 例如,选择您自己的帖子或页面标题,或为自定义帖子类型批量创建条目。

You will need a tool with options that allow you to choose post titles or select post types.

您将需要一个带有选项的工具,使您可以选择帖子标题或帖子类型。

Let’s take a look at how you can easily bulk add posts and pages in WordPress.

让我们看一下如何轻松地在WordPress中批量添加帖子和页面。

在WordPress中批量添加帖子和页面 (Bulk Adding Posts and Pages in WordPress)

First thing you need to do is install and activate the Quick Bulk Post & Page Creator plugin. For more details, see our step by step guide on how to install a WordPress plugin.

您需要做的第一件事是安装并激活Quick Bulk Post&Page Creator插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Upon activation, you need to visit Tools » Quick Post Creator page. This is where you will bulk create posts and pages.

激活后,您需要访问工具»快速发布创建者页面。 您将在此处批量创建帖子和页面。

Bulk post creator

The first option on the page is to choose an indent character. The default option is asterisk sign, but you can change that to any other character you want.

页面上的第一个选项是选择一个缩进字符。 默认选项是星号,但是您可以将其更改为所需的任何其他字符。

After that you need to choose a post type. The plugin allows you to bulk create entries for any post type on your site.

之后,您需要选择一个职位类型 。 该插件可让您为网站上的任何帖子类型批量创建条目。

The next option is to choose the post status. The default option is published, you can change that to a draft if you want.

下一个选项是选择发布状态 。 默认选项为发布,您可以根据需要将其更改为草稿。

The last option is labeled entries. This is where you will add your post or page titles. For posts, you can add just your post titles one per line.

最后一个选项是标记为条目。 您将在此处添加帖子或页面标题。 对于帖子,您可以每行仅添加一个帖子标题。

For pages and sub pages, you need to use an indent character for page levels. For example, a parent page can have just the page title, but a child page needs an indent character. Child page of a child page will need two indent characters.

对于页面和子页面,您需要在页面级别使用缩进字符。 例如,父页面只能有页面标题,而子页面需要缩进字符。 子页面的子页面将需要两个缩进字符。


Parent Page
* First Child Page
** Second Child Page
*** Third Child Page
* Sibling Page


Parent Page
* First Child Page
** Second Child Page
*** Third Child Page
* Sibling Page

Click on the bulk insert button when you are done.

完成后,点击批量插入按钮。

That’s all. This plugin will now create new posts or pages using the titles you provided.

就这样。 现在,该插件将使用您提供的标题创建新的帖子或页面。

Note: All posts will be filed under default category of your WordPress site with your own author name. If you want to rename the default category from uncategorized to something else, then see our guide on how to change the default post category in WordPress.

注意:所有帖子都将以您自己的作者名归档在WordPress网站的默认类别下。 如果您想将默认类别从未分类重命名为其他类别,请参阅有关如何在WordPress中更改默认帖子类别的指南。

其他用于WordPress开发的批量工具 (Other Bulk Tools for WordPress Development)

There are many other bulk actions you can use during your WordPress development. Here are a few more to speed up things when you are on the clock.

在WordPress开发期间,您还可以使用许多其他批量操作。 这是一些其他可以加快时钟速度的事情。

We hope this article helped you learn how to quickly bulk add posts and pages in WordPress. You may also want to see our list of 25 most useful WordPress widgets for your site.

我们希望本文能帮助您学习如何快速在WordPress中批量添加帖子和页面。 您可能还想查看我们的网站25个最有用的WordPress小部件列表。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-bulk-add-posts-and-pages-in-wordpress/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值