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.
$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?
- The topic ‘Use Pages instead of Posts’ is closed to new replies.