Forums

writing a link to template (1 post)

  1. dotslashbin
    Member
    Posted 1 year ago #

    I am working on a template, and I found that the <a href=""> value is not working as it should.

    my code goes something like this ..

    <a href="<?php echo $Something->url; ?>"... and the value of that is a site url. However, the problem is that it comes out having the url of my site , like

    http://mywordpress.com/http://theurlvalue.com"

    How do I prevent that site url from appearing?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags