【问题标题】:How do I search and replace the contents of multiple Wordpress posts all at once?如何一次搜索和替换多个 Wordpress 帖子的内容?
【发布时间】:2011-03-19 21:26:14
【问题描述】:

好的,我的网站上有 500 多个帖子(使用 wordpress)。我试图将多个帖子中的 标记替换为单行。 示例

这个:

Start of post.......

< !---more--> ...post continues...

收件人:

Start of post.........

< !---more-->

...post continues...

如果行之间没有间距,那就太好了。提前谢谢..

【问题讨论】:

  • 您对运行/编写查询以针对您的 MySQL 数据库运行的感觉如何?
  • 不太舒服,但我可以试一试。
  • 那里有插件,但它们似乎只能在单行的基础上工作。

标签: wordpress replace find lines


【解决方案1】:

Search RegEx 是一个很好的插件,可以在所有帖子和页面中搜索和替换 Grep。

【讨论】:

    猜你喜欢
    • 2015-11-23
    • 1970-01-01
    • 1970-01-01
    • 2018-10-29
    • 2012-01-21
    • 2020-04-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多