[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="https://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[11] = "%twitter%";
I scrolled down to line 663 and added:
$replacements[11] = $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.