How do I create a Blog Index page?
-
Hello Forum,
I have set up a website with my own theme built up from the Starkers theme. I have one additional page template in use that I am using for the Home page, as well as for all the other pages, and the last page is supposed to be the blog:
Home –?About –?Blub?–?Blob – Blip –?Contact –?BLOG
This last stupid blog page is not working out. I got everything set up and styled the way I want it, the archives.php page, the single.php page, all that, just that one page withe the Index of all current blog posts is not working out, all it is givin me is a blank page (well a blank content area) with the pages title (“Blog”) displayed, the posted-on blabla component, and then nothing.
How do I set up this stupid blog index page? Here’s the code I have for the page.php template (as well as the index.php):
<?php get_header(); ?> <div class="page-blog"> <?php get_sidebar(); ?> <div class="blogcontainer"> <?php get_template_part( 'loop', 'index' ); ?> </div> </div> <?php get_footer(); ?>
What in this small line is not correct?
Thanks a zillion in advance! I’m very very desperate.
Flow
- The topic ‘How do I create a Blog Index page?’ is closed to new replies.