[SOLVED] <?php include ...?> is not working
Hello,
I put my php code in files and leave them under the templatepath. So far so good. As I want to put in "Atahualpa 3.4.1" in "Post & Pages" in ""Edit POST/PAGE INFO ITEMS in "KICKER: Single Post Pages" the php code: PHP Code:
PHP Code:
But if I put the original code: PHP Code:
What is wrong. Please, can anybody help me? My WP-Version is 2.84 my PHP Version : 4.4.2-Debian-0.1~sarge1 Thx in advanced astera |
what is the url?
|
|
ok I played with this for a while and I can't figure it out, maybe Flynn will chime in.
|
Hello juggledad,
thanks for your commitment. Please try this google-search: http://www.google.de/search?hl=de&nu...a=lr%3Dlang_de Then follow the first SERP Entry http://www.google.de/url?sa=t&source...3b8ZvlGkSz4G7w Then you are in a single post where you can see normaly the result of the landingsite plugin. But now you see nothing. thx in advanced astera |
The templtepath constant is probably not available there. Try with
... |
Hello Flynn,
thx for the answer and sorry for delaying,I`m on holiday :-) Sorry, but your solution don`t solve the problem. I just tried the path I use for chCounter (I found it yet): PHP Code:
Can you please tell me, why I have to put the root path in? thx astera |
The code I gave you above was wrong, it was a URL instead of an include path
Try <?php include (TEMPLATEPATH . '/landingsites.php'); ?> Note the slash |
Hey Flynn,
thx for your answer. It`s working too. You can set this post as complete. best regards astera |
All times are GMT -6. The time now is 03:04 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.