• Hey, so I absolutely love the plugin! It does everything I need, but there’s an issue when I’m calling one of the fields. The way I have my WP configured is that field user is the user’s ID, but I want it to display the user’s name. I’m attempting to store field user as a variable and then pass it through the link, but I’m not having much success. I can’t use field author because this is a custom post and the author isn’t actually the field I want to display.

    Any help would be greatly appreciated, I’ve included my attempt below:

    [loop type=user_award count=10 custom=true]
       [set awarded_user_id][field user][/set]
       <a href="/user/[field user]">[pass vars][users include={awarded_user_id}][user name][/users][/pass]</a> received the [link][field title][/link] award on [field date].
    [/loop]
    • This topic was modified 6 years, 10 months ago by ewolf90.
    • This topic was modified 6 years, 10 months ago by James Huff.

The topic ‘Using a field as a variable’ is closed to new replies.