Hey Man, great Plugin, thanks for that. But if i duplicate a Post it duplicates the ID so its not unique anymore. Is there a way to reset it on duplicate?
kind regards
]]>This is a very useful plugin but will be perfect if would generate only numbers and not too long (currently generate numbers and letters ex.5651a9d1bf9b3).
Any ideas?
Thanks!
]]>A review suggested that it would be nice to hide this field in the backend and I agreed. Here’s a quick solution:
1) Enqueue a custom stylesheet for the WP admin:
function my_admin_theme_style() {
wp_enqueue_style('my-admin-style', get_template_directory_uri() . '/css/admin-styles.css');
}
add_action('admin_enqueue_scripts', 'my_admin_theme_style');
2) Add something like this, depending on your case:
td.acf-field-unique-id,
th.acf-th-unique_id{
display:none;
}
3) Make the column width very small.
]]>