• hi i need a little help getting this in a table format on a page to list all my users.
    or as an input form where i can type a users name and this data is displayed

    [users]
    [raw]
    Gravatar – [pass user_fields=”avatar”] {AVATAR}[/pass]<p>
    [user]’s IP Address: [show_ip] <p>
    Users Id: [user id]<p>
    Full name: [user]<p>
    Login name: [user name]<p>
    User’s Role: [pass user_fields=”role”] {ROLE}[/pass]<p>
    E-mail: [user email]<p>
    [user] archive: [user archive-link]<p>
    [is mobile]
    User is on a phone or tablet.
    [else]
    User is on a computer.
    [/is]<p>
    [if user_field=post-count]
    Post count: [user post-count]
    [else]
    No posts yet!
    [/if]<p>
    [/raw]
    [/users]

Viewing 1 replies (of 1 total)
  • Hi,

    I guess you need to learn some basic HTML. Probably this website is useful: w3schools.com

    If you want to kwow how to get content in a table, take a look at: http://www.w3schools.com/html/html_tables.asp

    If you want to display data from one user, based on what you fill in a form, first you have to makes an form(field) that can creates an url with a query string (.../?user=john).

    After that, reads the “Pass” reference of this plugin (...yourwebsite.../wp-admin/options-general.php?page=ccs_reference&tab=pass#query-variables).

    PS. Why are you passing the role of the user? Can’t you use [user role]?

    Peter

Viewing 1 replies (of 1 total)

The topic ‘table format’ is closed to new replies.