Need help? Check out our Support site, then

add post excerpt to post title if blank

  1. 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



  2. Are you talking about a hosted blog or your blog that's hosted elsewhere?

    This forum is only for blogs hosted here at wordpress.COM. If you are using WordPress on another host, then you need to visit the forums at wordpress.ORG.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.