• Hey folks. I have created some pages for my content. Somehow I managed to get rid of my index page. My index.php is in my theme’s folder, but whatever is the newest page I make, that is what shows up as my index.

    I am hoping its just some small setting I am missing. Any help would be appeciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter baxley

    (@baxley)

    Morning bump, I really need my homepage back.

    Thread Starter baxley

    (@baxley)

    Is there any way I could tell the index.php which page to “call”? It keeps picking the last page I make.

    Thread Starter baxley

    (@baxley)

    Here is my index.php Is there something I could change here?

    <?php get_header(); ?>
    
    	<div id="content_box">
    
    		<?php include (TEMPLATEPATH . '/l_sidebar.php'); ?>
    
    		<div id="content" class="posts">
    
    		<?php if (have_posts()) : ?>
    
    			<?php while (have_posts()) : the_post(); ?>
    
    			<h2><a>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    			<h4><?php the_time('F jS, Y') ?><!-- by <?php the_author() ?> --> &middot; <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></h4>
    			<div class="entry">
    				<?php the_content('[Read more &rarr;]'); ?>
    			</div>
    			<p class="tagged"><span class="add_comment"><?php comments_popup_link('&rarr; No Comments', '&rarr; 1 Comment', '&rarr; % Comments'); ?></span><strong>Tags:</strong> <?php the_category(' &middot; ') ?></p>
    			<div class="clear"></div>
    
    			<?php endwhile; ?>
    
    			<?php include (TEMPLATEPATH . '/navigation.php'); ?>
    
    		<?php else : ?>
    
    			<h2 class="page_header center">Not Found</h2>
    			<div class="entry">
    				<p class="center">Sorry, but you are looking for something that isn't here.</p>
    				<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    			</div>
    
    		<?php endif; ?>
    
    		</div>
    
    		<?php include (TEMPLATEPATH . '/r_sidebar.php'); ?>
    
    	</div>
    
    <?php get_footer(); ?>

    If you try a different theme, does it work properly?

    Thread Starter baxley

    (@baxley)

    I just checked, a new theme will still use the last page I made.

    At Options -> Reading, what do you have set for “Front Page Displays”?

    Thread Starter baxley

    (@baxley)

    It says “Baxley is a friggin idiot!”

    Thanks Handy!

    Lol! Glad that helped.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘index page question’ is closed to new replies.