Add schema.org structured data to your city pages with an easy to use shortcode In order to use this plugin Download from git repository Install go to WP customizer - Local Business Information Panel Add Required Information: Social Profiles Business information At your home page, add the required [schema] shortcode. Publish / Update page, test schema at the Google Structured Data Testing Tool
At the homepage you will get 2 types of structured data - html and ld+json. On inner pages you'll get only html in Order to use the plugin for more than one location see Available Parameters bellow
- brand
- description
- street
- city
- region
- zip
- phone
- hours
- map
- gmb
- yelp
- rating
- total_reviews
- cta
add the shortcode to the required city page and add the parameters inside the shortcode:
[schema brand="New Brand Name" street="new street"]
Save and review schema on Google Structured Data Testing Tool
fixed 'itemReviewd' error from google
Notice field
Added Plugin Information Page
Fixed - local-business-schema-plugin-content.php, line 182 - was an error due to wrong $schema_atts key
prefixed "is_decimal" function and moved it to the main plugin page
- Removed 'Office Services are by Appointment Only' note
- Fixed error made by empty review fields
- Added conditions to show review fields
-
Now you can add you google listing rating + a link to your GMB listing.
New atts inside the shortcode:- rating - insert listing's avg. rating
- total_reviews - insert listing's total review count
- cta - change the 'Write a Review' button text
-
Added Rating / Reviews section in the customizer
-
Added Social Networks (BBB, linkedin ) & changed google plus to GMB listing
-
Added Plugin Update Checker By Yahnis Elsts
- ld/json script to load on home page, only if the schema shortcode exists in the page.
- social media attributes for local pages. Each profile can be changed within the schema shortcode
- New Field: Long / Lat: Input text, Add your business longitude / latitude values form google maps
- Schema type input box replaced with select box by defined business type (LocalBusiness, Locksmith, AutomotiveBusiness)
- Added Payment Methods input text, add payment methods, seperate with comma (',')
- Added Accepted currency input text, add accepted currency either by symbol ($), or by name('USD').
Local Business Schema Fields
Schema Type: input text, add schema type relevant to your business type
Logo: img, Select Brand's logo img
Brand name: input text, Add Brand name
Brand Description: input text, Add Brand description
Phone number: input text, Add Brand's main phone number
Street Address: input text, Add street address. select checkbox to show field's value on the front end
City Name: input text, Add city name. select checkbox to show field's value on the front end
Zip Code: input text, Add zip code. select checkbox to show field's value on the front end
Region: input text, Add region name. select checkbox to show field's value on the front end
Opening Hours: input text, Add opening hours and days by this format 'Mo-Su 00:00-23:59'. For multiple Hours, separate with comma (',')