Import Custom Post Types

This topic contains 1 reply, has 2 voices, and was last updated by  Paolo 8 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #66376

    Dale Sue
    Expired Member
    Post count: 50

    Hi,

    I have created a website with Geodirectory. I am using the Custom Post Types Plugin and I have created a couple of custom post types.

    I have a file with data for a company directory. Most of the information I can copy to the different columns (post_title, post_content etc) in the csv-file (downloaded from GD) that I will use for the import to my GD site.

    However, there are some information that I do not understand how I will import via the csv-file.

    For example in the GD site I have created a custom post type with form fields named “fax” (fax number) and “reg no” (the company’s registration number). How do I import this information? To which column in the csv-file used for the import should this information be copied?

    Thanks

    Dale

    #66391

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you need to create new columns for custom fields. The name of the column will be geodir_html_var_name.

    So if the “html variable name” of your custom field is “fax”, you’ll need to add the colum geodir_fax to your CSV.

    The best way to do this is to create a dummy listing with data in all custom fields and export it. The exported CSV file will have all custom fields already in place.

    Let us know if this helps.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount