I’m attempting to create a text element that has a set of custom attributes displaying the first name, last name, and ID of the current logged in user.
Unfortunately, this does not appear to be working. and it’s just showing the dynamic code when I look in the inspector. The custom attributes I setup are below.
userID = {{ user.id }}
firstName = {{ user.meta({“key”:“first_name”}) }}
lastName = {{ user.meta({“key”:“last_name”}) }}
Any idea what I’m doing wrong here? I do have Twig enabled.