PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Problems with html coding and url field

  1. Westendweb
    Member

    Hello,

    have in my custom template integrates a URL field, but in the post the link is not actice. is not that the point of a URL field, that the link in the output is active then?
    I mean I'd already asked this question once, but can not even find the topic ... :)

    So at the moment I have to activate links manually. To do this, I turn to the post editor to "Visual", and suddenly some of the formatting which I have stored in the custom template disappeared. I´m missing div´s, breaks and returns, and occasionally I also have a space where I do not want to have.

    Gravity Forms forcing me to activate links manually, and if I do that, my code is destroyed. with one new post a week is not really bad, but I have bigger things before.

    Where is the magic button to fix this problem?
    Or have you fix it in 1.6 Version?

    Thanks,

    Westendeb

    Posted 10 years ago on Saturday September 17, 2011 | Permalink
  2. If you are using a custom field in a template, you should modify the template to hyperlink the URL. Otherwise it's just text.

    Can you post the code in your template that is displaying this field for you? It might just need a small modification. You will not have to do this manually for each post. We need to make a change so it happens automatically every time.

    Posted 10 years ago on Saturday September 17, 2011 | Permalink
  3. Westendweb
    Member

    Hi,

    here the Code, the URL field see bottom, "{Backlink Website:28} ":

    <h1>{Titel of your Story / Report:9}</h1><h2>{Provinz:33}, {Tourist Route / Area:32}, {Date:37}</h2>
    {Main Article / Report / Post:11}

    <div style="margin-bottom:10px; margin-top: 10px; border-bottom: 1px #CCCCCC dotted;"></div>

    <h5>{This story was provided to us by:27} {Name of your company, establishment or person:2}, 
    {Backlink Website:28}</h5>

    Thanks,

    Westendweb

    Posted 10 years ago on Monday September 19, 2011 | Permalink
  4. It's hard to tell looking at the format here, but I believe you want to change the bottom line to this:

    [html]
    <a href="{Backlink Website:28}">{Backlink Website:28}</a>

    That will link the text.

    Posted 10 years ago on Monday September 19, 2011 | Permalink