Esempio n. 1
0
}
?>
		<?php 
if (!ttw_getopt('ttw_hide_menu') && ttw_getopt('ttw_move_menu')) {
    /* ttw - move header */
    ?>
	    <div id="access2" role="navigation">
		<div class="skip-link screen-reader-text"><a href="#content" title="<?php 
    esc_attr_e('Skip to content', TTW_TRANS);
    ?>
"><?php 
    _e('Skip to content', TTW_TRANS);
    ?>
</a></div>
		    <?php 
    wp_nav_menu(array('container_class' => 'menu-header', 'theme_location' => 'secondary', 'fallback_cb' => ''));
    ?>
	    </div><!-- #access2 -->
		<?php 
}
?>

	</div><!-- #masthead -->
    </div><!-- #header -->

    <?php 
ttw_put_area('postheader');
?>

    <div id="main">
Esempio n. 2
0
        ?>
</a>
 <?php 
        echo TTW_THEMENAME;
        ?>
 by WPWeaver.info
 </div></td> <?php 
    }
    ?>
</tr></table>
		</div><!-- #colophon -->
	</div><!-- #footer -->
    <?php 
}
?>
    <?php 
ttw_put_area('postfooter');
?>
    <?php 
ttw_browser_warning();
?>

</div><!-- #wrapper -->
<?php 
echo str_replace("\\", "", ttw_getadminopt('ttw_end_opts') . "\n");
/* and this is the end options insertion */
wp_footer();
?>
</body>
</html>
Esempio n. 3
0
<?php

/**
 * The Sidebar containing the primary and secondary widget areas.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */
ttw_put_area('presidebar');
?>
	<div id="primary" class="widget-area" role="complementary">
	    <ul class="xoxo">

<?php 
/* When we call the dynamic_sidebar() function, it'll spit out
 * the widgets for that widget area. If it instead returns false,
 * then the sidebar simply doesn't exist, so we'll hard-code in
 * some default sidebar stuff just in case.
 */
if (!dynamic_sidebar('primary-widget-area')) {
    ?>

			<li id="search" class="widget-container widget_search">
				<?php 
    get_search_form();
    ?>
			</li>

			<li id="archives" class="widget-container">
				<h3 class="widget-title"><?php