• I have been using wordpress for a few years and have never added titles to my posts.
    I would like to use like a 5 word post excerpt from each post to fill in the post title field in the database if it is blank.

    so it would be like:

    if have posts{
    if $querypost(title)=” {post_excerpt()=$querypost(title)

    write the new title to the database

    }

    …welp

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter beachbum

    (@beachbum)

    any one have an idea?

    I don’t suppose you’ve ever gotten anywhere with this?

    I would love to do the same thing. I’ve been searching through forums and plugins to see if anything can automatically put an excerpt of the post into a blank title, but so far I haven’t found anything.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add post excerpt to post title if blank in database’ is closed to new replies.