79215569

Date: 2024-11-22 15:22:18
Score: 1
Natty:
Report link

I want to highlight another possible way to export a single page from Wordpress, without using plugins and without changing anything in post attributes/metadata: it's WP-CLI.

An example:

wp-cli export --post__in=123

this will generate a XML file in current folder containing only the post (or page) with that ID.

For more information consult the command reference here.

There are of course some requirements to use this option:

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Carlo