Forums › Forums › Search & Filter Pro › Problem with custom post META
- This topic has 16 replies, 3 voices, and was last updated 6 years, 3 months ago by
Anonymous.
-
Anonymous(Private) April 5, 2019 at 9:35 am #207621
Trevor,
is there a way to strip the spaces at the end of the metas? Because it seems my client added space on some and this can be done in the future even I ask here not to add space.
The “&” doesn’t work but the “?” yes. Is there a way to fix that ?
Thank you.
Trevor(Private) April 5, 2019 at 9:49 am #207625You could add some validation using PHP in the child theme’s functions.php file hooked in to the WordPress save_post() function (so it runs when a post is saved and trims any spaces off), but you would need to code this yourself.
Actually, I think ACF has a way to do this:
As to the ampersand, I will refer this to Ross, our plugin developer, for his input.
-
AuthorPosts