|
Haven't registered yet? Do it here now!
|
Jarmusch
Joined: 13 Sep 2009 Posts: 18
|
|
|
|
|
|
|
Posted: Tue Mar 20, 2012 6:44 am Post subject: PHP in Post Template |
|
|
|
|
|
|
|
|
|
|
I added some php code to the post template, and the code works on the index page, on the individual post pages and on the category pages, BUT it doesn't work on the blog pages (pages-2, pages-3 etc) and the archive pages.
Is there a reason why only the blog pages and the archive pages aren't parsing the php contained in the posts? It doesn't make sense ... is there some trick to make it work? |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Mar 20, 2012 8:52 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Hi there,
yes, currently custom php code works just on index page. I am not aware of easy workaround. I am looking forward for making a fix for next versions.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Jarmusch
Joined: 13 Sep 2009 Posts: 18
|
|
|
|
|
|
|
Posted: Tue Mar 20, 2012 2:08 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
It doesn't work just on the index page ... it also works on the category pages and on the posts' own pages.
I could live with it not working on the archive pages, but not working on pages-2, pages-3 and so on makes it unusable. |
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |