Forums

[resolved] List users and their profile pictures in a table (4 posts)

  1. Karlington
    Member
    Posted 1 year ago #

    Hello!
    I have a little problem I would like to find a solution to. I have set up a WP site for my company and I would like to have an "Employee" page where all employees will be shown with profile pics (and some additional data) in a table / grid. Employees in this case should be Users in my WordPress database and I've installed a plugin (Profile Pic) that allows users to add a profile picture.

    Do you have any tips on how to best proceed? Is there perhaps any plugin or tutorial for this? I have searched but not found anything.

    I'm a relatively new WordPress user and my sql and php programming knowledge extends to the point that I can't code from scratch but I can, with some effort, adjust code.

    Extremely grateful for help!

    Greetings Karl

  2. vtxyzzy
    Member
    Posted 1 year ago #

    Here is a pastebin file that has a skeleton template that should get you started.

    Copy the file to your theme's folder. Create a blank Page and assign this as the template. You will need to adapt to your theme and add the Employee data to display.

  3. Karlington
    Member
    Posted 1 year ago #

    Thank you so much man!
    That was exactly what I was looking for. A plain and simple code that I can change to suit my needs!

    Kind regards,
    Karl

  4. vtxyzzy
    Member
    Posted 1 year ago #

    You are welcome! Now, please use the dropdown at right to mark this topic 'Resolved'.

Topic Closed

This topic has been closed to new replies.

About this Topic