• fullphat

    (@fullphat)


    Hi Guys,

    Ive tried to find a fix for this problem on hundreds of posts and sites but nothing seems to work, is there anyway of stopping the editor from insert paragraph tags automatically? It always messes up my layout and it’s a part i want our client to be able to edit without it being in the template files.

    I’ve already tried adding the line <?php remove_filter (‘the_content’, ‘wpautop’); ?> above the content line but this doesn’t seem to work on wordpress 3.0.1

    Many thanks in advance

    Martin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Joseph

    (@jpe24524)

    It works if you put that in functions.php.

    Thread Starter fullphat

    (@fullphat)

    Fantastic,

    Thanks for your help Joseph!

    Thread Starter fullphat

    (@fullphat)

    Hi Guys,

    After trying this it still doesnt work, Ive added the code remove_filter (‘the_content’, ‘wpautop’);

    in the function.php but its not done anything, ive tried this in various places within the php file , is there a particular line it should go on?

    Thanks Again

    Martin

    Joseph

    (@jpe24524)

    Just noticed you’re using left and right single quotes instead of apostrophes.

    Thread Starter fullphat

    (@fullphat)

    Thanks once again Joseph,

    Works a treat, i had to place it at a few locations within the functions.php but it worked a treat eventually.

    Thanks Again for you help

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress adding tags everywhere’ is closed to new replies.