Support » Fixing WordPress » author description

  • g_andy


    Hey all,

    basically the problem is i can’t place any sort of formatting in my authors descriptions.

    is there an addon that allows formatting code to be placed in this?


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


    Nope, I don’t remember any.



    erm in that case is there any coding solutions? so that it picks up on the line spaces in the text for each author?

    I’m having the same issue. Making a website that really encourages users to get to know their authors pretty much makes formatting in the author description a necessity. Please help!

    Google search found this solution:

    To solve this problem, I found a bypass that will allow WordPress to accept HTML markup in the bio.

    To do this, you need to open and edit the file: /wp-includes/registration.php

    Do a search for the following line of code:

    $description = apply_filters(’pre_user_description’, $description);

    You need to comment out that line. This is done by adding a // to the start of the line, like this:

    //$description = apply_filters(’pre_user_description’, $description);

    This will stop WordPress from filtering out your HTML in the author bio field.

    You can remove the filtering without editing a core WordPress file.

    Just for kicks I looked into the filtering process. I wrote a post describing the kses filtering process and how to allow HTML.

    Hope it helps.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘author description’ is closed to new replies.