Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/carawebs/wp-contact/archive/refs/heads/master.zipOn Packagist as carawebs/wp-contact:
composer require carawebs/wp-contactNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Contact
Manage contact details in WordPress.
Enter details in Settings Address & Contact Details.
Shortcodes: Phone Numbers
Phone numbers can be displayed using [MobileButton] and [LandlineButton] shortcodes. These accept the following parameters:
'text': Text to prepend the number at non-mobile view.
'mobileviewtext': Text to display at mobile (Click to Call) view.
'classes': Additional CSS classes to be added to the anchor tag.
'number': The phone number for the button.
If no number is specified, the number set in "Address & Contact Details" is used.
Shortcodes: Email
Email links can be displayed with the [EmailButton] and [EmailLink] shortcodes.