• Resolved ventio

    (@ventio)


    Is it possible to clone a post but create a dynamic post title?
    Does it go by generating the appropriate link (…/admin.php?Action=duplicate_post_new_draft&post=…&_wpnonce=…)?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @ventio,

    It is possible to automatically add custom text to the title whenever you clone a post.

    You can do this by going to Settings > Duplicate Post and then entering text in the “Title Prefix” or “Title suffix” fields.

    If that doesn’t answer your question, can you give us more details or examples of what you’d like to see or how you’re trying to use this feature?

    Thread Starter ventio

    (@ventio)

    it is not about static but dynamic, that is different to each cloned post.

    For example, the current date should be added to the title of the cloned post.

    Hi @ventio,

    Yes, you can change the new title dynamically for the new post using the ‘dp_duplicate_post‘ or ‘dp_duplicate_page‘ filters depending on whether the original is a post or a page.

    You can find more details and code examples in the developer documentation: Yoast Duplicate Post – Filters and actions.

    Hi @ventio,

    We haven’t heard back from you in a while so we’re marking this issue as resolved due to inactivity.

    You’re welcome to create a new forum topic if you have any other questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Dynamic creation of the title of the cloned post’ is closed to new replies.