I have a CSV file with new titles and subtitles for my posts, and I’d like to replace the existing subtitles for multiple posts at once.
I noticed the theme has a subtitle field for each post, but I’m not sure how to map my CSV column to it in WP All Import. It looks like I can easily map/update the post titles, but the subtitles don’t seem to appear in the field dropdown.
Could someone guide me on the correct way to update the subtitles in bulk? Any beginner friendly tips or examples would be greatly appreciated!
Thanks in advance for your help!
Hi,
That might not work. The subtitle is kept in the wp_postmeta table under the meta key td_post_theme_settings, and the data is serialized. And it’s not just the subtitle, everything from the theme that is related to a post is kept there, for example https://prnt.sc/dGC2FVO-28bK Doing it through sql is risky, and I don’t think there’s a plugin that could do something like this. Maybe its possible through a php script but I can’t say for sure. Unfortunately even if its possible somehow, it may not be so easy. Doing it wrong may damage the rest of the theme post meta.
I would actually suggest something different. You could just import the subtitles in a custom field and display that instead of the theme subtitle. A custom field can be created with the ACF plugin and attached to posts https://www.wpallimport.com/import-advanced-custom-fields-acf-csv/ Then you can display it in the post page with the theme, the composer has a custom field element https://prnt.sc/sVivXW1izpSr This method would be easier and it should work fine.
Thanks.
Wow, sounds like you sure know what you are doing. Way better than I do.
Appreciate all that info, will have to run it through GPT to interpret what it means. Beginner here, but the bottom-line takeaway. Can’t be done, huh? But you gave an indirect method as a workaround?
Awesome, thank you!!!
It will be much easier to create a text custom field, call it subtitle or in any way you want, and attach it to posts. Then import the data in it with the all import plugin, for the posts you want. Then show that custom field on the post pages instead of the subtitle, using the custom field element from the composer. It should work just fine.
Thanks.
