Forums

Having problems with a theme... (2 posts)

  1. lubna
    Member
    Posted 2 years ago #

    So i decided to try wordpress for the first time, and after looking around i found some tutorials on how to make themes, and decided to try to make one myself.

    I got myself ThemeDreamer to help me see how the coding will look while working in Dreamweaver before i upload. And so i code my theme, and it works and shows up fine with ThemeDreamer, but then i upload it and can't figure out why its messing up!

    Here is the live link:
    http://templicious.net/blog/

    I haven't finished the theme yet, so only have a few pages (header, footer, sidebar, index, style)
    The wirdest thing is when you click on one of my random test posts, the page that loads works perfectly!
    http://templicious.net/blog/testing/

    I havent made the single.php page yet, so i'm not sure how it still shows up, but it does and works great.

    This is my index.php code:

    <?php get_header() ; ?>
    
     <div id="date">
    <?php the_time('d M Y') ?>
     </div>
     <div id="post">
     	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
     <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
     <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
     <div align="right"><?php comments_popup_link('No Comments', '1 Comment', '% Comments ;'); ?></div>
     <?php the_content('Read the rest of this entry &raquo;'); ?>
    
     <?php endwhile; ?>
    
     <div>
     <div class="left"><?php next_posts_link('&laquo; Older Entries') ?></div>
    <div class="right"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
     </div>
    
     	<?php else : ?>
    
    		<h1>Not Found</h1>
    		<p >Sorry, but you are looking for something that isn't here.</p>
    		<?php get_search_form(); ?>
    
    	<?php endif; ?>
    
    </div>
     </div>
    </div>
    
    <?php get_sidebar() ; ?>
    <?php get_footer() ; ?>

    Can someone help me to fix it and maybe explain why this is happening? I have been trying for ages to fix this but nothing i think of works!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    You could start by sorting out the validation errors in your theme. Then move onto the CSS errors.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags