Address WP Registry grade A-. Low-severity findings · 1 findingWP RegistryLow-severity findings · 1 findingOpen the reportA-
WordPress plugin - gather & display address & contact data
★ 0stars
21composer installs
v1.0.0-beta.2latest · 9 years ago
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/csknk/address/archive/refs/heads/master.zipOn Packagist as carawebs/address:
composer require carawebs/addressNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Address WordPress Plugin
Work in Progress. Use at your own risk.
Adds an option page to add Physical address data to the options table of the database.
Builds the address data into a HTML block that is properly marked up according to schema.org.
Uses the WP Plugin Boilerplate.
Installation
1. Clone this repo to the /wp-content/plugins/ directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Add address data to your site: Dashboard Settings Address & Contact
4. Place in your templates
5. Use the shortcode [address] in the content area
Available Filters
|Filter Hook|Value |Variables|
|----|----|----|
|'carawebsaddressopendiv'|''|-|
|'carawebsaddressbusinessname'|'' . $businessname . ''|$businessname|
|'carawebsaddressline1'|'' . $addressline1 . ''|$addressline1|
|'carawebsaddressline2'|'' . $addressline2 . ''|$addressline2|
|'carawebsaddresstown'|'' . $town . ''|$town|
|'carawebsaddresscounty'|'' . $address['county'] . ''|$county|
|'carawebsaddresscountry'|'' . $country . ''|$country|
|'carawebsaddresspostcode'|'' . $postcode . ''|$postcode|
|'carawebsaddressclosediv'|''|-|
Example Filter
The 'carawebsaddressbusinessname' filter receives two parameters
Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.