Support » Fixing WordPress » wordpress internal linking for a theme created by me

  • I am developing a wp theme. There is a page where an “Enter” button is available.

    In my html template link is like:
    <span id="enter"><code><a href="ourconcept.php"> ENTER </a></code></span>

    In my wp template it is :

    <span id="enter"><code><a href="<?php bloginfo('stylesheet_url'); ?>/ourconcept.php"> ENTER </a></code></span>

    But is not working. Can anyone help me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Change bloginfo('stylesheet_url'); to echo home_url();

    I changed the code. but it is not working. There is no spelling mistake and ourconcept.php is there.

    <span id="enter"><code><a href="<?php echo home_url(); ?>/ourconcept.php">> ENTER <</a></code></span></p>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wordpress internal linking for a theme created by me’ is closed to new replies.