Can you customize the automatic permalink population on new posts?

you can use the post_type_link hook. and then add a custom rewrite rule to your register_post_type function: function replace_post_link( $post_link, $id = 0 ){ $post = get_post($id); $post_type = get_post_type( $id ); if( is_object( $post ) && $post_type == ‘events’ ){ $custom_date = get_field(‘YOUR_CUSTOM_FIELD’); return str_replace( ‘%custom_date%’ , $custom_date, $post_link ); } return $post_link; } … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)