Forums

using TEMPLATEPATH - (2 posts)

  1. soodblog
    Member
    Posted 3 months ago #

    Hi
    I am new to Wordpress.
    I have new file called myhome.php and am trying to create a link in
    header.php as below.
    <li><a href="<?php echo(TEMPLATEPATH . '/mypage.php' ); ?>">MyPage</a></li>

    My URL listed on the site is as below

    C:\server2go\htdocs\wordpress/wp-content/themes/mytheme/mypage.php
    when I hover over the link MyPage

    Can someone pls help me how do I fix this.
    why is part of code show reversed slash and then forward slash.
    Thanks in advance

  2. nasa tech
    Member
    Posted 3 months ago #

Reply

You must log in to post.

About this Topic

Tags