Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address Microformat #7

Open
indianabenny opened this issue Jan 28, 2016 · 1 comment
Open

Address Microformat #7

indianabenny opened this issue Jan 28, 2016 · 1 comment

Comments

@indianabenny
Copy link
Contributor

It would be great to set this up the option for this plugin to save and/or render code using the address/vcard microformat:

`


Technorati

665 3rd St.
Suite 207

San Francisco,
CA
94107

United States

`
@JennyWren
Copy link

You can add your own if you want. Just pull out the data separately using the Array, and use this code to get started:

$address    = get_field( 'full_address', 'option' );
printf( '<div class="address">%s<br> %s, %s %s</div>', $address["street1"], $address["city"], $address["state"], $address["zip"] );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants