WordPress.org

Ready to get started?Download WordPress

Forums

Football Pool
Display Company Name in Ranking (5 posts)

  1. Joepiooo
    Member
    Posted 3 months ago #

    Hello,

    I'm using this plugin and I think it is really great.

    For users to register I'm using:

    Simplr User Registration Form Plus

    I have added some extra fields and also a field "Company Name".

    In the ranking table you can see "position", Username and Score.

    Is it possible to show the company name too?

    If it is not possible with this registration plugin I just said is it possible some other way? Because I really want to show company name in the ranking list.

    Any help would be very welcome.

    Thanks

    Joep

    https://wordpress.org/plugins/football-pool/

  2. AntoineH
    Member
    Plugin Author

    Posted 3 months ago #

    Hi,

    The plugin uses the display_name from the WP User by default. But you can alter the ranking array before printing the results with the 'footballpool_ranking_array' hook.

  3. AntoineH
    Member
    Plugin Author

    Posted 3 months ago #

    Hi,

    The plugin uses the display_name from the WP User by default. But you can alter the ranking array before printing the results with the 'footballpool_ranking_array' hook.

  4. Joepiooo
    Member
    Posted 3 months ago #

    Hi Antoine,

    The data is stored in wp_usermeta.

    How can I acces this wp_usermeta in the ranking class?

  5. AntoineH
    Member
    Plugin Author

    Posted 3 months ago #

    More info on the WordPress codex: get_user_meta

Reply

You must log in to post.

About this Plugin

About this Topic