Skip to content
Documentation

Author: admin

Shortcode and Block Reference

Shortcode and block reference The [osfec_offers] shortcode and the Offers block render through exactly the same code, so they accept the same options and always produce the same markup. [osfec_offers type="mieszkanie" city="Białystok"…

Settings

Settings reference All settings live under Esti To WordPress → Settings, split across four tabs. Each tab saves on its own — pressing Save Changes** on one tab never touches the fields…

Publishing Offers

Publishing offers on your site Once offers are imported, three things exist without any work on your part: The archive — every offer, with a filter bar and sorting, at /{archive-slug}/ (by…

PHP API

PHP API: the osfec_* functions These functions are the plugin's public API. They live in includes/functions.php, load on plugins_loaded and are available anywhere in the theme. Every function that takes a $post_id…

Introduction

What the plugin does Esti To WordPress pulls real estate offers from an Esti CRM account and publishes them on a WordPress site: an archive with filters, a full page for every…

Installation

Installation and first run Requirements WordPress 6.0 or newer PHP 7.4 or newer An Esti CRM client API account: a company identifier and an API token A license key for this plugin,…

Data Model

Data model reference The plugin creates no database tables and no taxonomies. Everything lives in wp_posts, wp_postmeta and a handful of options. Post type Name osfec_offer Public yes, has_archive = the archive…

Custom UI

Building a custom UI When the bundled templates are the wrong starting point, ignore them. Offers are ordinary posts, so anything you can build with WP_Query you can build here — while…

CSS Class Map

CSS class map Every class the plugin renders is prefixed osfec- and follows BEM: block__element--modifier. The outermost element of every component also carries the bare .osfec class, which is where the custom…

Licensing Model

Licenses are domain-based: 1 license = 1 domain. Available packages: 1, 2, 5 or 10 domains. A license may not be shared across more domains than purchased. You can change the domain…