WP Family Tree
Use Pages instead of Posts (1 post)

  1. dgdax
    Posted 1 year ago #

    Hi - first, thank for this plug-in, which is a nice addition to our family website...

    For several reasons, I prefer to have family members as Pages rather than Posts - and for the most part the plug-in handles this fine.

    The only problem is in editing: the drop-down lists to link family members are empty, as they only look for Posts (get_posts() function used in family-tree.php, line 211)

    To cure this, I have appended the condition "&post_type=any" to the query, and this works a treat, i.e.

    line 211: $family = get_posts('category_name='.wpft_options::get_option('family_tree_category_key').'&numberposts=-1&orderby=title&order=asc&post_type=any');

    Any chance of making this a more permanent feature of the plugin?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Family Tree
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic