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