Description
Alpha release. HastaLaRaiz lets you record the people in your family and the unions that link them, then displays the result as an interactive family tree on any page or post.
It was designed for real-life families: several successive partners, children from a previous relationship, half-siblings and step-parents are all drawn on the same tree.
Features
- Individuals with photo, birth date, death date and a free-text biography.
- Families & unions linking one or two parents to their children. A person can belong to several unions.
- Blended families: successive partners are placed side by side, and the children of each union hang from the right couple.
- Compact layout: siblings cascade diagonally by birth order (eldest highest and leftmost), so wide families take far less horizontal space. When no birth date is known, alphabetical order is used.
- Colour-coded generations with a legend.
- Detail card: click on a person to open a full card (photo, dates, parents, partners, siblings, children, biography) over the tree, and jump from one relative to another.
- Zoom & pan, with a reset button.
- PDF export of the whole tree as a vector file, sharp at any zoom level.
Usage
- Create the people under HastaLaRaiz → Individus.
- Create the unions under HastaLaRaiz → Familles & Unions: choose one or two parents and tick their children.
- Add the shortcode
[hlraiz_genealogy_tree]to any page or post.
Privacy
The tree is public: the names, dates, photos and biographies of the people you publish are visible to every visitor of the page, and are also available through the REST endpoint /wp-json/hlraiz/v1/genealogy. Only publish information about living people with their consent, in accordance with the privacy laws that apply to you (GDPR in the European Union).
About the name
HastaLaRaiz (“down to the root”) is a tribute to the song “Hasta la Raíz” by Natalia Lafourcade, about carrying your roots with you wherever you go — which is what a family tree is all about. This plugin is not affiliated with the artist or her work.
The plugin was previously submitted as “Généalogie”; it was renamed because that name was too generic.
Third-party libraries
The plugin bundles the following open-source libraries:
- D3.js — ISC License
- jsPDF — MIT License
- svg2pdf.js — MIT License
Installation
- Upload the
hastalaraizfolder to/wp-content/plugins/, or install the plugin from Plugins → Add New. - Activate the plugin from the Plugins menu.
- Add your people and families from the new HastaLaRaiz menu.
- Insert
[hlraiz_genealogy_tree]in a page.
FAQ
Can a person have several partners?
Yes. Create one union per couple. Successive partners are displayed next to each other, and each union keeps its own children.
How do I show the children of a partner’s previous relationship?
Create a union between that partner and their former partner (the second parent can be left empty), and tick the children. They will appear under that union, next to the rest of the family.
In which order are siblings displayed?
By birth date, from the eldest (top left) to the youngest. People without a birth date are sorted alphabetically.
Is the interface translated?
The interface is currently in French only. Translations will be possible through translate.wordpress.org in a future release.
Changelog
0.2.0
- All internal names now use the unique “hlraiz” prefix (post types, meta keys, options, shortcode
[hlraiz_genealogy_tree], REST namespacehlraiz/v1). Existing data is migrated automatically. - Visibility setting: the tree, its data and the person pages can be reserved for logged-in members.
- Administrators can link a site account to a person of the tree (on the person, on the user profile, and in a new “Arbre” column of the users list), with name-based suggestions.
- A logged-in member sees their own card highlighted (“C’est toi !”) and can center the tree on it with the new “MOI” button.
0.1.1
- Renamed from “Généalogie” to “HastaLaRaiz – Family Tree & Genealogy”.
- Updated jsPDF to 4.2.1 and svg2pdf.js to 2.9.0.
- Admin menu moved lower in the dashboard.
0.1.0
- First public alpha release.
