Showing content in dashboard

Discussion in 'Customization & add-ons' started by bennyuk1, Dec 15, 2017.

  1. bennyuk1

    bennyuk1 aMember Pro Customer

    Joined:
    Jan 12, 2012
    Messages:
    200
    I have some user fields (DATA - text) that have some info that I need to display on site (WP integration).

    Is there a way to display profile text fields on the user dashboard area?
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    You can use aMember shortcodes within WP:
    Code:
    [am4user var='fieldname']
    replace fieldname in code above with actual name of your field.
    relapse likes this.
  3. bennyuk1

    bennyuk1 aMember Pro Customer

    Joined:
    Jan 12, 2012
    Messages:
    200
    Thanks. Is there a way to put this in an if loop, eg
    if var-"fieldname" is not empty then do this....

Share This Page