Modified index.php (root)
-
Alright so I decided to add side images via tables to my blog (if you can call it that.)
I have been using WordPress for quite awhile, but I’m pretty stuck on this one, thus finally registering a user to ask here on the forums.
Here is my “test” index:
<div align="center" style="height:100%;width:100%;"> <table border="0" cellspacing="0" cellpadding="0" rules="none"> <tr> <td height="500px"> <div style="background-image: url(http://imgeasy.com/images/bf3.png); height: 498px; width: 200px; border: 0px;"></div> </td> <td> <?php define('WP_USE_THEMES', true); require('/home/akensaivps/akensai.com/wp-blog-header.php'); ?> </td> <td height="500px"> <div style="background-image: url(http://imgeasy.com/images/bf32.png); height: 498px; width: 200px; border: 0px;"></div> </td> </tr> </table> </div>As you can see, I am trying to do the 3-cell table trick for side images, the problem is that WordPress doesn’t seem to want to work when the wp-blog-header.php is NOT being called first.
You can view the test page @ http://akensai.com/test.php
What happens when this page is set as index.php:
“Cannot modify header information – headers already sent by (output started at /home/akensaivps/akensai.com/index.php:8) in /home/akensaivps/akensai.com/wp-includes/pluggable.php on line 897”styles don’t seem to work correctly, aka: text format, font, etc – everything else (background, divs, etc seems to work)
General links no longer working
Any insights are appreciated!
The topic ‘Modified index.php (root)’ is closed to new replies.