Support » Plugin: Simple CSV/XLS Exporter » Set Default Custom fields to be exported for each Custom Post type

  • Hi Shambix,

    Awesome plugin by the way! I was wondering how can I export the custom fields by default for each Custom post type. I don’t want my users to export via settings and then save first the selected post type before they can view the other options. It would be confusing to them to do it.

    I just need them to export using URL while logged in.

    Also if its possible to export using filter with custom field on the URL like this:
    ?export=xls&post_type=news&fields=post_title,post_content,country,city,email

    Hope to hear from you soon.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shambix

    (@shambix)

    Hello and thank you!

    Once you set the default type, taxonomy, fields from the settings page, you can use the url that appears at the top of the page (ends with ?export=xls or csv), with no parameters attached.
    You can place that url in your frontend and user will be able to export right away, just like you do from the settings page.
    Also, make sure that not you dont set the export only for admins.

    The plugin doesnt currently allow for fields to be placed directly in the url unfortunately.

    Thanks for your feedback! I really appreciate it!

    Unfortunately I have multiple custom post type. As I observed it, I can only include custom fields per single post type via URL export. When I tried to export other post type via URL export, it doesn’t include the custom field by default for each corresponding post type. I already made changes on all custom post type I made but I think it’s OVERRIDDEN when I press “Save Changes” to switch the settings to my other custom post type. It only loads the custom field on the LAST SAVED settings on CSC/XLS Export. This is the default export details I got when I use URL export using my other post type. My custom fields arent included although I made save changes to it on settings.

    • id
    • post_author
    • post_date
    • post_content
    • post_title
    • post_status
    • post_modified
    Plugin Author Shambix

    (@shambix)

    Yes the plugin can only take 1 setup at a time, since I developed this for a “simple” use.
    Your suggestion is good, it would be a great addition to be able to to add custom fields in the url params.

    Unfortunately, I haven’t really had much time to work on this free plugin lately.
    However, do let me know if you would like this to be developed for a fee and I will gladly work on it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Set Default Custom fields to be exported for each Custom Post type’ is closed to new replies.