Web Analytics
Skip to content
  1. Home
  2. Docs
  3. Genealogical Tree Documentation
  4. Installation
  5. Shortcode

Shortcode

[tree] – This shortcode allows you to display the family tree on any page or post. The only required parameter of this shortcode is `id`, and the value is the ID of post type gt-tree.

[gt-tree] – This shortcode is similar to the [tree] shortcode but with some additional parameters. It allows you to show a specific member’s tree and their ancestors and descendants. Although it have additional parameters it is not useful now, This shortcode replaced with [tree],

[gt-tree-list] – This shortcode allows you to display a list of available trees on your website by each family group. The only required parameter of this shortcode is `family`, and the value is the ID of custom taxonomy gt-family-group

[gt-member] – This shortcode allows you to display information about a specific member of the genealogical tree, including their name, birth-date, and other details. The only required parameter of this shortcode is `id`, and the value is the ID of post type gt-member.

[gt-members] – This shortcode allows you to display a list of members in the genealogical tree. You can customize the display settings and the number of members to show using various parameters. The required parameters of this shortcode is `ids` and `family` the `ids` value is the IDs of post type gt-member separated with (,) coma and the `family` value is the value is the ID of custom taxonomy gt-family-group

the value is the ID of custom taxonomy gt-family-group

[gt-user-registration] – This shortcode allows you to display a user registration form on any page or post. Users can use this form to create an account on your website and access the genealogical tree.

[gt-user-login] – This shortcode allows registered users to log in to your website and access the genealogical tree.

Was this article helpful to you? Yes 1 No

How can we help?