WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Code View not working (3 posts)

  1. KathrynBassett
    Member
    Posted 7 years ago #

    On my church website, we post a weekly message both on the website and in the blog. After I write it up in Dreamweaver, I already have the code with the <p></p> and centering etc. I just did the first one since updating and it will not retain the code. Example http://altadenabaptist.org/messenger/2007/20070305.shtml
    and I copied the code such as this:

    <p>March 5, 2007</p>
    <p align="center">Faith with Feet<br>
    Pastor George Van Alstine</p>
    <p>During my first pastorate in Massachusetts, our church was very close to Camp
    Tispaquin, a complex of simple cabins and rustic meeting and dining areas that
    had been built over the years by the New England Baptist Conference churches.
    Tispaquin Pond was named after a Native American tribal group that may have
    encountered the Pilgrims.</p>

    But when I post it, look at what happens
    http://www.altadenabaptist.org/wordpress/2007/03/

    The old version had an icon called html and pasting text complete with code worked just fine. I assume that the Code tab is a replacement for the html icon, but it sure doesn't work the same, so how does this get fixed. I do not want to have to re-code everything.

    Looks like it's happening here too - literal wrapping of lines like there is a <br> when there is not.

  2. phillyroll
    Member
    Posted 7 years ago #

    There are a ton of line breaks in your source code. You're better off copy/pasting the preview version of your website in Dreamweaver without the code. If you are doing DIVs or SPANs then fine, you can code that, but there's no need to manually insert P tags in the WordPress edit area.

  3. KathrynBassett
    Member
    Posted 7 years ago #

    That's the point - if you look at the website, there are no line breaks in the paragraphs. So no, there are no line breaks except what WordPress is putting in. And in addition, copy/pasting is not holding the centering of paragraphs. Doing it the way I've been doing it using the html icon has worked for 7 years. "If it ain't broke, don't fix it" but they've taken away the html icon and the new "code" view does not work the same. It shouldn't be called code if it won't save something as simple as paragraph and centering. I shouldn't be forced to highlight and use the buttons. That's not coding.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.