Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Oliverian

    (@oliverian)

    That was it, thank you! Now I just need to figure out how to make them visually attractive.

    Do you if I can make comments enabled on old posts?

    Thread Starter Oliverian

    (@oliverian)

    Yes, when I view the blog through a different template I can see the comments there. I did look in the single.php, but I don’t see what to change (yup, I am a novice):

    <?php get_header() ?>
    <div id=”slider”>
    <?php
    $attachment_id = get_post_thumbnail_id(214);
    $attachment = get_post($attachment_id);
    ?>
    <img src=”<?php echo wp_get_attachment_url($attachment_id) ?>” alt=”” <?php echo “data-caption=\”#news\””; ?> />
    <span class=’orbit-caption’ id=’news’>News & Events</span>
    </div>
    <div class=”spacer”></div>
    <div id=”content”>
    <?php get_sidebar() ?>
    <div id=”newsContent” class=”right”>
    <?php
    while(have_posts()) : the_post();?>
    <?php if(has_post_thumbnail()) {
    $default_attr = array(
    ‘src’ => $src,
    ‘class’ => “attachment-thumbnail”,
    );
    echo the_post_thumbnail($default_attr); } else { echo “<img class=’thumbnail’ src='”.get_bloginfo(‘template_url’).”/images/thumb.gif’ />”; } ?>
    <div class=”post single” id=”post-<?php the_ID() ?>”>
    <h2 class=”entry-title”><?php the_title() ?></h2>
    <div class=”date”><?php echo the_date(“m.d.Y”); edit_post_link( __( ‘Edit’ ), ” – <span class=\”edit-link\”>”, “</span>” ) ?></div>
    <div class=”entry-content”>
    <?php the_content() ?>
    </div>

    <?php endwhile; // end of the loop. ?>
    </div><!– .post –>
    <div class=”clear”></div>
    <div id=”nav-below” class=”navigation”>
    <div class=”align-left”><?php previous_post_link( ‘%link’, ‘<span class=”meta-nav”>«</span> %title’ ) ?></div>
    <div class=”align-right”><?php next_post_link( ‘%link’, ‘%title <span class=”meta-nav”>»</span>’ ) ?></div>
    </div>
    <div class=”clear”></div>
    <?php// comments_template() ?>
    </div><!– /newsContent –>
    <div class=”clear”></div>
    </div><!– #content –>

    Thread Starter Oliverian

    (@oliverian)

    The homepage is just a static page, but here is our blog: http://www.oliverianschool.org/news-events/.

    Thanks,
    Julie

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