Generate pods unique identifier for each entry
-
Hello, first post here and new with WP. I have built a small website accessible only on my home network to replace a Drupal website that I used to catalog a collection of music records and books.
I must say, with WP and Pods, things are a lot easier and more powerful!
I created 2 pods named “Books” and “MusicRecords” and created templates for each of them along with each their own pages to display the “entries” on the main site. Everything works fine so far (minus some things I will need to address later on…), but the issue I am facing is that the system doesn’t auto-generate a Unique identifier for each entry.
With Drupal, each time I created a new entry in one of the taxonomies (content types in Drupal verbiage), the system would automatically generate a unique number called NodeID which was auto computed and unique to each entry.
I would like to achieve the same in WP so I can tag each of the physical pieces with a unique number. Doesn’t matter what format it is, numeric, alpha-numeric, etc… As long as I can print a sticker with the UID on it. Fairly simple IMO but I cant find how to do this in WP. AFAIK, Drupal came out of the box with this.
Can this be done? I think what makes things a bit complicated is that I am using Pods to catalog my collections and not using standard web coding/static pages (excuse my crude understanding)…
I looked around on the web, and in Pods fields, none seems to offer anything similar. I could just add a text field and manually enter a UID in it, but that defeats the purpose of the UID.
I also tried to install the plugin “Print Barcode Labels for your WooCommerce products/orders” but I cannot make it work with pods (I dont think it was made to work with Pods…)
In a perfect world, the system would generate a UID, and I could print it from WP. Is this possible? Am I dreaming?
Looking forward to some replies! Cheers!
- The topic ‘Generate pods unique identifier for each entry’ is closed to new replies.