Field Types #

| Type | Best for | What the user sees |
| Text | Short single-line answers | A one-line text box (name, title, etc.) |
| Textarea | Longer paragraphs | A multi-line box (bio, description) |
| Number | Numeric values | A number input with optional min/max |
| Email addresses | An email box, checked for a valid address | |
| URL / Website | Web links | A URL box, checked for a valid address |
| Phone | Phone numbers | An international phone input with country-code selector |
| Dropdown | Pick one from a list | A select menu of your options |
| Radio | Pick one, all visible | A row/column of radio buttons |
| Checkbox | Pick one or many | One or more tick-boxes (with options = multiple choice; without = single yes/no) |
| Switch | A simple on/off | A toggle switch (yes/no) |
| File upload | Documents & images | A file picker (CV, logo, certificate…) |
About Phone fields: The phone field reuses Classified Listing’s own international phone widget. The default country and the list of allowed countries come from the base plugin’s Settings → Misc → Phone — so it stays consistent with the rest of your site.
Field Settings #
Depending on the field type, the settings panel shows some or all of these options:

1. Visible for – Show the field to All users, or only Sellers, or only Buyers.
Classified Listing users have an account type — typically Seller or Buyer. The Visible for setting lets you tailor which fields each type sees:
- All — everyone sees the field (the default).
- Seller — only users whose account type is seller.
- Buyer — only buyers.
For example, a “Business License Number” field makes sense only for sellers, so set it to Seller. Buyers will never see it, be asked to fill it, or have it appear on their profile.
2. Label –The visible name shown to the user above the field. Required — a field with no label is dropped.
3. Field key – The internal storage name (auto-generated from the label, e.g. company_name). Advanced — see the warning below.
4. Min / Max – For Number, the smallest/largest allowed value. For Text/Textarea, the minimum/maximum number of characters.
5. Placeholder – Faint example text inside the empty input (not available for every type).
6. Description – Optional helper text shown under the field.

7. Required – The user must fill this in before the form can be saved.
8. Show on author page – Display the answer on the user’s public author/profile page.
9. Show on registration form – Also collect this field when a new user signs up.

10. Options – For Dropdown, Radio and Checkbox — the list of choices the user picks from.

11. Allowed file types / Max size – For File upload fields only.
File fields let users upload a document or image (a CV, a company logo, a certificate). Two extra settings appear for this type:
- Allowed file types — tick the formats you accept (PDF, JPG, PNG, DOCX, etc.). Uploads of any other type are rejected.
- Maximum size — the largest file you’ll accept, in megabytes.
Uploaded files are stored safely in the WordPress Media Library. The plugin checks both the real file type and the size on the server, so a renamed or oversized file can’t slip through.
Where Your Fields Appear #
A single field you create can show up in up to four places. You control which ones with the field’s settings:

Account Details page (front-end) – The logged-in user editing their own profile can view the fields. Always shown (this is the main home for your fields).

Registration form – New visitors signing up will see the fields. This is controlled by the Show on registration form toggle
WordPress profile screens – Admins editing users in wp-admin can view the fields. Always shown, on the user-edit screen.
Public author page – Anyone visiting the user’s public profile will see the fields. These are controlled by the Show on author page toggle.

When you enable Show on author page, that field’s answer appears on the user’s public profile card, below the built-in contact details. Each value is formatted to suit its type:
- A URL becomes a clickable link.
- An email is shown safely (protected against spam bots).
- A Textarea keeps its line breaks.
- A Switch or single checkbox shows as “Yes”.
- Empty answers are simply not shown.
Using a custom theme? If your theme overrides the Classified Listing author template (classified-listing/listing/author-content.php), it must include this one line where you want the custom fields to appear, or they won’t display on the author page:
<?php do_action( ‘rtcl_author_details_after_meta’, $user_id ); ?>
This is the only place a theme change may be needed. Everything else works through the base plugin’s standard hooks.