• I want to manipulate the /author/insertname templates and I was attempting to use the [user] shortcode, but of course it just references the logged in user information. Any tips? I’m trying to extract first_name and other meta information created with a Gravity Forms user registration form. Thanks!

Viewing 1 replies (of 1 total)
  • Not sure if this will help but this was a block I put together to loop through a CPT and display the different authors avatar and first name and first initial of the last name.

    Not sure if you will be able to use any of this or not but it worked quite well for my purposes.

    [raw]
    [loop type=custom_post_type]
    [pass field=author meta=id]
    [loop-count]
    [users include={FIELD}][user avatar size=40][/users]
    [field author meta=first_name]
    [field author meta=last_name length=1]
    [/if]
    [/pass]
    [/loop]
    [/raw]

    • This reply was modified 5 years, 3 months ago by jgateman.
    • This reply was modified 5 years, 3 months ago by jgateman.
Viewing 1 replies (of 1 total)
  • The topic ‘Displaying the Author’ is closed to new replies.