Description
tlloancy Local Business adds your business name, address, opening hours, phone number, and GPS coordinates as schema.org structured data. It does one job, stays small, and loads no front-end CSS or JavaScript.
It is designed to sit next to The SEO Framework (TSF). TSF already prints WebSite, Organization (or Person), and BreadcrumbList. This plugin adds the missing local business details to TSF’s Organization instead of installing a large schema suite.
Key Features:
- One settings page: Settings Local Business. Pick a schema.org type (Store, Restaurant, Bakery, Hotel, Plumber, Physician, and other common types), then fill in the address, hours, phone, email, price range, image, and GPS coordinates.
- One block, one entity: When TSF 5.x prints its Organization, your details are merged into that same node, so search engines see one complete entity. No second block is printed.
- Standalone fallback: Without TSF, or when TSF’s JSON-LD or knowledge graph output is off or set to a Person, the plugin prints its own LocalBusiness block.
- Holidays and exceptions: Mark closures or special hours for a date or a date range. Past dates are ignored automatically.
- Split opening hours: Each day can have one range, or two (for a lunch break). Days with identical hours are grouped.
- Profile links and map: Add
sameAsprofile URLs (Google Business Profile, social networks) and a map link. - Restaurant fields: For food establishments, add cuisines served, a menu URL, and reservations.
- Import and export: Fill in every setting from a JSON file, which is handy when you set up several sites, or download your settings as a file. Imported values go through the same checks as the form.
- Front page by default: An option prints the data on every front-end page.
- Developer friendly: Filters let you extend types, properties, the final entity, and where it is output.
- Clean uninstall: The option is removed when the plugin is deleted.
This plugin does not create or replace a Google Business Profile. Keep the same name, address, and phone number as on your Google listing.
Filters
tllb_types— add or change business types (type => array( label, is food establishment )).tllb_properties— change the LocalBusiness properties before they are merged or printed.tllb_graph— change the standalone entity before it is printed.tllb_entity_id— change the standalone entity@id.tllb_output— decide whether the data is output on the current request.
Docs: docs/USER-GUIDE.md (English) and docs/MODE-DEMPLOI.md (French).
Installation
- Upload the
tlloancy-local-businessfolder to the/wp-content/plugins/directory, or install it from the Plugins screen. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings Local Business, fill in the business type, address, and opening hours, then save.
FAQ
-
Does this replace The SEO Framework?
-
No. Leave TSF (or another SEO plugin) in charge of titles, sitemaps, WebSite, Organization, and breadcrumbs. This plugin only adds local business details.
-
How does it work with The SEO Framework?
-
When TSF 5.x prints an Organization (JSON-LD output and knowledge graph output enabled, and the site set to represent an Organization), the plugin adds your details to that Organization through TSF’s
the_seo_framework_schema_graph_datafilter. TSF keeps its own name, URL, and logo. In every other case, the plugin prints a standalone LocalBusiness block. -
Where is the data printed?
-
On the front page, in
wp_head, unless you tick “Output on every front-end page”. -
How do I enter holidays?
-
In “Holidays and exceptions”, one per line. Use a date or a range, then “closed” or the hours. For example:
2026-12-25 closed,2026-12-24 09:00-13:00,2026-08-01..2026-08-15 closed. -
How do I import my settings from a file?
-
Go to Settings Local Business, scroll to Import and export, choose a
.jsonfile and click Import settings. The file is a JSON object whose names are the settings of the page. Write only the ones you need: settings that are not in the file are left as they are, unless you tick “Reset every setting that is not in the file”.Opening hours can be written as text: one entry per day (
MondaytoSunday, orMontoSun), with"closed"or one or two ranges.{ "type": "Bakery", "name": "Example Bakery", "street": "12 Example Street", "city": "Exampleville", "country": "US", "phone": "+1 555 0100", "hours": { "Monday": "closed", "Tuesday": "07:00-13:00, 15:00-19:00", "Saturday": "07:00-13:00" }, "special_hours": [ "2026-12-25 closed" ] } same_as, `special_hours` and `serves_cuisine` can be a list or text as on the page, and `accepts_reservations` can be `true`, `false` or a URL. A file downloaded with **Download settings (JSON)** can be imported as it is. Invalid values (a bad email, a time that does not exist, an unknown type) are not imported, the current value is kept, and the result page lists them. Files are limited to 256 KB; use the `tllb_import_max_bytes` filter to change that. -
What is removed when I delete the plugin?
-
The
tlloancy_local_business_optionsoption. Nothing else is touched.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“tlloancy Local Business” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “tlloancy Local Business” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- Import all settings from a JSON file (Settings Local Business Import and export), with a report of invalid values and unknown names.
- Download the saved settings as a JSON file, which also serves as a template.
- Filter
tllb_import_max_bytesto change the size limit of import files. - Docs:
docs/USER-GUIDE.md(English) anddocs/MODE-DEMPLOI.md(French).
