author description (6 posts)

  1. g_andy
    Posted 7 years ago #

    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?


  2. moshu
    Posted 7 years ago #

    Nope, I don't remember any.

  3. g_andy
    Posted 7 years ago #

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

  4. kelind
    Posted 7 years ago #

    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!

  5. Matthew Muro
    Posted 7 years ago #

    Google search found this solution: http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/

    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.

  6. asechrest
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic