WordPress.org

Ready to get started?Download WordPress

Forums

Adding a command/value to a link (1 post)

  1. ktrusak
    Member
    Posted 2 years ago #

    Is there a way to have links execute commands? I am new to this and have some trouble so help is appreciated!

    What I am looking for is to have a link for sending a message to a specific user. I have the User Messages plugin, which allows for private messaging on the front end. I was hoping to create a link that will redirect to the create message URL (http://hookahi.com/messages/write-message), but have the link contain the value # for the recipient. Basically, a link that sets the value of a certain input/field, is that possible?

    What I am hoping for... the profile of user Phil who's "value #" is 17. A link that says "Send Phil a Message" with the link as '<a href="" class="user.select" value="17">Send Phil...</a>' or something like that? Can that be done?

Topic Closed

This topic has been closed to new replies.

About this Topic