• Hi,

    I’m really pissed off with wordpress editor…it always and everywhere add those <p> and
    tag when i do not need it.

    i installed the ultimate TinyCE plugin thinking it would help to remove those tags, but it only adds more ??
    even if i disable wpautop.

    is there a REAL way how to avoid wordpress editor to add <p> and
    tag when i did not request it ?
    if i type them by myself they have to be there, but if i do not want they should not be there.

    thx for feedback.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator cubecolour

    (@numeeja)

    What did you do to attempt to disable wpautop?

    Adding the following line to the functions.php (or a custom plugin) seems to work as expected for me

    <?php remove_filter ('the_content', 'wpautop'); ?>

    Is that what you have already tried?

    Thread Starter Alain

    (@alainroger)

    Hi Cubecolour,

    i tried it, unfortunatelly it didn’t solve my problem.
    once i press ENTER in editor, it automatically add <p>…</p> around my text ??

    Thread Starter Alain

    (@alainroger)

    ok, after testing this it seems that browser is also included in this stupid behavior with caching.
    today i restarted everything and the <p> are not included.

    Thread Starter Alain

    (@alainroger)

    so i found that if i use “text” and update the code, no <p> is automatically added.

    However if i go back to “Visual” and go back to “text” (everything without pressing update button, once again <p> are added ??

    Moderator cubecolour

    (@numeeja)

    can you use just the text editor? you can force that by checking the Disable the visual editor when writing option in your profile.

    Thread Starter Alain

    (@alainroger)

    ok, this is what i’ve done and now i only have text tab.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘in editor’ is closed to new replies.