Support » Plugin: Simple Staff List » Phone number format ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Brett Shumaker


    Hi Ricky,

    Sorry about that. I always forget about non-us phone numbers being different. In trying to make a consistent experience for US users, I’ve made it unusable for anyone else.

    Here’s a quick fix, though, and I’ll incorporate a permanent fix in the next version.

    If you’re comfortable editing a plugin file, go to simple-staff-list > _inc > admin-save-data.php and edit line 48 which reads:
    update_post_meta($post->ID, "_staff_member_phone", format_phone($_POST["_staff_member_phone"])); //Format the phone number before saving it.

    Change it to:
    update_post_meta($post->ID, "_staff_member_phone", $_POST["_staff_member_phone"]);

    And that should stop formatting your phone numbers. You will need to go correct the ones you’ve already entered, though. Let me know if you have any trouble doing this and I’ll help you get it sorted.

    Again, sorry about that and I’ll fix it in the next version of the plugin.


    Nice! Just what I was looking for as well, just at the right time 🙂

    Plugin Author Brett Shumaker


    Hey Mehlar,
    Glad I could help!

    Thanks for your help.
    That worked fine 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Phone number format ?’ is closed to new replies.