Hi
Is there any possibility of adding auto increment id’s with custom post type. Like number 1 for 1st invoice and number 2 for 2nd invoice.
I was building an Invoice generation tool for a client and messed up here !!
Thanks for your help !!
Anirudh
HI @anibabbar,
As a workaround to this issue, I would recommend you create a readonly number field for your post type. You can then create some logic within the acf/load_field filter with a counter to auto increment the value on the field each time the field is called.
Hello!
I know that the post is a bit old.
but could you explain how I generate an automatic increment id?
is for a real estate site.
If you could give me some guide or tutorial I would appreciate it
thank you
regards