WordPress.org

Ready to get started?Download WordPress

Forums

Profile.php > Getting textarea to understand html (13 posts)

  1. fatalcure
    Member
    Posted 8 years ago #

    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.

  2. fatalcure
    Member
    Posted 8 years ago #

    Bump

  3. fatalcure
    Member
    Posted 8 years ago #

    Bump!

  4. fatalcure
    Member
    Posted 8 years ago #

    Bump

  5. RosieMBanks
    Member
    Posted 8 years ago #

    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?

  6. dommega8
    Member
    Posted 8 years ago #

    <?php user_can_richedit() ?>

  7. fatalcure
    Member
    Posted 8 years ago #

    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?

  8. fatalcure
    Member
    Posted 8 years ago #

    I guess not

  9. fatalcure
    Member
    Posted 8 years ago #

    BUMP!

  10. fatalcure
    Member
    Posted 8 years ago #

    OH MY GOD

  11. fatalcure
    Member
    Posted 8 years ago #

    bump

  12. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

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

  13. maerk
    Member
    Posted 8 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.