• Resolved bestcssdesigns

    (@bestcssdesigns)


    Hi, I have the following in my script.

    <div class=”post” id=”image-<?php the_ID(); ?>”>

    <h3>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h3>
    <span><?php comments_popup_link(‘0’, ‘1’, ‘%’); ?></span>

    <?php the_content(‘Read the rest of this entry »’); ?>

    <div class=”clear”></div>

    </div><!– Item Div –>

    <?php endwhile; ?>

    <div class=”clear”></div>

    However, when the script below is present, the text box keeps on repeating within the div and so fort. However, when it is not present, all the text boxs have there own individual text boxes and it is neat.

    <?php the_content(‘Read the rest of this entry »’); ?>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    We don’t understand what you mean. Perhaps a link to your site showing the problem would explain it better.

    Thread Starter bestcssdesigns

    (@bestcssdesigns)

    OK. Here is what I just noticed. When even I add the

    <?php the_content(‘Read the rest of this entry »’); ?>

    It adds a div tag but no closing tag. The div will be like

    <div id=”lipsum”><p>Lorem ipsum dolor sit amet, consecte and so on informataion<p>

    And that is why it keeps repeating within the same area. But how do I stop wordpress from adding the div called <div id=”lipsum”>?

    Thread Starter bestcssdesigns

    (@bestcssdesigns)

    Please help. My problem is almost resolved. I just need to find out how to stop wordpress from creating
    <div id=”lipsum”> without a closing tag everytime I put
    <?php the_content(‘Read the rest of this entry »’); ?>

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Sounds to me like the div is actually in the content of your post itself. Edit your post to remove the div.

    Thread Starter bestcssdesigns

    (@bestcssdesigns)

    Thanks! I honestly don’t even know how that got their… :S

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Stop Repeating Text Box’ is closed to new replies.