• Hey everybody, I had a quick question. I believe that there is an error in the theme that I am using, as the text that I input on the About Me page does not show up. So far, I believe that the problem lies in the “page template” options, of which there are only three. My options are “Default Template,” “Archives,” and “Portfolio,” and each of these brings up all of my blog posts, the archives, and more blog posts, respectively.
    I believe that I could edit the “Default Template” in order to allow the page to display the content that I entered when I created the page, but I don’t know exactly what to edit. I have inclded the code from the archive.php file from the theme (I believe this is what I need to edit), and would love if someone could help me identify my problem and how to add an “about me” template to my “page template” section. Thanks!

    Brady Johnson
    (702) 493-2303
    brady.m.johnson@gmail.com

    Edit: My website is bradyunplugged.com

    <?php get_header(); ?>
    
    	<div id="columns">
    
    		<?php if (have_posts()) : ?>
    
            <div id="centercol">
    
                <div class="wrap latest">
            		<?php if (is_category()) { ?>
                    <h2>ARCHIVES</h2>
    
    				<?php } elseif (is_day()) { ?>
    				<h2>ARCHIVE <?php the_time('F jS, Y'); ?></h2>
    
    				<?php } elseif (is_month()) { ?>
    				<h2>ARCHIVE <?php the_time('F, Y'); ?></h2>
    
    				<?php } elseif (is_year()) { ?>
    				<h2>ARCHIVE <?php the_time('Y'); ?></h2>
    
    				<?php } ?>
    			</div>
    
    			<?php while (have_posts()) : the_post(); ?>		
    
    			<div class="box post">
    				<div class="comment"><?php comments_popup_link(0, '1', '%', '', ''); ?></div>
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    				<div class="date"><?php the_time('F j, Y'); ?></div>
    				<div class="hl"></div>
    
    				<?php the_excerpt(); ?>
    
    			</div>
    			<!--/box-->
    
                <?php endwhile; ?>
    
                <div class="navigation">
                    <div class="fl"><?php next_posts_link('&laquo; Previous Entries') ?></div>
                    <div class="fr"><?php previous_posts_link('Next Entries &raquo;') ?></div>
                </div>		
    
    		</div>
    		<!--/centercol -->
    
    		<?php endif; ?>							
    
    <?php get_sidebar(); ?>
    
    		<div class="fix"></div>
    	</div>
    	<!--/columns -->
    
    <?php get_footer(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dangeresque

    (@dangeresque)

    bump.

    your whole page behaves in a weird sort of way.
    When I click on the featured post, I expect to see the single post, not the start page again.

    I suggest you first remove all template files from your theme directory, or go back to the original theme files that you downloaded, then go step by step.

    usually, single.php will display a Page or Post in detail. then there’s page.php that will display a Page in detail, which you can then style differently from a post, for example.

    Somehow, you always get a loop of all of your posts.

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

The topic ‘Help w/ theme and archives page’ is closed to new replies.