Ready to get started?Download WordPress


No duplicate posts? (2 posts)

  1. bekar09
    Posted 5 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 5 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