Template tags and non-WP template.
-
I’m trying to use another layout for my site, and line by line, I’m copying over the appropriate php/WP tags into the new layout.
But.
I’ve got the_author, the_date, etc plugged in where they’re supposed to go, but the data isn’t showing up. It’s showing as ‘[] @ ‘ (in other words, the php isn’t being interpreted correctly.
Now, since bloginfo is working elsewhere, I’m thinking it has something to do with this line:
<?php if ($posts) { foreach ($posts as $post) { start_b2(); ?>
Where does it need to be? I’ve tried various places in the <body> but it renders a blank page whenever it’s included anywhere (when it’s not included, I get the situation described in the 2nd paragraph.)
Can anybody help?
- The topic ‘Template tags and non-WP template.’ is closed to new replies.