Skip to content

3. Dashboard

Falko Joseph edited this page Mar 3, 2021 · 3 revisions

Properties

  • A quick glance at all of your properties
  • Ability to add additional information to your properties
  • Real-time synchronization status + last updated indication

Add additional information to a property

We've added some optional additional fields which you can add to a property. Please note that these fields are not synced with SweepBright, but they might be useful if a customer wants to add some additional information which is not available in SweepBright.

Displaying additional information

Tag

E.g. Phase 1, 20% sold, ...

get_field('custom_fields')['tag'];

Return: string

Building style

E.g. Modern, classic ...

get_field('custom_fields')['style'];

Return: string

Building type

E.g. Terraced, Detached ...

get_field('custom_fields')['type'];

Return: string

Unique selling points

E.g. Spacious, sustainable and energy-efficient homes ...

get_field('custom_fields')['usp'];

Return: array

Example:

foreach (get_field('custom_fields')['usp'] as &$usp) {
  echo $usp['usp_item'];
}
Clone this wiki locally