Converting Blogger Template to WordPress Template
-
I’ve been trying for the past few days to convert this blogger template to WordPress and finally completed most of it except for 1 little problem I ran into. I’ve tried everything I could think of to fix it, looking at my css, but have been unlucky to solve the problem.
https://mijiepink.freehostingnow.com/blog/
My side bar (the calendar part etc..) seems to be moved all the way to the bottom below my posts, even tho the CSS specifies it to be beside the post.
This error only happens when I have implemented the following code to show my posts:
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?> <div class="date"><?php the_date(); ?></div> <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div> <div class="storycontent"> <?php the_content(__('(more...)')); ?> </div> <?php endforeach; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?>
Specifically the
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>`
and corresponding code:<?php endforeach; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
are the ones that somehow seem to be blocking out my CSS.
Any help or hints are greatly appreciated.
Thanks in advance WP personnel.
- The topic ‘Converting Blogger Template to WordPress Template’ is closed to new replies.