Somethumb Phone Number Display for Advanced Custom Fields

Description

Somethumb ACF Phone Number Display adds a Phone field type to Advanced Custom Fields. New fields default to United States (+1), with a configurable initial country. It includes a country selector, phone validation, and four return formats: National, E.164, Click to Call, and Values (array).

Only for numbers with a stored US or CA country selection, choose Default (555 555-1212), Dashes (555-555-1212), or Parentheses ((555) 555-1212) as the display format for National and Click to Call. The formatting choice does not change stored values or the dialing link.

The plugin bundles intl-tel-input 29.5.6 locally. It does not request the library from a CDN at runtime.

This plugin is based on ACF Phone by Pascal Martineau / Le Web Simple (https://github.com/lewebsimple/acf-phone). Original author attribution is retained here and third-party license details are included in THIRD-PARTY-LICENSES.txt.

Credits

Original ACF Phone plugin developed by Pascal Martineau (Le Web Simple).
Original project: https://github.com/lewebsimple/acf-phone

This fork is maintained and enhanced by Somethumb Web Design & Development.

Screenshots

Installation

  1. Install and activate Advanced Custom Fields or Advanced Custom Fields PRO.
  2. Deactivate the original ACF Phone plugin if installed. Do not run both at the same time.
  3. Upload and activate Somethumb ACF Phone Number Display.
  4. Add a Phone field to an ACF field group and choose its return format.

FAQ

Can I replace the original ACF Phone plugin?

The existing phone field type and stored value structure are preserved. Deactivate the original plugin before activating this fork, and test on staging first.

Does this plugin require a CDN?

No. The JavaScript, CSS, utilities, and flag images are included locally.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Somethumb Phone Number Display for Advanced Custom Fields” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.3

  • Namespace PHP code under STC\PhoneNumberDisplay and prefix plugin functions, classes, constants, and asset handles with stcpnd.
  • Use a unique WPGraphQL object type name (STCPNDPhone).
  • Preserve existing ACF phone field identifiers and stored phone number formats.

1.0.2

  • Default newly configured phone fields and unassigned numbers to United States (+1).
  • Show North American number display setting only when Initial country is United States or Canada and Return format is National or Click to Call; other countries retain their national display.
  • Initialize through acf/init and show an administrator notice when ACF is unavailable.
  • Update plugin name and translation text domain to Somethumb ACF Phone Number Display.
  • Preserve existing saved country selections and stored values.

1.0.0

  • Fork of ACF Phone by Pascal Martineau / Le Web Simple.
  • Bundle intl-tel-input 29.5.6 locally.
  • Update JavaScript for the newer intl-tel-input API.
  • Add optional North American display formatting for National and Click to Call.