KIA Subtitle
Copy historic post titles to subtitle (2 posts)

  1. willyeckaslike
    Posted 2 years ago #


    I have just downloaded this plugin, and it works perfectly for what I need.

    While it's great going forwards for new posts, one thing I would like to do is replicate the titles of my historic posts into the new sub-title field.

    Is this possible/straightforward? I'm assuming it will need some MySQL scripting.

    While I am ok editing PHP, I'm not so hot on MySQL so any help would be appreciated!


  2. helgatheviking
    Plugin Author

    Posted 2 years ago #

    I'm not sure I see the point in having the subtitle be the same as the title? The subtitle is only post meta( key= kia_subtitle ). If you are ok with PHP then query all the posts, loop through them and update_post_meta() on ones that don't have a subtitle. No MySQL needed.

    This is by no means correct for your situation, but as an example of how to loop through posts and update read my answer here:


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • KIA Subtitle
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.