Viewing 7 replies - 1 through 7 (of 7 total)
  • Oops used wrong user to post that last one, owell. Here is the code I changed on your co-authors-plus.php file on line like 340

    `<!– Custom SlickRemix edit, we added echo esc_attr( $coauthor->id ); to the first input below –>
    <input type=”text” name=”coauthorsinput[]” readonly=”readonly” value=”<?php echo esc_attr( $coauthor->display_name ); ?> | ID=<?php echo esc_attr( $coauthor->id ); ?>” />`

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    Why do you need the ID next to the name?

    Thanks for responding. So the author can see and take/copy the ID number next to his name and apply it to our link… shown in pic link above. so when authors give out this link and people click it, those hits will be tracked to that author.

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    I see. I’d recommend instead adding similar AJAX “search to find your user ID” functionality to your plugin.

    Well simply put everything you are doing in your plugin is perfect, we just need to see the ID next to the author so authors can copy that. We would rather not add additional code just to show the author ID when your plugin is already showing the authors with names ??

    I, too, would be interested in showing additional information. I want to display the author’s name, the email address, and phone number (which I’ve added as a profile field and will use the Jabber field if it’s a guest).

    How would one do that?

    Maybe you could add some additional options on the settings page for those who would like to see more info on each author. That would be sweet.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding the ID of author next to the name’ is closed to new replies.