Forums

removed permalinks, now archives don't wrap (8 posts)

  1. mchinn
    Member
    Posted 4 years ago #

    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: http://www.pacificventureclub.com/blog

  2. Beel
    Member
    Posted 4 years ago #

    Probably because you have the text wrapped in "pre" tags

  3. mchinn
    Member
    Posted 4 years ago #

    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.

  4. Beel
    Member
    Posted 4 years ago #

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

  5. mchinn
    Member
    Posted 4 years ago #

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

  6. Beel
    Member
    Posted 4 years ago #

    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>

  7. mchinn
    Member
    Posted 4 years ago #

    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.

  8. Beel
    Member
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic