Weight Tracker Documentation

Documentation and tips for setting up Weight Tracker on your WordPress site.

More:
WordPress.org / GitHub / YeKen.uk

Custom fields

The following feature is only available in the Pro version of the plugin.

What are custom fields?

Custom fields allow a site administrator to ask custom questions of their users when they complete a weight entry. For example, you may want to ask the user “How many cups of water have you drank today?” or “Did you stick to your diet today?”. From the WP Dashboard, under “Weight Tracker” there is a menu item labelled “Custom Fields”. From here, you can see a list of all Custom Fields that have been added and have the ability to add, edit and delete them.

Custom fields overview

Field types

There are four field types currently supported:

Custom fields in frontend

Managing custom fields

Custom fields form

From here, you can delete, add and edit Custom fields.

Groups

Custom fields can be added into groups. This allows the following shortcodes to be filtered to only display custom fields from one or more groups: [wt], [wt-form], [wt-chart] and [wt-table].

Viewing the data

Custom fields are visible within data tables and charts (if a numeric custom field).

Chart

Custom fields in chart

Tabular

Custom fields in table

Shortcodes

Currently there are only shortcodes to render Photo Custom Fields. To render photos the following shortcodes can be used: