How can I set a page as the home page in the index.php?
I tried this:
<?php get_header(); ?>
<?php query_posts('pagename=start'); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
How can I set a page as the home page in the index.php?
I tried this:
<?php get_header(); ?>
<?php query_posts('pagename=start'); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
I thought 2.1 had this built in the admin?? Search around for it. I'm sure you could set another page as the homepage through the admin.
... I didn't succeed;
I'm in trouble because I lost my old index.php that worked.
Now I have ma page called 'start'and in my index.php I want to include my header, sidebar, footer and own page but I don't know how to write it.
thanks for your help
Why don't you download your original theme again so you have your index.php again?
This topic has been closed to new replies.