Removing excerpt

Discussion in 'WordPress' started by World Class, Sep 28, 2009.

  1. #1
    I have a blog http://clearpimples.info/, I am using Super Magazine Theme and excerpt comes pre-Installed, I don't want it to be come summarized just entire article. This is the main template where i see excerpt plus featured post thing too i want to remove both can you help me I tried to do that but i missed up

    Thanks

    <?php get_header(); ?>
        
        <div id="contentcenter">
        
        
        <?php      
        $featuredcat = get_option('super_featured_category');
        $featurednum = get_option('super_featured_number');
        $the_cat = $wpdb->get_var("SELECT term_id FROM $wpdb->terms WHERE name='$featuredcat'");
        query_posts("showposts=$featurednum&cat=$the_cat"); 
        ?>
        
         <?php while (have_posts()) : the_post(); ?>
        
            <div class="featured">
                
                <div class="head">
                <div class="cat"><?php the_category(', ') ?></div>
                <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
                </div>
                
                <div class="content">
    
                   <img src="<?php bloginfo('stylesheet_directory'); ?>/plugins/thumb.php?src=<?php echo get_post_meta($post->ID, "breakingnews", true); ?>&amp;w=270&amp;h=130&amp;zc=1" alt="<?php the_title(); ?>" />
               
                   <?php the_excerpt(); ?> 
                 
                </div>
                         <div class="continue"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Continue Reading</a></div>
     
                
              <div class="footer"><p class="left">Posted on <?php the_time('F d, Y') ?></p><p class="right"><?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p></div>
            
            </div>
            
          <?php endwhile; ?>  
            
               <div class="posts">
            
         <?php 
        $num = get_option('super_posts_number');
        query_posts("cat=-$the_cat&showposts=$num"); ?>
        
           <?php if (have_posts()) : ?>
    
            <?php while (have_posts()) : the_post(); ?>        
            
                <div class="box">
                    <div class="head">
                        <div class="cat"><?php the_category(', ') ?></div>
                        <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
                    </div>
                    
                <div class="content">
    
                   <img src="<?php bloginfo('url'); ?>/wp-content/themes/supermagazine/plugins/thumb.php?src=<?php echo get_post_meta($post->ID, "image", true); ?>&amp;w=60&amp;h=60&amp;zc=1" alt="<?php the_title(); ?>" />
               
                   <?php the_excerpt(); ?> 
                 
                </div>
                         <div class="continue"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Continue Reading</a></div>
     
                
              <div class="footer"><p class="left">Posted on <?php the_time('F d, Y') ?></p><p class="right"><?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p></div>
         
              </div>
           <?php endwhile; ?>
           <?php else : ?>
    
            <h2 class="center">Not Found</h2>
            <p class="center">Sorry, but you are looking for something that isn't here.</p>
    
        <?php endif; ?>                                  
                
            </div>
            
            <div class="lists">
    
                     
    <?php
    
        $name_block = get_option('super_block1_title');
        $cat_title = get_option('super_block1_cat');
        $the_cat = $wpdb->get_var("SELECT term_id FROM $wpdb->terms WHERE name='$cat_title'");
        $number_block = get_option('super_block1_number');
    
    ?>     
            <div class="block">
            <h2><?php echo $name_block; ?></h2>
               <ul>  
         <?php 
        
        query_posts("cat=$the_cat&showposts=$number_block"); ?>
        
           <?php if (have_posts()) : ?>
    
            <?php while (have_posts()) : the_post(); ?>
                <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
            <?php endwhile; ?> 
            <?php endif; ?> 
            </ul>
            </div>
    <?php
    
        $name_block = get_option('super_block2_title');
        $cat_title = get_option('super_block2_cat');
        $the_cat = $wpdb->get_var("SELECT term_id FROM $wpdb->terms WHERE name='$cat_title'");
        $number_block = get_option('super_block2_number');
    
    ?>     
            <div class="block">
            <h2><?php echo $name_block; ?></h2>
               <ul>  
         <?php 
        
        query_posts("cat=$the_cat&showposts=$number_block"); ?>
        
           <?php if (have_posts()) : ?>
    
            <?php while (have_posts()) : the_post(); ?>
                <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
            <?php endwhile; ?> 
            <?php endif; ?> 
            </ul>
           </div> 
     <?php
    
        $name_block = get_option('super_block3_title');
        $cat_title = get_option('super_block3_cat');
        $the_cat = $wpdb->get_var("SELECT term_id FROM $wpdb->terms WHERE name='$cat_title'");
        $number_block = get_option('super_block3_number');
    
    ?>     
            <div class="block">
            <h2><?php echo $name_block; ?></h2>
               <ul>  
         <?php 
        
        query_posts("cat=$the_cat&showposts=$number_block"); ?>   
           <?php if (have_posts()) : ?>
    
            <?php while (have_posts()) : the_post(); ?>
                <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
            <?php endwhile; ?>  
            <?php endif; ?>
            </ul>
            </div>
            
            </div>
        
        </div>
        
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    PHP:
     
    World Class, Sep 28, 2009 IP
  2. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Did you get this fixed yet ? Looks like you have the complete articles posted.

    Any way, the code you want to strip out is:
     
    hmansfield, Sep 29, 2009 IP
  3. jjwright85

    jjwright85 Peon

    Messages:
    71
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You also try replacing the above mentioned code with:
    to show the entire article.
     
    jjwright85, Oct 1, 2009 IP