I imported over 1000 posts from a Tumblr gallery. All the posts are untitled, but each has a photo and name inside of the post. How do I make take the content of each post and make it the post name?
Leave a Reply
You must be logged in to post a comment.
Hook into
the_post
â called when the post is actually used â and fill the title. Be aware the slug has to be changed too.If you are used not to enter a title, hook into
save_post
too, and let the same code do this for you.The code
Download on GitHub