Support » Fixing WordPress » Excerpt not wrapping around thumbail

  • Hey everyone,

    I’m trying to get some excerpt text to wrap around my thumbails but nothing seems to be working. I have other pages that call in posts and everything works (the excerpt text wraps around the thumbail). I’ve bascially copied the same .php file and reworked to call up a new category on a page but then it doesn’t work.

    This is the page for example:

    This is the PHP I’m using:

    Template Name: 3 Column Page – Anticipations

    <?php get_header(); ?>

    <div id=”container”>

    <div id=”featurebanner”><?php the_post_thumbnail( ‘page-feature’ ); ?></div>

    <?php include(TEMPLATEPATH.”/sidebar_left.php”);?>

    <div id=”content” class=”archive”>

    <div class=”postarea”>
    <h1 class=”pagetitle”><?php the_title(); ?></h1>
    <?php global $paged; ?>
    <?php $wp_query = new WP_Query(array(‘cat’=>1254,’posts_per_page’=>of_get_option(‘template_cat_posts’),’paged’=>$paged)); ?>
    <?php if($wp_query->have_posts()) : while($wp_query->have_posts()) : $wp_query->the_post(); ?>
    <?php global $more; $more = 0; ?>
    <div class=”posted”>
    <h2 class=”entry-title”>“><?php the_title(); ?></h2>
    <?php the_post_thumbnail(‘thumbnail’); ?>
    <?php the_content_limit(350,”Read More…”);?>

    <div style=”clear:both;”></div>
    <?php endwhile; else: ?>
    <p><?php _e(“Sorry, page not found.”, ‘organicthemes’); ?></p>
    <?php endif; ?>

    <div class=”pagination”>
    <?php if (function_exists(“number_paginate”)) { number_paginate(); } ?>


    <?php include(TEMPLATEPATH.”/sidebar_right.php”);?>


    <?php get_footer(); ?>

    Any help you can give would be awesome!


  • The topic ‘Excerpt not wrapping around thumbail’ is closed to new replies.