• Resolved lajlev

    (@lajlev)


    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&aelig;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)
  • Thread Starter lajlev

    (@lajlev)

    No one with any ideas?

    Yeah, same thing happen to me.

    Don’t know what I change, but I can not select the template for the page when editing an existing page or writing a new page.

    Please help, ??

    I’ve never heard of selecting a “template” when writing a page. WP uses themes which cover both posts and pages and you choose a theme under Design.

    Custom page templates weren’t showing in the template selector for me either but they reappeared after selecting a completely different theme and then re-selecting my chosen theme.

    thisisedie – The page template selector appears on a page write page in the advanced options (only if the theme includes custom page templates). www.ads-software.com users can create their own custom templates ( https://www.binarymoon.co.uk/2007/06/wordpress-tips-and-tricks-custom-templates/ ) and upload them to their theme directory.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lost my template selector’ is closed to new replies.