WordPress.org

Ready to get started?Download WordPress

Forums

People Lists
[resolved] Unable to create links (5 posts)

  1. helphelpmerhonda
    Member
    Posted 2 years ago #

    I am unable to create links inside the template
    example:
    'Twitter'

    Instead of creating a link to my users twitter account, wordpress is adding my sites url in front of the user submitted information. so the link ends up looking like "www.mysite.com/www.twitter.com/username"

    I am pretty sure I am overlooking something pretty simple. At least I hope that is the case.

    any help is appreciated, thanks so much!

    http://wordpress.org/extend/plugins/people-lists/

  2. enej
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi
    you need to put
    http:// infront of the http://www.twitter.com/username
    so you have something like
    http://www.twitter.com/username

    Cheers

  3. helphelpmerhonda
    Member
    Posted 2 years ago #

    Yeah I figured it out and forgot to come say something on the forum. Thanks though!

  4. Jimboba2011
    Member
    Posted 2 years ago #

    Hi enejb

    You've helped me in the past with a couple of issues and was hoping you could again.

    I'm posting here becuase this is 'close' to the type of issue I'm having. I think.

    I have a contact list and some of those contacts (not all) have biography pages elsewhere in the wordpress site. I'd like to link to those pages for some of the people.

    However, like helphelpmehonda I'm getting strange URLs returned, or having the 'before element being incorporated into the URL thus breaking it.

    Here are a few test I tried;
    <div class ='user-info'>Bio</div>
    <div class ='user-info'>Bio</div>
    <div class ='user-info'>%website%</div>

    If I don't include the a href I don't get the hyper link.

    I mentioned that not all of the contacts have biographies becuase whilst I can code in 'Biog' in to the template it will simply appear in all instances with a link to the root page.

    Can you help this idiot?

  5. Jimboba2011
    Member
    Posted 2 years ago #

    Hi enejb

    You've helped me in the past with a couple of issues and was hoping you could again.

    I'm posting here becuase this is 'close' to the type of issue I'm having. I think.

    I have a contact list and some of those contacts (not all) have biography pages elsewhere in the wordpress site. I'd like to link to those pages for some of the people.

    However, like helphelpmehonda I'm getting strange URLs returned, or having the 'before element being incorporated into the URL thus breaking it.

    Here are a few test I tried;

    <div class ='user-info'><a href="%website%">Bio</a></div>
    <div class ='user-info'><a href="http://%website%">Bio</a></div>
    <a href="%website%"><div class ='user-info'>%website%</div></a>

    If I don't include the a href I don't get the hyper link.

    I mentioned that not all of the contacts have biographies becuase whilst I can code in 'Biog' in to the template it will simply appear in all instances with a link to the root page.

    Can you help this idiot?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic