The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

No duplicate posts? (2 posts)

  1. bekar09
    Posted 7 years ago #

    Is it possible to check for duplicate posts while publishing a new post and if the same post exists, then wordpress won't write the post into the database? how can this be achieved?

  2. bekar09
    Posted 7 years ago #

    is it possible to use 'get_the_title()' to fetch the title and then match with the title that I'm posting now and then if it exists, then call 'wp_update_post()' function else call 'wp_insert_post()'.

    any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic