I’ve been searching for a while now with no certain answer. I’m looking to append text to a WordPress site for prior posts that is moving from one domain to a new one and retaining content.

So what I want to do is, add “This article was originally posted at xyz.com.” to all posts that were posted before today’s date.

Right now this could be done through the database, or a WP functions filter, I’m okay with either option as long as it is long lasting.

Any suggestions on how to go about this would be appreciated?

Read more here: WordPress: Add text after (or before) previously posted content based on publish date


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: