WordPress.org

Ready to get started?Download WordPress

Forums

WP Ultimate CSV Importer Plugin
[resolved] Can it import subsubpages, and can this be done with parent slug? (7 posts)

  1. webblish
    Member
    Posted 1 year ago #

    Hi, first of all: many thanks for this great plugin.

    I have a site with about 12 parent pages and about 1200 subpages. The subpages were imported which went very fine, there were only some minor issues.

    But now comes the tricky part: below these 1200 subpages I have import about 8000 subsubpages. I tried this with a small testfile but I believe it's no possible to import subsubpages, is that correct? Or do I also need a column with the post_ID of the grandparents?

    Another question:
    In the .csv of the subsubpages I already have the name and slug of their parents (the 1200 subpages). Will this be enough, or does the the .csv file really have to contain the parents post_ID instead of the parent_slug? I do have the post_ID, but not in the .csv file so I would have to match these manually... 1200 times... :-(

    http://wordpress.org/extend/plugins/wp-ultimate-csv-importer/

  2. smackcoders
    Member
    Plugin Author

    Posted 1 year ago #

    You can use post_status field for child pages. Instead of slugs, you have to provide page id of the page to be parented.

  3. webblish
    Member
    Posted 1 year ago #

    Hmm, that will mean "Plan B", since I do not want to sort out over 1200 page ID's.....

    Thnx anyway!

  4. aplaat
    Member
    Posted 1 year ago #

    Can you be a bit more specific about how to make a child from a parent?

    Acura;CL;
    Acura;CSX;
    Acura;EL;
    Acura;Integra;
    Acura;Legend;
    Acura;MDX;
    Acura;NSX;
    Acura;RDX;
    Acura;RL;
    Acura;RSX;
    Acura;SLX;
    Acura;TL;
    Acura;TSX;
    Acura;Vigor;
    Acura;ZDX;

    I'd like to have "Acura" be the parent, and have not created the page yet; I'd like the CSV to create the parent pages. I'd like the MDX, SLX, etc. to be the child pages - which have also not been created.

    What is the formula I would use for this?

  5. aplaat
    Member
    Posted 1 year ago #

    Also, is there any way to provide a sample CSV?

  6. webblish
    Member
    Posted 1 year ago #

    You have to provide the actual (numeric) page_ID from the 'Acura pages'

    A sample is not necessairy, since the plugin allows you to match the columns manually before you import the data, but here is one rule of my testfile:

    post_title;post_slug;post_content;post_author;post_date;_yoast_wpseo_title;_yoast_wpseo_metadesc;post_status;post_parent;
    
    The first title;slug1;Here comes your killer content;admin;2013-4-26 17:45;seo meta title 1;seo metadescdription 1;publish;214;
  7. smackcoders
    Member
    Plugin Author

    Posted 11 months ago #

    You can use the post_parent option to create child fields. But the parent post should exist and the id need be provided as post_parent value. You can download samples here

    This thread is closed for discussions.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic