summaryrefslogtreecommitdiffstats
path: root/wp-inst
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-19 16:19:59 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-19 16:19:59 +0000
commitc04e27ce6aeb895c0d2e3080aba67ced22ff84bb (patch)
tree17ef149ea0a3fbb6da780a203398925920c04006 /wp-inst
parentb62c95ea0ff25f2644db3ee8ae0540ff57c307e7 (diff)
downloadwordpress-mu-c04e27ce6aeb895c0d2e3080aba67ced22ff84bb.tar.gz
wordpress-mu-c04e27ce6aeb895c0d2e3080aba67ced22ff84bb.tar.xz
wordpress-mu-c04e27ce6aeb895c0d2e3080aba67ced22ff84bb.zip
Added list of main blog posts
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@573 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst')
-rw-r--r--wp-inst/wp-content/themes/home/home.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/wp-inst/wp-content/themes/home/home.php b/wp-inst/wp-content/themes/home/home.php
index 7188264..78ae476 100644
--- a/wp-inst/wp-content/themes/home/home.php
+++ b/wp-inst/wp-content/themes/home/home.php
@@ -5,6 +5,16 @@
<h2>WordPress &micro;</h2>
<p>This is a <a href="http://mu.wordpress.org/">WordPress Mu</a> powered site.</p>
<p>You can: <ul><li> <a href="wp-login.php">Login</a> </li><li> <a href="wp-signup.php">Create a new blog</a></li><li> Edit this file at <code>wp-content/themes/home/home.php</code> with your favourite text editor and customize this screen.</li></ul></p>
+<h3>News Blog</h3>
+
+<ul>
+<?php
+query_posts('showposts=7');
+if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
+<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title();?> </a></li>
+<?php endwhile; ?><?php endif; ?>
+</ul>
+
<?php if( constant( 'VHOST' ) == 'no' ) :?>
<h3>Virtual Hosts</h3>
<p>As you are not using virtual hosts, it is not possible to post anything to this primary blog because the URLs of your posts could potentially conflict with weblogs living at this site.</p>