1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

<?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