XPressME Integration Kit

Trac

source: trunk/wp-content/themes/xpress_mu_home/home.php @ 213

Last change on this file since 213 was 213, checked in by toemon, 16 years ago

WordPressMU時、メイン homeテーマ追加

File size: 1.1 KB
Line 
1<?php get_header(); ?>
2
3<div id="content" class="widecolumn">
4                               
5<h2>WordPress &micro;</h2>
6<p>This is a <a href="http://mu.wordpress.org/">WordPress Mu</a> powered site.</p>
7<p>You can: <ul><?php wp_register(); ?><li> <?php wp_loginout(); ?></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>
8<h3>The Latest News</h3>
9<ul>
10<strong>Site News</strong>
11<?php
12query_posts('showposts=7');
13if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
14<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title();?> </a></li>
15<?php endwhile; ?><?php endif; ?>
16</ul>
17<?php
18$blogs = get_last_updated();
19if( is_array( $blogs ) ) {
20        ?>
21        <ul>
22        <strong>Updated Blogs</strong>
23        <?php foreach( $blogs as $details ) {
24                ?><li><a href="http://<?php echo $details[ 'domain' ] . $details[ 'path' ] ?>"><?php echo get_blog_option( $details[ 'blog_id' ], 'blogname' ) ?></a></li><?php
25        }
26        ?>
27        </ul>
28        <?php
29}
30?>
31</div>
32
33<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.