Address
WordPress plugin - gather & display address & contact data
★ 0stars
21composer installs
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/csknk/address/archive/refs/heads/master.zipAlso on Packagist as carawebs/address:
composer require carawebs/addressFrom the readme
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
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.0.0-beta.2 | Jan 16, 2017 |
| v1.0-beta.1 | Dec 6, 2016 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.