Tell us what you are trying to do?
I wish to set a character limit in a custom type single line field.
Is there any documentation that you are following?
Yes I've gone through this and got the code but I'm unsure where to put it. I was thinking in functions.php or header.php but I don't think the code I have is complete for these locations. I am not knowledgable enough to know if I need to wrap the code in other code. https://toolset.com/forums/topic/limit-number-of-characters-or-words-in-single-line-field/
I was hoping there would be a character limited box in the Toolset custom field wizard for someone like me.
Is there a similar example that we can see?
Sorry not that I'm aware of.
What is the link to your site? It's a test site at the moment. hidden link
The contents from the custom field is to somehow be referenced and and be added to the WP excerpt field (which currently displays just the 'webcam offline' button under the image and model name.
The custom post type field is from a CP post type group assigned to a CP type called models that administrators and editors will edit posts in. The field will be a brief description of the model showing under an image and her name in a gallery page here: hidden link so iIt needs to be character limited so the text is only on one line to make sure the gallery looks uniformed. I've only got one gallery entry for now but does this answer your question. Many thanks, Barry.
Thank you very much for the information but I don't know where to add the snippet you gave me? Could you please tell me where I go to add this. Is it too header.php, functions.php or somewhere else. Apologies for not knowing.