You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I'm using your plugin alongside https://wordpress.org/plugins/custom-post-type-permalinks/. The problem is, if one of my custom field has special characters or has spaces or capitalization, your plugin tries to still use the field, as is, in the URL. What i would like to do is have your plugin "sanitize" the custom field data before it makes the URL. An example would be if i had a field that had "Athlan Piotr Pelczar" i would like it to come out as "athlan-piotr-pelczar". It looks like this fuction https://codex.wordpress.org/Function_Reference/sanitize_title or a similar one should resolve the issue but i'm not sure where to insert it in your code. Can you help?
The text was updated successfully, but these errors were encountered:
Hey,
I'm using your plugin alongside https://wordpress.org/plugins/custom-post-type-permalinks/. The problem is, if one of my custom field has special characters or has spaces or capitalization, your plugin tries to still use the field, as is, in the URL. What i would like to do is have your plugin "sanitize" the custom field data before it makes the URL. An example would be if i had a field that had "Athlan Piotr Pelczar" i would like it to come out as "athlan-piotr-pelczar". It looks like this fuction https://codex.wordpress.org/Function_Reference/sanitize_title or a similar one should resolve the issue but i'm not sure where to insert it in your code. Can you help?
The text was updated successfully, but these errors were encountered: