• Jakes

    (@johanppmedia)


    Hey,

    I’m not sure what exactly I’m doing wrong here?

    I’m trying to display the image “banner_logo” for the post type “listing”, but the image query should reference the post author in order to display this anywhere on the website.

    [pass user_field=id]
    [content type=listing image=banner_logo author={USER_FIELD}]
    [/pass]

    This is not working?
    Any help here please?

Viewing 1 replies (of 1 total)
  • Content has to be addressed with an unique value like slug, id or name. Using a field like author does not work.

    You have to do a loop. Try

    [pass user_field=id]
    [loop type=listing author='{USER_FIELD}']
     [field banner_logo]
    [/loop
    [/pass]
    • This reply was modified 2 years, 12 months ago by polarracing.
    • This reply was modified 2 years, 12 months ago by polarracing.
Viewing 1 replies (of 1 total)
  • The topic ‘Unable to display image for author user post type’ is closed to new replies.