-3
votes
2answers
91 views

Limit username to specific characters (A-Z and 0-9)

How do I limit the username field upon registration to A-Z and 0-9 for single site? So no spaces, hyphens, underscores, dots etc.
0
votes
1answer
163 views

Remove limit in characters of blog posts?

Im changing my blog, so its not possible to click on the post, but only see them in the preview. How and where do i remove the limit of characters on the preview page? I'm using the Mystile ...
1
vote
1answer
291 views

register_post_type name character limit

I need to create a new custom post type, but the issue i am having is that the name i want to give is longer than 20 characters. Is it possible to override this with a hook or filter? I tried to ...
0
votes
1answer
206 views

Show ellipsis (…) only if the number of characters exceeds limit defined in substr

I'm limiting the number of characters in the title with substr. But even if the title is less than 50 characters, being shown the ellipsis (...). I would not display the ellipsis if the title does not ...
0
votes
1answer
322 views

Truncating characters in Advanced Custom Fields works some places but not others?

I'm using the Advanced Custom Field plugin - although I'm not positive that is relevant. Nonetheless, I can't get substr() to work at all using this method: $givchars = 5; $postgiv = ...
1
vote
2answers
686 views

How to limit the max number of characteres in the title that are displayed

I am following this tutorial — "Display Your Popular Posts In WordPress Without A Plugin" and want to limit the max number of characters in the title that are displayed. Also, why is the thumbnail, at ...
0
votes
1answer
226 views

Fixed height of the_content()

I have page with news. I'm displaying them as a shortened text (300 chars limit), I'm removing any images using preg_replace() and everything looks fine, until someone uses line breaks in his post. ...