How to use user name pre-populate new message “To”


Home Forums Front End PM PRO How to use user name pre-populate new message “To”

This topic is: Resolved
  • This topic has 2 replies, 2 voices, and was last updated 3 weeks ago by Alf.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39455
    Alf
    Participant

    Hi,
    I have a question. Could you help me?

    I would like to use the function, user name pre-populate new message “To”, which is listed in:
    https://www.shamimsplugins.com/docs/front-end-pm/customization/user-name-pre-populate-new-message/

    However, I have no idea about where I can insert the code which is introduced in this website.
    I can open the folder of Front end PM.
    I guess that I can insert the cord to “/wp-content/plugins/front-end-pm/templates/newmessage_form.php”.
    However, where can I insert the introduced code in the file?

    I attached the screenshot of code.

    I appreciate your help.

    Attachments:
    You must be logged in to view attached files.
    #39462
    shamim
    Keymaster

    Suppose you are writing a blog post and now you want your users to send a message to you about that blog post. You can add this link in that blog post. Now when a user will click that link they will redirect to message page with your name in the “To” field so that they will not need to search your name. They can just write subject and message and send to you.

    I believe you are using version 5.1+.There are 2 shortcodes to easily achieve this. I suggest you use one of those instead of using link directly. You can get link of those shortcodes in little lower of that docs page https://www.shamimsplugins.com/docs/front-end-pm/customization/user-name-pre-populate-new-message/.

    #39482
    Alf
    Participant

    Thank you very much for your help!

Viewing 3 posts - 1 through 3 (of 3 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.