• How can transform the field in the pic in a flexible textarea? https://ibb.co/jrxrfGt By the way it should already appear as a textarea but it doesnt. Here is the code:

    <h3>Extra profile information</h3>
        <table class="form-table">
            <tr>
                <th><label for="richiesta">Richiesta</label></th>
                <td>
                    <input type="textarea" name="richiesta" rows="5" cols="30" id="richiesta" value="<?php echo esc_attr( get_the_author_meta( 'richiesta', $user->ID ) ); ?>" class="regular-text" /><br />
                    <span class="description">Richiesta del cliente.</span>
                </td>
    

    maybe I can add CSS?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hii

    Pleae try this for flexible textarea

    <h3>Extra profile information</h3>
        <table class="form-table">
            <tr>
                <th><label for="richiesta">Richiesta</label></th>
                <td>
                   <textarea?id="richiesta"?name="richiesta"rows="5" cols="30" class="regular-text" ><?php echo esc_attr( get_the_author_meta( 'richiesta', $user->ID ) ); ?></textarea><br />
                    <span class="description">Richiesta del cliente.</span>
                </td>
    Thread Starter sacconi

    (@sacconi)

    It works. The only problem is that in the textarea you can get to the point. I mean, you can but when you save it doesnt keep the order. It should work like the default textarea “biographical information”…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘flexible text area’ is closed to new replies.