Title: Menu description
Last modified: August 19, 2016

---

# Menu description

 *  [aurrutia](https://wordpress.org/support/users/aurrutia/)
 * (@aurrutia)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/menu-description/)
 * Hi I want to create a **description** under **menu items** using **Custom fields**
 * That’s the code I got but only shows just one value for the custom field called
   subtitulo:
 *     ```
       $texto = get_post_meta($post->ID, 'subtitulo', true);
       <p>echo $texto</p>
       ```
   
 * Any idea?, thanks.

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

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/menu-description/#post-1028807)
 * Your question is not clear – do you have more than one custom field named subtitulo
   in a single post? You are trying to retrieve more than one subtitulo from one
   post?
 * Then leave the 3rd parameter, true, off. just
    `$texto = get_post_meta($post-
   >ID, 'subtitulo');`
 * That will return an array of all the entries with that name
 * [http://codex.wordpress.org/Using_Custom_Fields#Getting_Custom_Fields](http://codex.wordpress.org/Using_Custom_Fields#Getting_Custom_Fields)
 *  Thread Starter [aurrutia](https://wordpress.org/support/users/aurrutia/)
 * (@aurrutia)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/menu-description/#post-1028901)
 * Thanks stvwlf,
    No, I want to retrieve one value from **subtitulo custom field**(
   1 per post) to show under every menu item, it’s kind of description from every
   menu item.

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

The topic ‘Menu description’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [aurrutia](https://wordpress.org/support/users/aurrutia/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/menu-description/#post-1028901)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
