Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mrey86

    (@mrey86)

    could you recommend me a website to download themes with good coding?

    Thread Starter mrey86

    (@mrey86)

    my index.php

    <?php
    get_header();
    ?>

    <div id=”sites”>
    <?php giftsfordaddy(); ?>
    </div>

    <?php $count = 0;?>
    <?php query_posts(‘showposts=6’); ?>
    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class=”postindex” id=”post-<?php the_ID(); ?>”>

    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>

    <div class=”entry”>

    <?php the_excerpt(__(‘Readmore �’));?>

    </div>
    <div class=”spacer”></div>
    <ul class=”post-data”>
    <li class=”comments”>
    <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>

    <li class=”posted”>
    <?php the_time(‘F jS, Y’) ?> by <?php the_author() ?> <?php edit_post_link(‘Edit’,”,”); ?>

    </div>

    <?php comments_template(); ?>
    <?php
    if($count == 1 ) {
    echo “<div style=’clear:both;’></div>”;}
    $count = $count+1;
    ?>

    <?php endwhile; else: ?>
    <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
    <?php endif; ?>

    <?php get_footer(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)