WordPress.org

Ready to get started?Download WordPress

Forums

ProjectManager
BEAUTIFUL Plugin - Can I display WP Username? (1 post)

  1. spiritsentient
    Member
    Posted 3 years ago #

    Kolja, you sir, have created a masterpiece. Thank you so so so much for this.

    If there's anyone I can show this plugin to, or vote it, or review it or something, I'd love to.

    I have a question regarding something that I feel is easy, but I'm just not getting it.

    I'm currently customizing the template for displaying Datasets.

    My first desire was to display Project A's entire dataset, in tabular rows, but when I inserted that shortcode, it display some fields I did not wish ('Name'), and I could not get it to display the correct ones ('WP User, Team, Level') all on a single line per data-set.

    So I then tried to display individual datasets, and make them horizontal through custom templating. Which worked beautifully.

    Except when I had it display:

    echo '<div class="name">' . $meta_values["Team"] . '</div>';
    echo '<div class="name">' . $meta_values["User"] . '</div>';

    Summary:
    The template displays the 'Team' value perfectly, but for User it displayed the WordPress User ID ('5'), not the WordPress User Name ('Akita').

    Question:
    How can I display a WP User *name* from a dataset?

    http://wordpress.org/extend/plugins/projectmanager/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic