Hi , could you help me . Set a theme for WordPress , and images are not displayed , please help
perosone.wordpress.arvixecom
<?php get_header(); ?>
<div class="main">
<div class="content">
<div class="posts">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2 class="post-title"><?php the_title(); ?></h2>
<div class="post-date">Added <?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?></div>
<div class="single-post">
<?php the_content(); ?>
<div class="clear"></div>
<div class="video-category">Category: <?php the_category(', ') ?></div>
<div class="video-tags"><?php the_tags() ?></div>
<div class="clear"></div>
</div>
<?php comments_template(); ?>
<h2 class="post-title">Related galleries</h2>
<?php $args = array( 'numberposts' => 8, 'orderby' => 'rand' );
$rand_posts = get_posts( $args );
foreach( $rand_posts as $post ) : ?>
<div class="post" id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail(array(180,240), array('alt' => get_the_title(), 'title' => '')); ?></a>
<div class="link"><a href="<?php the_permalink() ?>"><?php short_title('...', '26'); ?></a></div>
<span>Added: <?php the_time('F j, Y'); ?></span>
<span><?php the_tags('Tags: ', ', ', ''); ?></span>
</div>
<?php endforeach; ?>
<div class="clear"></div>
<?php endwhile; else: ?>
<h2>Sorry, no posts matched your criteria</h2>
<?php endif; ?>
<div class="clear"></div>
</div>
<?php get_sidebar('left'); ?>
</div>
<?php get_sidebar('right'); ?>
<div class="clear"></div>
</div>
<?php get_footer(); ?>
perosone.wordpress.arvixecom
<?php get_header(); ?>
<div class="main">
<div class="content">
<div class="posts">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2 class="post-title"><?php the_title(); ?></h2>
<div class="post-date">Added <?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?></div>
<div class="single-post">
<?php the_content(); ?>
<div class="clear"></div>
<div class="video-category">Category: <?php the_category(', ') ?></div>
<div class="video-tags"><?php the_tags() ?></div>
<div class="clear"></div>
</div>
<?php comments_template(); ?>
<h2 class="post-title">Related galleries</h2>
<?php $args = array( 'numberposts' => 8, 'orderby' => 'rand' );
$rand_posts = get_posts( $args );
foreach( $rand_posts as $post ) : ?>
<div class="post" id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail(array(180,240), array('alt' => get_the_title(), 'title' => '')); ?></a>
<div class="link"><a href="<?php the_permalink() ?>"><?php short_title('...', '26'); ?></a></div>
<span>Added: <?php the_time('F j, Y'); ?></span>
<span><?php the_tags('Tags: ', ', ', ''); ?></span>
</div>
<?php endforeach; ?>
<div class="clear"></div>
<?php endwhile; else: ?>
<h2>Sorry, no posts matched your criteria</h2>
<?php endif; ?>
<div class="clear"></div>
</div>
<?php get_sidebar('left'); ?>
</div>
<?php get_sidebar('right'); ?>
<div class="clear"></div>
</div>
<?php get_footer(); ?>
Last edited: