Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ngorevic

    (@ngorevic)

    I have seen that. But what I was hoping here is that I don’t need to do quite that much, because actually the files are not moving anywhere. The 66 address will still work, it’s just I don’t want anyone to see it.

    bump

    Thread Starter ngorevic

    (@ngorevic)

    Ok, so my theme doesn’t ave any category.php files, so I’m assuming it must be the archive.php file. Based on that assumption, I was able to find another theme that was providing the ream more links, and I just substituted the archive.php from that one and now it’s working the way I wanted to. But I don’t really understand why. Here’s the new archive.php:

    <?php get_header(); ?>
    <!-- index.php start -->
            <div id="content">
    
    	<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
            	<div class="post" id="post-<?php the_ID(); ?>">
                	<h2 class="post_title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
                    <div class="post_datetime"><?php the_time('F jS, Y') ?> at <?php the_time('g:ia'); ?> | <?php if(function_exists('the_views')) { the_views(); } ?></div>
                    <div class="post_body">
    						<?php the_excerpt(); ?>
    				 <p>Read the rest of <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></p>
    
    				</div>
    			</div>
    			<!--post-->
    
    	<?php endwhile; ?>
    	<div class="navigation">
    		<div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries')) ?></div>
    		<div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;')) ?></div>
    	</div>
    
    <?php else : ?>
    
    	<div class="post">
    		<h2 class="post_title"><?php _e('Not Found'); ?></h2>
    		<div class="post_body">
    			<p><?php _e('Sorry, but no posts matched your criteria.'); ?></p>
    			<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    		</div>
    	</div>
    
    <?php endif; ?>
            </div><!--content-->
    
            <!-- index.php end -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    If anyone wants to explain it to me, that’d be great. If not, that’s ok too. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)