Suggested edit: Capitalize
-
I’m using this plugin on a new website and it seems like there’s a feature that could be very useful.
The website admin can’t rely on users to submit well formatted post titles.
Very often users would submit e.g. post titles or tags in all uppercase or all lowercase characters and it can influence the website’s appearance. Of course, everybody can use text-transform: uppercase/lowercase/capitalize; and display anything on the website the way they want but it would still remain ‘as uploaded’ in the database.
My solution is simply adding an option to reformat all the text that has been submitted on upload.
I’ve actually edited the plugin myself, but it would be cool if some of the future releases would contain this option.
e.g. to make the post title in capitalized simply add$ap_form_post_title = ucwords(strtolower($ap_form_post_title));
to the line 7 in save-post.php and it will do the job.
I think that this feature is pretty easy to add and it would improve the plugin’s performance and user experience.
Anyways, great plugin, does what it is supposed to.
Best regards!https://www.ads-software.com/plugins/accesspress-anonymous-post/
- The topic ‘Suggested edit: Capitalize’ is closed to new replies.