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.
ignore this, i got it done by adding my own function with php. thanks
Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam.