Title: Checkbox above textarea in array
Last modified: August 21, 2016

---

# Checkbox above textarea in array

 *  [Rodrigo8](https://wordpress.org/support/users/rodrigo8/)
 * (@rodrigo8)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/checkbox-above-textarea-in-array/)
 * I want to make a very simple thing that i am not able to find around… It is about
   functions.php in a wordpress site.
 * If i am not able to make myself understand… simply, how do i put checkboxes in¿
   functions.php?
 * This is an complete array that works on editing a post in wordpress, it creates
   a meta box.
 *     ```
       'Reproductores V.O.S.E.' => array (
       array ( 'primerovose', 'Embed Netu:', 'textarea' ),
       array ( 'segundovose', 'Embed Vk:', 'textarea' ),
       array ( 'tercerovose', 'Embed Played.to:', 'textarea' ),
       array ( 'cuartovose', 'Embed Firedrive:', 'textarea' ),
       array ( 'quintovose', 'Embed Sockshare:', 'textarea' ),
       array ( 'sextovose', 'Embed Vimple:', 'textarea' ),
       array ( 'séptimovose', 'Embed Mail.Ru:', 'textarea' ),
       ),
       );
       ```
   
 * Vk, played.to, firedrive, etc. are servers. I put the embed of the server in 
   the textarea, but as you can see every text area has a different server. I don’t
   want it that way. I want that the servers can repeat in 2 or more textareas, 
   so i think checkboxes are the best option for it, so i want to be able to select
   the servers when i am editing the post trough checkboxes.
 * Other way to say it: This brings me a text area with the text (example) “Server
   Netu” above it. But instead of that above text i want checkboxes so i can use
   select other servers like “Server Vk”, “Server Firedrive” etc., but still having
   the textarea below it.
 * ¿how is this possible? If i wasn’t able to make myself understand… simply, how
   do i put checkboxes in ¿functions.php?

Viewing 1 replies (of 1 total)

 *  [respectyoda](https://wordpress.org/support/users/respectyoda/)
 * (@respectyoda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/checkbox-above-textarea-in-array/#post-5086312)
 * If you want to make custom meta boxes, then I suggest you to use this.
 * [Custom Metaboxes for WordPress](https://github.com/webdevstudios/Custom-Metaboxes-and-Fields-for-WordPress)

Viewing 1 replies (of 1 total)

The topic ‘Checkbox above textarea in array’ is closed to new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [textarea](https://wordpress.org/support/topic-tag/textarea/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [respectyoda](https://wordpress.org/support/users/respectyoda/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/checkbox-above-textarea-in-array/#post-5086312)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
