• Resolved frans003

    (@frans003)


    Hi all,

    when I am adding [su_post field=”post_author”], instead of getting the name of the author, I get the number “1”.

Viewing 1 replies (of 1 total)
  • Plugin Author Vova

    (@gn_themes)

    Hi @frans003,

    that’s the expected behavior. 1 – is the user ID of post author. You can use the following shortcode to show the author’s Display name:

    [su_user user_id="{su_post field='post_author'}"]
    
Viewing 1 replies (of 1 total)

The topic ‘[su_post field=”post_author”] returning 1’ is closed to new replies.