1er commit
1er version
This commit is contained in:
55
livre-d-or.php
Normal file
55
livre-d-or.php
Normal file
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
/**
|
||||
* Template Name: Guestbook
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Ten
|
||||
* @since Twenty Ten 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="container2">
|
||||
<div id="content2" role="main">
|
||||
|
||||
|
||||
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
|
||||
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php //twentyten_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten-child' ), 'after' => '</div>' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<div class="entry-utility">
|
||||
<?php //twentyten_posted_in(); ?>
|
||||
<?php //edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-utility -->
|
||||
</div><!-- #post-## -->
|
||||
|
||||
<?php
|
||||
$imagesDir = '../zenphoto/albums/photos-du-mois';
|
||||
$imageURL = getRandomFile($imagesDir);
|
||||
$RandomImage = '../' . $imagesDir . '/' . $imageURL;
|
||||
echo '<div id="randomImg"><img src="' . $RandomImage . '" alt="" title="" /></div>';
|
||||
?>
|
||||
|
||||
|
||||
<?php //comments_template( '', true );
|
||||
comments_template('/livre-comments.php');
|
||||
?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #container -->
|
||||
|
||||
<?php //get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user