• Hi.
    I’ve imported a csv file, using the model I got from export.
    The content is in my database now. But I can’t access it from WordPress, neither in the backend, nor on the frontend.

    Is there something I forgot to do ? Here are the steps I followed :

    -> Created my content type
    -> Created one post in this content type
    -> Exported the model
    -> used it to format my import CSV
    -> imported my csv

    https://wordpress.org/plugins/csv-importer-for-pods/

Viewing 7 replies - 1 through 7 (of 7 total)
  • ak

    (@apkoponen)

    I have the same problem

    ak

    (@apkoponen)

    Hi,

    the problem is that the model has post_status as “published” instead of “publish” so it does not work. You need to change it to “publish”.

    A-P

    Plugin Author devlopez

    (@templaries)

    Thank ap.koponen, I will fix that error soon.

    Thanks AP that was a life saver.

    Good eye A-P, this also tripped me up for a good 30 minutes. I hope devlopez fixes that soon so others don’t get lost.

    A helpful feature would be if you made the importer idempotent — that is, the importer should detect posts that already have an identical guid and therefore skip those items to prevent duplicates in the database.

    Plugin Author devlopez

    (@templaries)

    Sorry, I can’t see the bug. When I obtaint the format of the csv with “post” pod, the sample given has got “publish” in “post_status”. I don’t know why the people use “published” in the csv.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘My csv imports into wodrpress database, but posts do not show’ is closed to new replies.