php url? Newbie
-
I need to get /wp-content/plugins/woocommerce/templates/myaccount/my-downloads.php to show up on one page so customers can look back at the download history. What do I do?
I tried
[insert_php]
$FileLocation = “wp-content/plugins/woocommerce/templates/myaccount/my-downloads.php”;
include($_SERVER[‘DOCUMENT_ROOT’].$FileLocation);
[/insert_php]and I tried
[insert_php]
echo ‘Server date and time is: ‘;
echo date(‘l, F j, Y \a\t G:i:s’);
[/insert_php]With all my php codes inserted between the insert_php.
Please advice
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘php url? Newbie’ is closed to new replies.