Blog Title not showing up on main Blog page


I cannot get the main blog page with the current blog to show the current blog title. It shows on all other pages, just not the current/most recent blog. Any help will be greatly appreciated. Thank you.

<div id="page">

    <div id="contentleft">

        <?php if ( $paged < 2 ) { // Do stuff specific to first page?>

        <?php $my_query = new WP_Query('category_name=featured&showposts=1');
        while ($my_query->have_posts()) : $my_query->the_post();
         $do_not_duplicate = $post->ID;?>

        <div class="featurepost" id="post-<?php the_ID(); ?>">

            <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?>"><?php the_title(); ?>"><?php the_title(); ?></a></h2>

            <p class="postinfo">By <?php the_author_posts_link(); ?> on <?php the_time('M j, Y') ?> in <?php the_category(', ') ?> | <?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?><?php edit_post_link('Edit', ' | ', ''); ?></p>

            <div class="entry">
                    <?php the_content('Read the rest'); ?>


    <?php endwhile; ?>
, Natalie Olson 8 years 2013-05-08T16:48:42-05:00 0 Answers 77 views 0

Leave an answer