How to display custom user meta from "author" using a shortcode

Support MB User Meta How to display custom user meta from "author" using a shortcode

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42173
    lighterdayzlighterdayz
    Participant

    I'm trying to display post content using Ninja Tables. I want to display custom fields like "phone" with the author's post content in the same row. This will be in a table of authors/posts, so a user ID needs to be dynamic. I tried this, but it didn't work: [rwmb_meta id="phone" object_type="user"]

    I'm looking for something that works like a Beaver Builder field connector.

    Any suggestions?
    Thanks!
    Marge

    #42180
    PeterPeter
    Moderator

    Hello,

    You can contact Ninja Tables support to ask for get the user ID then pass it to the helper shortcode

    [rwmb_meta id="phone" object_id="user-ID-here" object_type="user"]

    Refer to the documentation https://docs.metabox.io/shortcode/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.