[Plugin: People Lists] Add custom fields
I absolutely love this plugin, but would love to know if (and how) it is possible to add custom profile fields to the People Lists plugin. I’m not talking about the custom fields you can create using People Lists, but custom fields I’ve created in the functions.php file.
I’d love to use the following code in one of my People Lists:
<a href="http://twitter.com/<?php the_author_meta( 'twitter' ); ?>" title="Follow <?php the_author_meta( 'display_name' ); ?> on Twitter" target="_blank">Follow @<?php the_author_meta( 'twitter' ); ?> on Twitter</a>
I’d really appreciate it if someone could help me with this. Thanks!
Edit: I sort of fixed this myself. For anyone who wants to know: I edited the people-lists.php file, went to line 637 and added:
$input_template = "%twitter%";
I scrolled down to line 663 and added:
$replacements = $user_data->twitter;
Still, I’d love to see this added as a feature. Thanks!
- The topic ‘[Plugin: People Lists] Add custom fields’ is closed to new replies.