• Resolved apticknor

    (@apticknor)


    One of the editors on the site I maintain recently used the Rewrite and Republish feature. Now that the content has been rewritten they have decided they’d like to keep the original page and the updated page rather republish it.

    What is the best a way to accomplish this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mushrit Shabnam

    (@611shabnam)

    Hi @apticknor

    Are you trying to retrieve the original post after rewrite and republishing it?

    Plugin Support Mushrit Shabnam

    (@611shabnam)

    Hi @apticknor

    You or your developer can use the duplicate_post_get_original filter to customize and retrieve the data from original post. You can learn more from here.

    Typically code snippets are added to your theme’s functions.php file. If you’re unfamiliar with using code snippets, we’d like to refer you to the WordPress documentation on how to use a filter.

    We recommend creating regular backups of your site and database for your site’s health and safety. A backup is crucial before installing, updating, or removing plugins?and provides you with a safety net if something were to go wrong.

    Thread Starter apticknor

    (@apticknor)

    Thanks for the followup @611shabnam

    I got it to work by reviewing the plugin code and armed with the knowledge of how it works under the hood I decided the simplest path forward was to modify to the database values so the system no longer recognized the page as a rewrite and the original page is no longer associated with the post.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.