Lost my template selector
-
I have in some way lost my template selector, so when I write a new page I cant select a template ??
I use 3 sidebars, do you think that can be the problem?I have add this line to my functions.php in my theme lib.
<?php if ( function_exists('register_sidebars') ) register_sidebar('1'); register_sidebar('2'); register_sidebar('3');?>
This is my sidebar code:
<!-- begin sidebar --> <div id="sidebar"> <?php echo ddlsp_generate(); ?> <ul id="sidebarwidgeted"> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?> <?php endif; ?> </ul> </div> <!-- end sidebar -->
This is my page code:<?php get_header(); ?> <div id="content"> <div id="contentleft"> <div class="postarea"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1><?php the_title(); ?></h1> <?php the_content(__('[Læs mere]'));?> <?php endwhile; else: ?> <?php _e('Sorry, no posts matched your criteria.'); ?> <?php endif; ?> </div> </div> <?php include(TEMPLATEPATH."/sidebar_page.php");?> </div> <!-- The main column ends --> <?php get_footer(); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Lost my template selector’ is closed to new replies.