1. Home
  2. Docs
  3. TreePress WordPress Plugi...
  4. 1.0 – Getting Start...
  5. 1.4 – Create Your Family Tree and Family Member Pages

1.4 – Create Your Family Tree and Family Member Pages

Create a page to display your family tree – you can call this what you wish – and put a Shortcode 1 - Display a Family Tree shortcode on it; (this is the family tree page). Replace the content of the {…} section with the family ID – you can find this on the Family Group page in the left hand sidebar menu.

To make this show the tree with a specific person at the ‘Root’ amend the code to

Family Tree Shortcode 2 Add Family Tree with Root Member

You can choose any family member as the ‘root’.  You will find their ID on the ‘All Members’ page (see link in left sidebar menu).

You also need to create a page to add the detailed family members report.  Add a new page called whatever you wish and addShortcode 3 - Family Members Page shortcode on it.

Now copy the page URLs for the two pages you have just created and go to the Family Group screen  (left sidebar: TreePress => Family Groups) and set the family tree link option and family members page links in the fields at the bottom).

Add the URLs for your family tree page and family members report page to the Family Group.

 

When you add a new family member, specify the family which the belong to and who’s tree you want them to display in from the Family Groups sidebar options on the right hand sidebar.

IMPORTANT:  Reset your Permalink settings by clicking “Save Changes” button on the left sidebar Settings=>Permalink page.

Refresh Permalinks
Fig. 2 – Refresh your Permalinks after adding new pages and shortcodes to ensure everything works correctly!

 

1.4 – Create Your Family Tree and Family Member Pages