WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
[resolved] How do I use the link text feature for emails? (3 posts)

  1. wp-vic
    Member
    Posted 1 year ago #

    I wish to display records where the person's name is a link to their email address.

    I created a link-type field. In the Participant Record form, I entered the email address in the (URL) box and the person's name in the Link Text box, yet the email address continues to be displayed instead of the link text.

    I understand an email address is not a URL but is there a way around this?

    http://wordpress.org/extend/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    wp-vic,

    Yes, this is just the way it works...if you put an email in the link field, it will make a mailto: link out of it, but it ignores the link text.

    If you want to change this, you can edit participants-database.php, line 1962:

    you'll find:
    $title = $link;

    comment it out so it doesn't assign the $title variable:
    //$title = $link;

  3. wp-vic
    Member
    Posted 1 year ago #

    I can't thank you enough.

    Thank you, xnau!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic