Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter threepears

    (@threepears)

    One more note, Marco. When I attempt to make an edit in “Visual” mode and then hit “Save”, like a client would, it kicks me immediately over to “Text” mode (or HTML editing) with no changes saved and <p> tags added back to where I removed them from. This seems to happen with or without the function you listed above in my functions.php file, and happens without the “Automatically add paragraphs” button checked.

    Like I said, I wouldn’t care if it was just me, as I prefer editing in “Text” mode, but I’m trying to make this easy for the client. Any ideas about what’s happening here? Thank you very much!

    Thread Starter threepears

    (@threepears)

    Hello Marco…..thank you for all your replies! I’m sorry I’m just now getting back to working on this issue. The new plugin seems to work fine, and there’s even an “Automatically add paragraphs” button (which I assume adds <p> tags). I used the last code snippet you gave above in my functions.php file, and it does strip out the <p> tags….but it strips out ALL of them, it seems. My original problem was that I wanted <p> tags for paragraphs, but NOT for images. Is there a way to accomplish this? I can do what I need to make edits to the site, but I’m trying to make this easier for the client so I can set some CSS rules that will always work for them…..and to do that, I need the images to have no <p> tags. Can you help? Many thanks!!

    Thread Starter threepears

    (@threepears)

    Thank you, Marco! I tried to use this code, but it doesn’t seem to work. I’m wondering … if the wpautotop is not natively applied to widgets and BST widgets already have the <p> inside, wouldn’t I want to find a way to remove the <p> from BST (TinyMCE) itself? I guess I’m just a little confused as to what we’re aiming to do, and it seems to me we could leave wpautotop alone if it doesn’t even touch the widgets. Am I thinking of this wrong? Thank you for all your help!

Viewing 3 replies - 1 through 3 (of 3 total)