• Resolved 21stproject

    (@21stproject)


    Before anyone jumps down my throat and tells me that I shouldn’t be using the WYSIWYG editor for HTML posts, I’m not, at least, I really, really don’t think so.

    I searched the forms and saw instructions for switching the rich text off and having the text editor on, I did this by logging on as admin, going under users and checking off the box that said “Use the visual rich editor when writing”

    My WordPress blog is all valid HTML until I start posting. The posts themselves are written in an editor (outside WP) and validated as XHTML 1.0 Transitional -same as my WP blog.

    But every time I post the page is no longer valid! I get all these tags from the post still. It’s driving me crazy.

    Admittedly though, the shorter the post, the less chance I have of this happening.

    But there’s no reason at all for this to happen, what should I do?

    If there is no solution, how do I directly upload the post to the SQL database without using WordPress’s posting ap?

    Oh and I downloaded and installed WordPress this week, not sure what version that would be, but its the latest I’m sure.

Viewing 11 replies - 31 through 41 (of 41 total)
  • Thread Starter 21stproject

    (@21stproject)

    Oh, I can’t believe this, I can BREATHE again!

    Thanks alot Otto! You’ve restored my faith!

    And you were right with the spaces, I thought the page worked like any php page and it didn’t matter if you opened tags anywhere, it’s solved though, no errors!

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Since editing those files manually can be a bit tricky sometimes, here’s a plugin to do basically the same thing you just did. It just disables wpautop for the_content. Nothing fancy here. Somebody might find it handy.

    https://ottodestruct.com/wpstuff/disableautop.zip

    Just install and activate the plugin and voila, wpautop troubles you no more.

    Thread Starter 21stproject

    (@21stproject)

    If I used this plugin do I still need the function you gave me?

    Thanks, I hope the problems are gone for good.

    And thanks again, HandySolo for giving me your time!

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    No, the plugin does it all, you won’t need to make any edits if you use it. I think. ??

    This plugin doesn’t change the stuff WP will do if you turn on the “WordPress should correct invalid…” and such, it just disables wpautop for the_content. There’s no option anywhere in the admin screen to do that without using something like this.

    Thread Starter 21stproject

    (@21stproject)

    I installed the plugin, that’s really awesome, I don’t need the function anymore.

    Otto, thank you, this looks wonderful ?? I have to cook (then eat) dinner, but I’ll mess with it later tonight or early in the morning, thanks a bunch ??

    Went to bed right after my rant last night, woke up this morning, and VOILA — the answer to my problem!

    Thanks, HandySolo. This is just what I was looking for.

    Users -> Your Profile. Scroll down to the bottom of the page. Uncheck the option to use the visual rich editor.

    I don’t know why it’s “hidden” in Your Profile — why isn’t it in Write Post? Anyway, you saved me a LOT of grief.

    Also, thanks to Otto42 for the little plugin to disable autop. That also works fine! Now I seem to have a lot more control over presentation in writing my blog.

    Hello Otto:
    I’m trying to get a grasp for your how plugin is supposed to work, and if I need to disable any features in the Dashboard.

    I want to make a new static page, and move most of my sidebar links there. The problem that I’m having is that when I save the page, the PHP code of the get_links function for each category is stripped.

    I’ve installed and activated your plugin, then redid the page. But even after copying/pasting the appropriate info from the sidebar, the PHP code is still stripped after pressing the “Update” button in the HTML editor

    Clue me in, will ya? Thanks a lot!
    Velanche

    Hello, is it ok for me to get back on this although it’s marked resolved, as I need a bit of help?

    I’m having similar problems. My html is stripped off on index.php. With html I mean li,u,b,a tags, for instance. Tags are there in the database, naturally, and they show up nicely on page.php and on preview.

    I’ve switched all the rich text features off and on again (three ticks on Options/Writing and one from MyProfile) but they’re not the ones to blame. After restoring installation files of Kubrick theme, it works. One by one I’ve replaced most of the selfmade-theme files with Kubrick ones and only thing to make a difference is the index.php.

    As adviced I checked there are no trails on functions.php and copied it from the Kubrick theme too. No result. I’ve have no combed most of my modifications from the index.php and it still doesn’t work. To make things a little bit more difficult, I have similar problem in the sidebar.php too, but restoring it made no difference.

    I think the problem started when I implemented a sticky topic on the bottom of the page (and on the sidebar), but I’ve taken them off already just for the sake of problem solving.

    Here it goes, my index.php. Can you find a problem? Please do.

    https://turku.wingtsun.fi/wp-content/themes/wtf/indexphp.txt
    (I’m not sure how this forum takes on code, so i put the code on a separate text file)

    many thanks in advance

    Do I feel stupid or not. Yes. I would delete my last if I still had the change.

    The “problem” was I was using excerpts instead of content. Which removes some of the html, I now learned. But this is they way one learns, I suppose.

    Then I only need to find out how to include some html into excerpts. That not being a topic of this thread.

    Over and out, somewhat embarrassed

    this might help, if you do want to use excerpts

    https://www.semiologic.com/software/wp-fixes/fancy-excerpt/

    very good plugin

    nada

Viewing 11 replies - 31 through 41 (of 41 total)
  • The topic ‘WordPress Editor Driving Me Insane’ is closed to new replies.