user name pre-populated when click link Home › Forums › Front End PM PRO › user name pre-populated when click link Search for: This topic is: Not Resolved This topic has 3 replies, 2 voices, and was last updated 4 years, 2 months ago by shamim. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 5, 2016 at 11:44 pm #1566 kalinkiParticipant Hi If I use the php code, the author is not entered in the “To field” https://www.shamimsplugins.com/docs/front-end-pm/customization/user-name-pre-populate-new-message/ The difference from your link _my-website.com/message.html?fepaction=newmessage&to=author_name My Link _my-website.com/message.html?fepaction=newmessage I am not a php programmer, what I must enter exactly, so that the author (user) is displayed in the To field? Thank you so much! 😉 Karin Attachments:You must be logged in to view attached files. December 6, 2016 at 12:39 am #1571 shamimKeymaster Thank you for contacting. where did you add code and what code you added? did you changed USER with User Slug (nicename) (recommended) or user id or user email or user login? December 6, 2016 at 3:40 am #1574 kalinkiParticipant Hi my request is a “private message Bottom” to the author of the post, which I can paste into any php page. is that possible? Look in my file sketch please. Thank you Karin Attachments:You must be logged in to view attached files. December 6, 2016 at 1:15 pm #1578 shamimKeymaster any php page? post can have author but every php page does not have author, So how will you get author if do not have one? Do you want to send message to a constant author? If i understand you correctly can you put what suggested here https://www.shamimsplugins.com/docs/front-end-pm/customization/user-name-pre-populate-new-message/ Change USER with get_the_author_meta( 'user_nicename') Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You need to purchase ‘Front End PM PRO’ to create topic in this support forum. If you already purchased ‘Front End PM PRO’ please LOGIN.