Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Ben Jeremy
    Participant

    hi, i wanted to display a specific usermeta field which is gotten through a url param.
    for example, domain.com/?userid=9 , the usermeta field will display the userid 9 detail.

    so i tried the following:
    [sc name="test"][urlparam param=’id’/][/sc]

    and inside the “test” shortcode:
    [types usermeta=’displayname’ user_id=’$$enclosed_content$$’][/types]

    it pass the correct urlparam into the enclosed content but it always load the userid 1 detail irrespective of which param it passed in. could you help me?

    hopefully its clear, please help thanks in advance.

    Ben Jeremy
    Participant

    ignore this, i got it done by adding my own function with php. thanks

    Great !

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

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter