• Resolved Gary

    (@garypcarterwp)


    Hello,
    Is it possible to reference the current post id as the root to draw a family tree on that members page?

    At the moment the short code is:
    [family-tree family=’4′ root=’50’]

    But can something like this work:
    [family-tree family=’4′ root=’post_id’]

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author blackandwhitedigital

    (@blackandwhitedigital)

    Hi

    No idea! It’s not designed to do that but if you try it out you never know ??

    I don’t understand what you want to achieve with this? A tree of posts?

    Sorry I can’t help more.

    Thread Starter Gary

    (@garypcarterwp)

    I have been trying for quite some time!!!

    The idea is that when the archive page is created it will automatically display the family tree for that person on their page.

    Is there a way I can use/call the ID field in treepress as dynamic content?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use current post ID for tree root’ is closed to new replies.