Support

Account

Home Forums ACF PRO Displaying User specific fields

Solving

Displaying User specific fields

  • Hello, I’m using ACF Pro in combination with Avada and I would like to display values that I defined in the WordPress users using ACF fields. The displayed value should change depending on the logged in user.

    For example:
    User John Doe has a custom field called lot_number with value 35
    But user Jane Doe has lot_number: 37

    When John Doe is logged in it should say “Your Lot Number is: 35”, but for Jane it should say “Your Lot Number is: 37”

    Would this be possible? Preferably with Avada’s Dynamic Content feature.

    Thank you for your time and efforts

  • The only way this would be possible is if the Avada’s Dynamic Content feature has a way to tell it to use a value from the currently logged in user.

    To get values from a user you must supply the user ID when getting the field, and the value would need to be dynamic based on the current user.

    I don’t know anything about Avada. More than likely you’ll need to build a custom shortcode to do what you want to do.

  • Thank you John, I will be looking into that!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.