Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #837059

    ralphprice2
    Participant

    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

    #837070

    ralphprice2
    Participant

    ADDED

    Basically, how does the cornerstone editor know that page was created in cornerstone or not?

    THnaks

    #837139

    Rupok
    Member

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

    #837361

    ralphprice2
    Participant

    Hi,

    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_duration

    Problem solved. Thank you very much for that

    Ralph

    #837704

    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Have a great day! 🙂