[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.
Example
[tree] Shortcode:
This shortcode displays the family tree on a page or post.
Example: [tree id=”123″]
[gt-tree] Shortcode:
Similar to [tree] but with additional parameters to show a specific member’s tree and their ancestors and descendants.
Example: [gt-tree id=”456″]
[gt-tree-list] Shortcode:
Displays a list of available trees on your website grouped by family.
Example: [gt-tree-list family=”789″]
[gt-member] Shortcode:
Displays information about a specific member of the genealogical tree.
Example: [gt-member id=”101″]
[gt-members] Shortcode:
Displays a list of members in the genealogical tree, customizable with various parameters.
Example: [gt-members ids=”102,103,104″ family=”789″]
[gt-user-registration] Shortcode:
Displays a user registration form for creating an account on your website.
Example: [gt-user-registration]
[gt-user-login] Shortcode:
Displays a login form for registered users to access the genealogical tree.
Example: [gt-user-login]