How can I limit the maximum number of characters a user can type in a field?
You may find yourself in the situation where you want your users to provide a postal code that is at most 4 characters long, or a description of themselves in less than 140 characters. In these cases the Maximum Character Length Add-On for Profile Builder comes in handy.
So to answer the above question, let me walk you through the 3 easy steps of getting this feature up and running.
Download and activate
First of all, click on the button below to download the add-on. Unzip the downloaded file and copy the contents in the wp-content/plugins directory.
Please note: The Maximum Character Length Add-On requires Profile Builder version 2.0.5 or higher.
Once the files are moved, head over to the Plugins section of the Dashboard and activate the add-on.
Set the maximum character length
Once the add-on has been activated head over to the Manage Fields page in Profile Builder. If you select an input field, a textarea field or the default biographical info field you will see that a new property named Maximum Character Length appeared below the other properties. All you need to do is set the desired value, in my case it was 10. You can also modify this value when editing one of these fields.
See it in action
Too see your work in action head over to the page where you display the register or edit form and type something in the field that has a maximum value set. Did it stop you from typing?
Call it “Meet the Team”, “Our Team” or “Staff List”, a WordPress Team Page is a pretty standard request when building a new website. That’s probably because everyone wants to know the people behind a specific project. It ads a personal touch to the company and can lend trust to visitors.
Even though there are many ways to go about building a WordPress Team Page, in this tutorial we’re going to focus on making it simple (easy to build) and intuitive (easy to update by clients – mostly non-technical users).
Let’s consider the following scenario:
we want to have a variable number of team members
it needs to be easy to add, remove or rearrange team members
to make it easy to update we’ll need specific fields for team members, like: Name, Title, Bio, Picture, Social Media links etc.
Now here comes the best part. It would be great if we can achieve all of this with a couple of clicks from the WordPress admin UI and without writing a single line of PHP code.
How you choose to do this is a matter of preference. You can opt for one of these options:
choose from a list of plugins that make only testimonials
you can also use Custom Post Types, that attaches your testimonials to a particular page
or, our very own favorite, choose to get your hands on by using Custom Fields that are attached to a certain Page Template.
A WordPress Testimonial Page Template with WCK
For us, the most flexible and intuitive way to create a WordPress Testimonial Page is by using Custom Fields and create our own Page Template. We’ll use the WCK – Custom Fields Creator to speed things up.
Have you hit a road block when it comes to WordPress user registration?
You probably would like to have new users register before being able to take certain actions (for example, posting reviews or commenting) but do not want them to have access to the WordPress Dashboard? Truth is, WordPress User Registration doesn’t have to be hard to get.
Wouldn’t it be nice to have a straight forward guide to the WordPress User Registration that will take you through:
the default WordPress user registration
recommended plugins to make it work the way you want
code and tutorial suggestions for the more advanced readers
So if you found the user registration in WordPress confusing, hopefully the WordPress User Registration Series will shed some light on the hole subject and gets you closer to finalizing your project.
Part 3 – Ultimate Developers Guide for WordPress User Registration – code snippets and short tutorials (coming soon)
The Default WordPress User Registration
We’ll start with some basic knowledge about WordPress users and the entire registration process. If you’re already accustomed with this, you can come back next week for the plugin and code snippets parts!