Code Monkey home page Code Monkey logo

wp-address-block's Introduction

WP Address Block

A Gutenberg block for displaying an address with Schema.org markup.

Animated demonstration of entering and formatting an address.

Entering the address in the image above produces the following markup:

<div class="wp-block-cedaro-address vcard" itemscope itemtype="http://schema.org/PostalAddress">
	<span class="vcard__name" itemprop="name"><a href="https://wordpressfoundation.org/">WordPress Foundation</a></span><br>
	<span class="vcard__street" itemprop="streetAddress">660 4th Street<br>Box 119</span><br>
	<span class="vcard__city" itemprop="addressLocality">San Francisco</span>, <span class="vcard__state" itemprop="addressRegion">CA</span> <span class="vcard__postal-code" itemprop="postalCode">94107</span><br>
	<span class="vcard__country screen-reader-text" itemprop="addressCountry">United States</span>
</div>

Installation

  1. Download the latest release from GitHub.
  2. Go to the Plugins โ†’ Add New screen in your WordPress admin panel.
  3. Click the Upload button at the top next to the "Add Plugins" title.
  4. Upload the zipped archive.
  5. Click the Activate Plugin link after installation completes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.