Custom Theme Problem
-
Hello everyone, I’m a new fan of wordpress. I created a my own theme and initially it worked fine. I’ve done the chopping of my static html page and all that jazz. What I am curious about is when I make a new page in wp-admin, yes i can see that page has been made, it showed up on my page as a link which is what I want, the problem is the content of the page, I cannot see it. Even though in my admin page there’s some text which i had put, but in my page it doesn’t show. What do you think guys could be the cause of the problem.
I have these files on folder on my wp directory:
header.php
footer.php
index.php
//I don’t have a sidebarin my index file i have this code:
<?php get_header(); ?>
<div class=”content”>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div><!– end of content class–>
<?php get_footer(); ?>My advanced thanks for those who could help me out. Cheers!
- The topic ‘Custom Theme Problem’ is closed to new replies.