-
AuthorPosts
-
March 14, 2016 at 9:30 am #837059
I am intending to bulk upload several thousand pages to a website http://taxicabfinder.co.uk/ using a plugin called
Business Directory Plugin. This plugin uses csv files to upload content.I would like those pages to use the X theme short codes etc.
Part of the upload allows me to load in raw content into the post_content field of the wp_posts table
A few early test attempts have not been that successful – notably the editor does not recognise that cornerstone has been used and attempts to delete what is there and start the edit with a new cornerstone page.
(I may abandon the plugin and write an mysql script to import directly to the wp_posts table)
I am fine editing the wp database tables. What would I need to change to make sure the editor recognises the page as having been created in cornerstone?
Thank you
Ralph
March 14, 2016 at 9:40 am #837070ADDED
Basically, how does the cornerstone editor know that page was created in cornerstone or not?
THnaks
March 14, 2016 at 10:30 am #837139Hi there,
Thanks for writing in! Cornerstone stores the page data separate from the final content by using post meta. If you are doing a search and replace, you will need to make sure that your script will work on post meta, and can handle serialized data. This plugin for example should be able to handle that: https://wordpress.org/plugins/wp-migrate-db/
We have a dedicated article to help our users migrating their site – https://community.theme.co/kb/cornerstone-migration/
You can follow this to avoid any incompatibility issue.
Hope this helps.
March 14, 2016 at 1:18 pm #837361Hi,
post_meta keyed on the post_content id
_edit_lock
_edit_last
_x_entry_body_css_class
_x_entry_alternate_index_title
_x_entry_disable_page_title
_x_page_one_page_navigation
_x_entry_bg_image_full
_x_entry_bg_image_full_fade
_x_entry_bg_image_full_durationProblem solved. Thank you very much for that
Ralph
March 14, 2016 at 6:08 pm #837704Happy to hear that.
Feel free to ask us again.
Have a great day! 🙂
-
AuthorPosts