PHP Classes

File: README.MD

Recommend this page to a friend!
  Classes of TJ Webb   WordPress ACF Smarty Posts LocalBusiness Schema   README.MD   Download  
File: README.MD
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: WordPress ACF Smarty Posts LocalBusiness Schema
Add LocalBusiness meta data to WordPress site page
Author: By
Last change:
Date: 1 year ago
Size: 1,137 bytes
 

Contents

Class file image Download

WASP LocalBusiness

WASP?

WordPress + ACF + Smarty + Posts-to-Posts

LocalBusiness?

LocalBusiness is a schema.org standard supported by Google and therefore the world. This provides a bunch of info about your business to Google, Maps, etc. More Info: https://developers.google.com/structured-data/local-businesses/ Schema.org specifications: http://schema.org/LocalBusiness Testing Tool: https://developers.google.com/structured-data/testing-tool/

Requirements?

ACF, Smarty, Posts-to-Posts. You also need the ACF repeater field and options panel. You also need to actually be using Smarty in your theme (Smarty will set it's compile directory to what your theme's compile directory should be).

Defaults?

The default values can be filtered. See this gist: https://gist.github.com/webbtj/7884b02f512502a23d18

WP Plugin Directory?

I dunno, probably not. Kind of sick of being forced into SVN to publish stuff. Plus, this depends on ACF, Smarty, and Posts-to-Posts. It also uses some premium ACF features like repeaters.

Licence?

Whatever, GPL or something. Use it, it's free.