• If I view _index.php with standard code

    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');

    I get this output

    <html lang="cs" xml:lang="cs" xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <body>
    <div id="body">
    
    <div id="footer">
    </body>
    </html>

    and the other elements are inside the main div #body
    but if I rename it to index.php I get different output

    <html lang="cs" xml:lang="cs" xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <body>
    <div id="body">
    <div id="posledni-headline">
    <div id="najcitanejsi">
    <div id="najdiskutovanejsi">
    <div id="widget">
    
    <div id="footer">
    </body>
    </html>

    these divs shoud be inside the #body

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘rename _index.php to index.php causes a change the output’ is closed to new replies.