• Hi there,

    Im trying to generate links using custom fields, using the value of the field…it would be something like this:

    Form in the admin area:

    Name: Jhon Smith
    Web: http://www.johnsmith.com
    e-mail: john@jhonsmith.com

    The code you get would be:

    <ul class='post-meta'>
    <li><span class='post-meta-key'>Name:</span> John Smith</li>
    <li><span class='post-meta-key'>Web</span>www.johnsmith.com></li>
    <li><span class='post-meta-key'>e-mail/span>john@johnsmith.com</li>

    This is what I want:

    <ul class='post-meta'>
    <li><span class='post-meta-key'>Name:</span> John Smith</li>
    <li><span class='post-meta-key'>Web</span> <a href="http://www.jhonsmith.com">www.johnsmith.com></a></li>
    <li><span class='post-meta-key'>e-mail/span> <a href="mailto:john@johnsmith.com">john@johnsmith.com</a></li>

    Thanks a lot for your help, maybe it’s explained in some other topic, in this case, please let me know…

    Dzoe

Viewing 2 replies - 1 through 2 (of 2 total)
  • Where are you getting the information from? Is this user data (like subscribers or authors)? or are you using custom fields for each post (and if so, why)?

    This could be nice, say you have a movie blog, and you want to post IMDB or Wikipedia link…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make links from Custom Fields’ is closed to new replies.