• Greetings. I’ve been running WordPress for a couple of weeks and I decided to try configure the permalinks. I wasn’t happly with the permalinks and so I deleted the .htaccess file and got rid of the permalinks structure.

    Problem: the posted articles in the archives don’t wrap!!. The blog site other-wise works but….

    The site: https://www.pacificventureclub.com/blog

Viewing 7 replies - 1 through 7 (of 7 total)
  • Probably because you have the text wrapped in “pre” tags

    Thread Starter mchinn

    (@mchinn)

    No “pre” tags here. I tried to take the text and strip everything out by pasting in into jEdit. Then copying directly back into WordPress. The posts in the archives don’t wrap but the posts otherwise wrap properly.

    Check the source – your archive template is adding pre tags. Remove them.

    Thread Starter mchinn

    (@mchinn)

    Thank you VERY much for your feedback. Which or where would I find the “archive template”?

    I think you should be looking in archive.php in wp-content/themes/default. What theme are you using? I don’t believe the default theme for WP does this.

    Edit: Perhaps it looks something like this…
    <div class=”entry”>
    <pre><code><?php the_excerpt() ?></code></pre>
    </div>

    Thread Starter mchinn

    (@mchinn)

    Hmm…. I’m using the default theme. And I looked through the code for wp-content/themes/default/archive.php, and I found:

    <div class=”entry”>
    <?php the_excerpt() ?>
    </div>

    There is no <pre> tag. Strange.

    Time to look at your plugins, I guess – assuming I am on the right track. Deactivate your plugins and see what happens.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘removed permalinks, now archives don’t wrap’ is closed to new replies.