<?php the_excerpt();?> sidebar problem!

Discussion in 'Content Management' started by Jackie_W, Feb 1, 2009.

  1. #1
    In my wordpress index.php whenever i change <?php the_post();?> to <?php the_excerpt();?> my sidebar goes crazy and drops to the bottom of the screen - any ideas?

    whoops typo in my 1st post -

    when i replace <?php the_content();?> with <?php the_excerpt();?> the sidebar breaks and goes to bottom
     
    Jackie_W, Feb 1, 2009 IP
  2. lvtim

    lvtim Well-Known Member

    Messages:
    291
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #2
    You're suppose to replace the_content tag to the_excerpt tag, not the_post. the_post tag creates The Loop, without it your post won't show properly.
     
    lvtim, Feb 1, 2009 IP
  3. Jackie_W

    Jackie_W Well-Known Member

    Messages:
    1,964
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    115
    #3
    whoops typo in my 1st post -

    when i replace <?php the_content();?> with <?php the_excerpt();?> the sidebar breaks and goes to bottom
     
    Jackie_W, Feb 1, 2009 IP
  4. Jackie_W

    Jackie_W Well-Known Member

    Messages:
    1,964
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    115
    #4
    sorry guys - have fixed this - i was the diggz-et plugin :-(
     
    Jackie_W, Feb 2, 2009 IP