• Hi there,

    I’m right now working on a wordpress theme for filmmakers. My Idea is it to have some external pages that only show the contend of the sidebars and insert them via ajax. The Theme itself works, but the external files don’t show any content. There is no HTML-Source at al if I call the Sites…

    This is what the Sidebar1.php looks like:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" lang="en">
    <head>
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Sidebar1</title>
    
    </head>
    
    <body>
    <!--widget start for Sidebar1-->>
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar1') ) : else : ?>
    		<p>please go to your Admin Panel and put some widgets into Sidebar1</p>
    			<?php } ?>
    
    <!--widget end-->
    			<?php endif; ?>
    </body>
    </html>

    Should work, shouldn’t it?

    Here is the Link to the theme and the Sidebar1.php

    Hope someone of you can help me, cause I’m lost without it ??

    Thanks,
    George P. Schnyder

  • The topic ‘Sidebars in external Pages?’ is closed to new replies.