• I like to write some special code a certain way in order to easily and quickly modify it. For some reason, my code gets all lumped together rather that line by line, making it very hard to find what I’m looking for.

    For example:
    <my code>
    <my code>
    <my code>

    becomes
    <my code> <my code> <my code>

    I need a way to stop wordpress from changing my code layout.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • if you use the html editor it shouldn’t be a problem

    Thread Starter programmer4life

    (@programmer4life)

    I do, but every once in awhile, I go to the page, view the code, and it’s all packed together.

    I have no idea what causes it to do that, but it does.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Are you using a minimizer or something to compress content?

    I do, but every once in awhile, I go to the page, view the code, and it’s all packed together.

    By “go to the page, view the code”, do you mean that you switch from the Visual Editor to the HTML Editor?

    If so: don’t do that. It will cause formatting problems such as the one you are reporting.

    Thread Starter programmer4life

    (@programmer4life)

    Ok thanks Chip. I’ll try that and see if it resolves it. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I stop code from changing layout?’ is closed to new replies.