WordPress.org

Support

Support » Plugins and Hacks » Profile.php > Getting textarea to understand html

Profile.php > Getting textarea to understand html

  • Hey guys, seeing as there is as yet no very good profile extension plugin, is there a way I can simply edit the code in wp-admin > profile.php

    so that in the about yourself section, it will read html, at the moment it is just a textbox, how do I get that textboxt to understand html input.

    <legend><?php _e(‘About yourself’); ?></legend>
    <p class=”desc”><?php _e(‘Share a little biographical information to fill out your profile. This may be shown publicly.’); ?>

    <textarea name=”description” rows=”5″ cols=”30″>

    <?php echo $profileuser->description ?></textarea>
    </fieldset>

    Thanks in advanced..

    Dave.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Bump

    Bump!

    Bump

    RosieMBanks
    Member

    @rosiembanks

    Dave, I don’t get what you’re asking. I think all you need to do is replace the default text with HTML.

    So instead of


    <legend><?php _e('About yourself'); ?></legend>
    <p class="desc"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?>

    You’d have something like:


    <legend><?php _e('All About ME!'); ?></legend>
    <p class="desc"><?php _e('<p>My name is Dave!
    I live in town! That's all you need to know!</p>'); ?>

    Is that what you’re looking to do?

    <?php user_can_richedit() ?>

    Well not really, the part I want to edit is:

    <textarea name=”description” rows=”5″ cols=”30″>

    <?php echo $profileuser->description ?></textarea>
    </fieldset>

    At the moment if I or my users go into there profile in wordpress, and in the textbox for additonal data. Type:

    <b>Bold</b>

      unordered list

    It will display exactly like that when you view there profile, I just want to textbox to be able to allow html, is that possible?

    I guess not

    BUMP!

    OH MY GOD

    bump

    Dude, stop with the bumping. There is no current easy way to do what you want. Stop asking.

    fatalcure, maybe you can make yourself useful 😉 can you explain what the problem is in a different way that might be easier to understand?

    Does this textarea appear in a wordpress admin file — i.e. it only appears for logged in users?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Profile.php > Getting textarea to understand html’ is closed to new replies.